-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathtailwind.config.ts
91 lines (90 loc) · 2.51 KB
/
tailwind.config.ts
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
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
textColor: {
skin: {
base: "var(--color-text-base)",
primary: "var(--color-theme-primary)",
secondary: "var(--color-text-secondary)",
inverted: "var(--color-body-fill)",
muted: "var(--color-text-muted)",
},
},
borderColor: {
skin: {
base: "var(--color-border-base)",
light: "var(--color-border-light)",
lighter: "var(--color-border-lighter)",
alpha: "var(--color-border-alpha)",
inverted: "var(--color-border-inverted)",
primary: "var(--color-border-primary)",
},
},
backgroundColor: {
skin: {
base: "var(--color-body-fill)",
light: "var(--color-body-light)",
lighter: "var(--color-border-lighter)",
inverted: "var(--color-body-inverted)",
primary: "var(--color-theme-primary)",
secondary: "var(--color-text-secondary)",
sky: "var(--color-sky-fill)",
btn: "var(--color-button)",
"btn-hover": "var(--color-button-hover)",
discord: "var(--color-discord)",
},
},
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-linear": "linear-gradient(var(--tw-gradient-stops))",
},
fill: {
skin: {
body: "var(--color-body-fill)",
light: "var(--color-body-light)",
},
},
},
keyframes: {
slideDown: {
from: {
height: "0px",
},
to: {
height: "var(--radix-accordion-content-height)",
},
},
slideUp: {
from: {
height: "var(--radix-accordion-content-height)",
},
to: {
height: "0px",
},
},
slideUpAndFade: {
from: {
opacity: "0%",
transform: "translateY(2px)",
},
to: {
opacity: "100%",
transform: "translateY(0)",
},
},
},
animation: {
slideDown: "slideDown 350ms cubic-bezier(0.87, 0, 0.13, 1)",
slideUp: "slideUp 300ms cubic-bezier(0.87, 0, 0.13, 1)",
slideUpAndFade: "slideUpAndFade 100ms",
},
},
plugins: [require("tailwind-gradient-mask-image")],
};
export default config;