-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
102 lines (102 loc) · 2.84 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
theme: {
extend: {
colors: {
graphite: {
100: 'hsl(0, 0%, 70%)',
200: 'hsl(0, 0%, 55%)',
300: 'hsl(0, 0%, 40%)',
400: 'hsl(0, 0%, 29%)',
500: 'hsl(0, 0%, 21%)',
600: 'hsl(0, 0%, 16%)',
700: 'hsl(0, 0%, 13%)',
800: 'hsl(0, 0%, 9%)',
900: 'hsl(0, 0%, 0%)',
},
light: {
letter: {
unset: {
normal: 'hsl(0, 3%, 60%)',
hover: 'hsl(0, 3%, 55%)',
},
absent: {
normal: 'hsl(200, 5%, 65%)',
hover: 'hsl(200, 5%, 60%)',
},
present: {
normal: 'hsl(60, 80%, 48%)',
hover: 'hsl(60, 75%, 45%)',
},
correct: {
normal: 'hsl(102, 81%, 41%)',
hover: 'hsl(102, 75%, 38%)',
},
},
dialog: {
backdrop: 'hsla(0, 0%, 10%, 0.75)',
},
},
dark: {
letter: {
unset: {
normal: 'hsl(0, 0%, 20%)',
hover: 'hsl(0, 0%, 30%)',
},
absent: {
normal: 'hsl(0, 0%, 40%)',
hover: 'hsl(0, 0%, 50%)',
},
present: {
normal: 'hsl(60, 62%, 29%)',
hover: 'hsl(60, 61%, 42%)',
},
correct: {
normal: 'hsl(102, 79%, 28%)',
hover: 'hsl(102, 79%, 38%)',
},
},
dialog: {
backdrop: 'hsla(0, 0%, 80%, 0.25)',
},
},
},
textColor: {
light: {
normal: 'hsl(0, 0%, 10%)',
error: 'hsl(0, 91%, 45%)',
success: 'hsl(142, 50%, 40%)',
},
dark: {
normal: 'hsl(0, 0%, 90%)',
error: 'hsl(0, 91%, 71%)',
success: 'hsl(142, 69%, 58%)',
},
},
fontFamily: {
primary: ['Cairo', 'ui-sans-serif', 'system-ui', 'sans-serif'],
secondary: ['Roboto', 'ui-sans-serif', 'system-ui', 'sans-serif'],
special: ['Oxanium', 'system-ui', 'sans-serif'],
grogu: ['Indie Flower', 'system-ui', 'sans-serif'],
},
animation: {
wiggle: 'wiggle 2s ease-in-out infinite',
'wiggle-fast': 'wiggle 1.5s ease-in-out infinite',
'spin-slow': 'spin 5s linear infinite',
jump: 'jump 600ms 1',
},
keyframes: {
wiggle: {
'0%, 100%': { transform: 'rotate(-2deg)' },
'50%': { transform: 'rotate(2deg)' },
},
jump: {
'0%, 100%': { transform: 'translateY(0px)' },
'50%': { transform: 'translateY(-30%)' },
},
},
},
},
plugins: [],
}