-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
44 lines (43 loc) · 1.19 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
import type { Config } from "tailwindcss";
import typography from "./src/styles/plugin/typo";
export default {
darkMode: "class",
content: ["./src/**/*.{js,jsx,ts,tsx}"],
theme: {
screens: { mobile: "768px", tablet: "1024px" },
colors: {
transparent: "transparent",
currentColor: "currentColor",
white: "#fff",
black: "#121212",
surface: "var(--surface)",
ring: "var(--ring)",
background: "var(--background)",
foreground: {
DEFAULT: "var(--foreground)",
accent: "var(--foreground-accent)",
muted: "var(--foreground-muted)"
},
primary: {
DEFAULT: "var(--primary)",
accent: "var(--primary-accent)",
surface: "var(--primary-surface)",
foreground: "var(--primary-foreground)"
},
secondary: {
DEFAULT: "var(--secondary)",
accent: "var(--secondary-accent)",
foreground: "var(--secondary-foreground)"
},
border: {
DEFAULT: "var(--border)",
accent: "var(--border-accent)"
},
card: {
DEFAULT: "var(--card)",
foreground: "var(--card-foreground)"
}
}
},
plugins: [typography]
} satisfies Config;