-
Notifications
You must be signed in to change notification settings - Fork 8
/
tailwind.config.js
55 lines (55 loc) · 1.46 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
55
module.exports = {
content: ['./app/**/*.{js,jsx,ts,tsx}', './common/**/*.{js,jsx,ts,tsx}'],
darkMode: 'class',
theme: {
extend: {
colors: {
brand: {
DEFAULT: 'rgb(var(--brand) / <alpha-value>)',
subtle: 'rgb(var(--brand-subtle) / <alpha-value>)',
hover: 'rgb(var(--brand-hover) / <alpha-value>)',
states: 'rgb(var(--brand-states) / <alpha-value>)',
},
muted: {
DEFAULT: 'rgb(var(--muted) / <alpha-value>)',
foreground: 'rgb(var(--muted-foreground) / <alpha-value>)',
},
primary: {
DEFAULT: 'rgb(var(--primary) / <alpha-value>)',
subtle: 'rgb(var(--primary-subtle) / <alpha-value>)',
foreground:
'rgb(var(--primary-foreground) / <alpha-value>)',
'foreground-subtle':
'rgb(var(--primary-foreground-subtle) / <alpha-value>)',
},
subtle: {
DEFAULT: 'rgb(var(--subtle) / <alpha-value>)',
},
ui: {
DEFAULT: 'rgb(var(--ui) / <alpha-value>)',
hover: 'rgb(var(--ui-hover) / <alpha-value>)',
states: 'rgb(var(--ui-states) / <alpha-value>)',
},
},
fontFamily: {
sans: ['Inter', 'sans-serif'],
serif: ['Merriweather', 'serif'],
},
animation: {
text: 'text 5s ease infinite',
},
keyframes: {
text: {
'0%, 100%': {
'background-size': '200% 200%',
'background-position': 'left center',
},
'50%': {
'background-size': '200% 200%',
'background-position': 'right center',
},
},
},
},
},
}