-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
46 lines (45 loc) · 1.05 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
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
darkMode: 'class',
theme: {
extend: {
colors: {
title: {
light: 'var(--title-light)',
dark: 'var(--title-dark)',
},
text: {
light: 'var(--text-light)',
dark: 'var(--text-dark)',
},
bg: {
light: 'var(--bg-light)',
dark: 'var(--bg-dark)',
},
box: {
light: 'var(--box-light)',
dark: 'var(--box-dark)',
}
},
keyframes: {
in: {
"0%": { transform: "translateY(18px)", opacity: 0 },
"100%": { transform: "translateY(0)", opacity: 1 },
},
"in-reverse": {
"0%": { transform: "translateY(-18px)", opacity: 0 },
"100%": { transform: "translateY(0px)", opacity: 1 },
},
},
animation: {
in: "in .6s both",
"in-reverse": "in-reverse .6s both",
},
}
},
plugins: [],
};