-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
62 lines (60 loc) · 2.13 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
import typographyPlugin from "@tailwindcss/typography";
import type { Config } from "tailwindcss";
import animatePlugin from "tailwindcss-animate";
const config = {
content: [
"./app.vue",
"./error.vue",
"./components/**/*.@(ts|tsx|vue)",
"./layouts/**/*.@(ts|tsx|vue)",
"./pages/**/*.@(ts|tsx|vue)",
"./styles/**/*.css",
"./composables/**/*.@(ts|tsx|vue)",
],
darkMode: ["class", 'data-ui-color-scheme="dark"'],
plugins: [animatePlugin, typographyPlugin],
safelist: [
"grid-cols-1",
"grid-cols-2",
"grid-cols-3",
"grid-cols-4",
"grid-cols-5",
"grid-cols-6",
],
theme: {
extend: {
borderRadius: {
sm: "var(--radius-sm)",
md: "var(--radius-md)",
lg: "var(--radius-lg)",
},
colors: {
background: "hsl(var(--color-background) / <alpha-value>)",
"on-background": "hsl(var(--color-on-background) / <alpha-value>)",
surface: "hsl(var(--color-surface) / <alpha-value>)",
"on-surface": "hsl(var(--color-on-surface) / <alpha-value>)",
overlay: "hsl(var(--color-overlay) / <alpha-value>)",
"on-overlay": "hsl(var(--color-on-overlay) / <alpha-value>)",
muted: "hsl(var(--color-muted) / <alpha-value>)",
"on-muted": "hsl(var(--color-on-muted) / <alpha-value>)",
primary: "hsl(var(--color-primary) / <alpha-value>)",
"on-primary": "hsl(var(--color-on-primary) / <alpha-value>)",
secondary: "hsl(var(--color-secondary) / <alpha-value>)",
"on-secondary": "hsl(var(--color-on-secondary) / <alpha-value>)",
accent: "hsl(var(--color-accent) / <alpha-value>)",
"on-accent": "hsl(var(--color-on-accent) / <alpha-value>)",
header: "hsl(var(--color-header) / <alpha-value>)",
"on-header": "hsl(var(--color-on-header) / <alpha-value>)",
negative: "hsl(var(--color-negative) / <alpha-value>)",
"on-negative": "hsl(var(--color-on-negative) / <alpha-value>)",
border: "hsl(var(--color-border) / <alpha-value>)",
input: "hsl(var(--color-input) / <alpha-value>)",
ring: "hsl(var(--color-ring) / <alpha-value>)",
},
fontFamily: {
body: ["var(--font-sans, ui-sans-serif)", "system-ui", "sans-serif"],
},
},
},
} satisfies Config;
export default config;