-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
41 lines (40 loc) · 1.14 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
import type { Config } from "tailwindcss";
export default {
darkMode: ["class", "[data-theme='dark']"],
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
primary: "var(--primary)",
secondary: "var(--secondary)",
white: "var(--white)",
gray: "var(--gray)",
black: "var(--black)",
red: "var(--red)",
background: "var(--background)",
"gray-secondary": "var(--gray-econdary)",
"primary-overlay": "var(--primary-overlay)",
"black-overlay": "var(--black-overlay)",
"white-overlay": "var(--white-overlay)",
"red-overlay": "var(--red-econdoverlayary)",
},
borderRadius: {
DEFAULT: "var(--radius)", // Default radius
},
fontSize: {
"heading-1": "28px",
"heading-2": "24px",
"heading-3": "20px",
"heading-4": "18px",
"heading-5": "16px",
"body": "14px",
"caption": "12px"
},
},
},
plugins: [require("tailwindcss-animate")],
} satisfies Config;