-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
49 lines (48 loc) · 1.62 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
import type { Config } from "tailwindcss";
const config: Config = {
corePlugins: { preflight: false },
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic":
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
"linear-sider": "var(--linear-sider)",
},
textColor: {
primary: "var(--semi-color-primary)",
"text-0": "var(--semi-color-text-0)",
"text-1": "var(--semi-color-text-1)",
"text-2": "var(--semi-color-text-2)",
"text-3": "var(--semi-color-text-3)",
danger: "var(--semi-color-danger)",
},
backgroundColor: {
primary: "var(--semi-color-primary)",
white: "var(--semi-color-bg-3)",
active: "var(--semi-color-primary-light-default)",
"gray-100": "var(--semi-color-default)",
"gray-200": "var(--semi-color-bg-1)",
"gray-300": "var(--semi-color-bg-2)",
"fill-0": "var(--semi-color-fill-0)",
"fill-1": "var(--semi-color-fill-1)",
"brand-1": "rgb(var(--semi-brand-1))",
"brand-2": "rgb(var(--semi-brand-2))",
"brand-3": "rgb(var(--semi-brand-3))",
"brand-4": "rgb(var(--semi-brand-4))",
"brand-5": "rgb(var(--semi-brand-5))",
},
borderColor: {
primary: "var(--semi-color-primary)",
"brand-3": "rgb(var(--semi-brand-3))",
},
},
},
plugins: [],
};
export default config;