-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
30 lines (30 loc) · 1.12 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
module.exports = {
content: ["./src/**/*.rs"],
theme: {
extend: {
colors: {
'header': 'hsl(var(--color-text-header) / <alpha-value>)',
'body': 'hsl(var(--color-text-body) / <alpha-value>)',
'primary': 'hsl(var(--color-primary) / <alpha-value>)',
'primary-rotate': 'hsl(var(--color-primary-rotate) / <alpha-value>)',
'primary-bg': 'hsl(var(--color-primary-bg) / <alpha-value>)',
'secondary': 'hsl(var(--color-secondary) / <alpha-value>)',
'secondary-rotate': 'hsl(var(--color-secondary-rotate) / <alpha-value>)',
'tertiary': 'hsl(var(--color-tertiary) / <alpha-value>)',
'glint': 'hsl(var(--color-glint) / <alpha-value>)',
'background': 'hsl(var(--color-background) / <alpha-value>)',
'light': 'hsl(var(--color-light) / <alpha-value>)',
'dark': 'hsl(var(--color-dark) / <alpha-value>)',
},
animation: {
'appear-then-fade': 'appear-then-fade 4s both',
},
keyframes: {
'appear-then-fade': {
'0%, 100%': { opacity: '0' },
'5%, 60%': { opacity: '1' },
}
}
},
}
}