-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
54 lines (54 loc) · 1.26 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
52
53
54
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/renderer/index.html',
'./src/renderer/src/*.{js,ts,jsx,tsx}',
'./src/renderer/src/**/*.{js,ts,jsx,tsx}'
],
safelist: [
{
pattern: /bg-(red|green|sky|blue|orange)-(200|500|700|700\/20)/,
variants: ['hover', 'group-hover']
},
{
pattern: /text-(red|green|blue|purple|yellow|sky)-(500|600|700|700\/20)/
},
{
pattern: /border-(red|green|sky)-(400|500|600|700|700\/20)/,
variants: ['hover', 'group-hover']
}
],
theme: {
extend: {
keyframes: {
blinker: {
'50%': { opacity: 0 }
},
'fade-in': {
'100%': {
opacity: 1
}
},
'faded-out': {
'0%': {
opacity: 1
},
'100%': {
opacity: 0
}
},
'custom-pulse': {
'0%': { opacity: 1 },
'50%': { opacity: 0.5 },
'100%': { opacity: 1 }
}
}
},
animation: {
blinker: 'blinker 1s linear infinite',
faded: 'fade-in 1s ease-in forwards, fade-out 3s 1s ease-out forwards',
'custom-pulse': 'custom-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite'
}
},
plugins: []
}