-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
100 lines (97 loc) · 2.9 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
92
93
94
95
96
97
98
99
100
import type { Config } from "tailwindcss";
const config: Config = {
darkMode: ["class"],
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
container: {
center: true,
padding: "2rem",
screens: {
"2xl": "1400px",
},
},
extend: {
colors: {
danger: "#FA3D1D",
success: "#4BD17E",
primary: {
dark: {
DEFAULT: "var(--grk-primary-dark-DEFAULT)",
100: "var(--grk-primary-dark-100)",
200: "var(--grk-primary-dark-200)",
300: "var(--grk-primary-dark-300)",
400: "var(--grk-primary-dark-400)",
500: "var(--grk-primary-dark-500)",
600: "var(--grk-primary-dark-600)",
700: "var(--grk-primary-dark-700)",
800: "var(--grk-primary-dark-800)",
900: "var(--grk-primary-dark-900)",
},
light: {
DEFAULT: "var(--grk-primary-light-DEFAULT)",
100: "var(--grk-primary-light-100)",
200: "var(--grk-primary-light-200)",
300: "var(--grk-primary-light-300)",
400: "var(--grk-primary-light-400)",
500: "var(--grk-primary-light-500)",
600: "var(--grk-primary-light-600)",
700: "var(--grk-primary-light-700)",
800: "var(--grk-primary-light-800)",
900: "var(--grk-primary-light-900)",
},
},
background: {
light: "var(--grk-background-light)",
dark: "var(--grk-background-dark)",
},
foreground: {
dark: "var(--grk-foreground-dark)",
light: "var(--grk-foreground-light)",
},
secondary: {
dark: "var(--grk-secondary-dark)",
light: "var(--grk-secondary-light)",
},
fill: {
DEFAULT: "var(--grk-primary-light)",
},
ring: {
DEFAULT: "var(--grk-primary-light)",
},
stroke: {
DEFAULT: "var(--grk-primary-light)",
},
},
borderColor: {
light: "var(--grk-secondary-light)",
dark: "var(--grk-secondary-dark)",
},
borderRadius: {
DEFAULT: "var(--grk-border-radius)",
},
keyframes: {
"accordion-down": {
from: { height: "0" },
to: { height: "var(--grk-radix-accordion-content-height)" },
},
"accordion-up": {
from: {
height: "var(--grk-radix-accordion-content-height)",
},
to: { height: "0" },
},
},
animation: {
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
},
},
},
// eslint-disable-next-line @typescript-eslint/no-require-imports
plugins: [require("tailwindcss-animate")],
};
export default config;