-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
45 lines (44 loc) · 1.1 KB
/
tailwind.config.cjs
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
const defaultTheme = require("tailwindcss/defaultTheme");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["index.html", "src/**/*.{ts,tsx}"],
darkMode: "class",
theme: {
colors: {
white: "var(--color-white)",
black: "var(--color-black)",
gray5: "var(--color-gray-5)",
initial: {
DEFAULT: "var(--color-gray-1)",
dark: "var(--color-gray-2)",
},
correct: {
DEFAULT: "var(--color-green)",
dark: "var(--color-green-dark)",
},
present: {
DEFAULT: "var(--color-yellow)",
dark: "var(--color-yellow-dark)",
},
absent: {
DEFAULT: "var(--color-gray-3)",
dark: "var(--color-gray-4)",
},
},
extend: {
animation: {
flip: "flip 0.65s ease-in-out",
},
keyframes: {
flip: {
"0%": { transform: "rotateX(0)" },
"50%": { transform: "rotateX(-90deg)" },
"100%": { transform: "rotateX(0)" },
},
},
},
fontFamily: {
sans: ["Inter", ...defaultTheme.fontFamily.sans],
},
},
};