-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
109 lines (108 loc) · 3.45 KB
/
tailwind.config.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
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
101
102
103
104
105
106
107
108
109
const { fontFamily } = require("tailwindcss/defaultTheme");
/** @type {import('tailwindcss').Config} */
export default {
darkMode: ["class"],
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
"./src/tailwind.css",
"./src/assets/styles/index.css",
],
theme: {
extend: {
container: {
center: true,
padding: "2rem",
screens: {
sm: "610px",
md: "738px",
lg: "990px",
xl: "1250px",
"2xl": "1506px",
},
},
colors: {
"border-red": "red",
border: {
DEFAULT: "hsl(var(--border))",
light: "hsl(var(--border-light))",
dark: "hsl(var(--border-dark))",
},
input: {
DEFAULT: "hsl(var(--input))",
light: "hsl(var(--input-light))",
dark: "hsl(var(--input-dark))",
},
ring: {
DEFAULT: "hsl(var(--ring))",
light: "hsl(var(--ring-light))",
dark: "hsl(var(--ring-dark))",
},
background: {
DEFAULT: "hsl(var(--background))",
light: "hsl(var(--background-light))",
dark: "hsl(var(--background-dark))",
},
heading: {
DEFAULT: "hsl(var(--heading), <alpha-value>)",
light: "hsl(var(--heading-light), <alpha-value>)",
dark: "hsl(var(--heading-dark), <alpha-value>)",
},
text: {
DEFAULT: "hsl(var(--text), <alpha-value> )",
light: "hsl(var(--text-light), <alpha-value> )",
dark: "hsl(var(--text-dark), <alpha-value> )",
},
accent: {
DEFAULT: "hsl(var(--accent), <alpha-value> )",
light: "hsl(var(--accent-light), <alpha-value> )",
dark: "hsl(var(--accent-dark), <alpha-value> )",
},
primary: {
DEFAULT: "hsl(var(--primary), <alpha-value> )",
light: "hsl(var(--primary-light), <alpha-value> )",
dark: "hsl(var(--primary-dark), <alpha-value> )",
},
secondary: {
DEFAULT: "hsl(var(--secondary), <alpha-value> )",
light: "hsl(var(--secondary-light), <alpha-value> )",
dark: "hsl(var(--secondary-dark), <alpha-value> )",
},
destructive: {
DEFAULT: "hsl(var(--destructive), <alpha-value> )",
light: "hsl(var(--destructive-light), <alpha-value> )",
dark: "hsl(var(--destructive-dark), <alpha-value> )",
},
muted: {
DEFAULT: "hsl(var(--muted), <alpha-value> )",
light: "hsl(var(--muted-light), <alpha-value> )",
dark: "hsl(var(--muted-dark), <alpha-value> )",
},
"model-overlay": {
DEFAULT: "hsl(var(--model-overlay), <alpha-value> )",
light: "hsl(var(--model-overlay-light), <alpha-value> )",
dark: "hsl(var(--model-overlay-dark), <alpha-value> )",
},
},
fontFamily: {
sans: ["var(--font-sans)", ...fontFamily.sans],
...fontFamily,
},
keyframes: {
"accordion-down": {
from: { height: "0" },
to: { height: "var(--radix-accordion-content-height)" },
},
"accordion-up": {
from: { height: "var(--radix-accordion-content-height)" },
to: { height: "0" },
},
},
animation: {
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
},
},
},
plugins: [require("tailwindcss-animate")],
};