Repository navigation
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
57 lines (56 loc) · 1.65 KB
/
Copy pathtailwind.config.ts
File metadata and controls
57 lines (56 loc) · 1.65 KB
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
import type { Config } from "tailwindcss";
import tailwindAnimate from "tailwindcss-animate";
const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
textColor: {
primary: "var(--text-primary)",
secondary: "var(--text-secondary)",
inverted: "var(--text-inverted)",
placeholder: "var(--text-placeholder)",
},
backgroundColor: {
button: {
primary: "var(--bg-button-primary)",
"primary-hover": "var(--bg-button-primary-hover)",
secondary: "var(--bg-button-secondary)",
special: "var(--bg-button-special)",
},
"form-element": {
DEFAULT: "var(--bg-form-element)",
hover: "var(--bg-form-element-hover)",
active: "var(--bg-form-element-active)",
},
overlay: "var(--bg-overlay)",
},
boxShadow: {
"button-secondary": "var(--effect-button-secondary)",
"button-secondary-hover": "var(--effect-button-secondary-hover)",
"button-special": "var(--effect-button-special)",
checkbox: "var(--effect-checkbox)",
},
keyframes: {
changeColor: {
"0%": {},
"50%": { backgroundColor: "#A1A1AA" },
"100%": {},
},
loader: {
"93.75%,100%": { r: "3px" },
"46.875%": { r: ".2px" },
},
},
animation: {
loading: "changeColor 500ms infinite",
loader: "loader .8s linear infinite",
},
},
},
plugins: [tailwindAnimate],
};
export default config;