-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwindPreset.js
56 lines (56 loc) · 1.42 KB
/
tailwindPreset.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
module.exports = {
theme: {
extend: {
colors: {
surface: {
DEFAULT: "rgb(var(--surface))",
2: "rgb(var(--surface-2))",
3: "rgb(var(--surface-3))",
4: "rgb(var(--surface-4))",
},
fg: {
DEFAULT: "rgb(var(--fg))",
2: "rgb(var(--fg-2))",
3: "rgb(var(--fg-3))",
4: "rgb(var(--fg-4))",
5: "rgb(var(--fg-5))",
6: "rgb(var(--fg-6))",
},
border: "rgb(var(--border))",
input: "rgb(var(--input))",
focus: "rgb(var(--focus))",
primary: {
DEFAULT: "rgb(var(--primary))",
fg: "rgb(var(--primary-fg))",
},
secondary: {
DEFAULT: "rgb(var(--secondary))",
fg: "rgb(var(--secondary-fg))",
},
positive: {
DEFAULT: "rgb(var(--positive))",
fg: "rgb(var(--positive-fg))",
},
warning: {
DEFAULT: "rgb(var(--warning))",
fg: "rgb(var(--warning-fg))",
},
critical: {
DEFAULT: "rgb(var(--critical))",
fg: "rgb(var(--critical-fg))",
},
},
keyframes: {
zoom: {
from: { transform: "scale(0.8)" },
to: { transform: "scale(1)" },
},
fade: {
from: { opacity: 0 },
to: { opacity: 1 },
},
},
},
},
plugins: [require("tailwindcss-animate")],
};