-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
51 lines (51 loc) · 1.25 KB
/
tailwind.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
module.exports = {
plugins: [require('tailwindcss-filters')],
theme: {
filter: {
// defaults to {}
none: 'none',
grayscale: 'grayscale(1)',
invert: 'invert(1)',
sepia: 'sepia(1)',
},
backdropFilter: {
// defaults to {}
none: 'none',
'blur-0': 'none',
'blur-1': 'blur(1px)',
'blur-2': 'blur(2px)',
'blur-3': 'blur(3px)',
'blur-4': 'blur(4px)',
'blur-5': 'blur(5px)',
'blur-6': 'blur(6px)',
'blur-7': 'blur(7px)',
'blur-8': 'blur(8px)',
'blur-9': 'blur(9px)',
'blur-10': 'blur(10px)',
'blur-11': 'blur(11px)',
'blur-12': 'blur(12px)',
'blur-13': 'blur(13px)',
'blur-14': 'blur(14px)',
'blur-15': 'blur(15px)',
'blur-16': 'blur(16px)',
'blur-17': 'blur(17px)',
'blur-18': 'blur(18px)',
'blur-19': 'blur(19px)',
'blur-20': 'blur(20px)',
blur: 'blur(20px)',
},
},
variants: {
filter: ['responsive', 'hover', 'active'], // defaults to ['responsive']
backdropFilter: ['responsive', 'hover', 'active'],
extend: {
backgroundColor: ['checked'],
},
},
purge: {
content: [
'./src/**/*.svelte',
// may also want to include base index.html
],
},
};