-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.ts
79 lines (77 loc) · 2.54 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
import { createShadcnPreset, overrideShadcnTheme } from "mizuhara/plugins";
import type { Config } from "tailwindcss";
import { fontFamily } from "tailwindcss/defaultTheme";
const config: Config = {
content: ["./src/{app,components}/**/*.{ts,tsx}"],
theme: {
extend: {
fontFamily: {
sans: ["var(--font-geist-sans)"].concat(fontFamily.sans),
mono: ["var(--font-geist-mono)"].concat(fontFamily.mono),
},
keyframes: {
check: {
from: {
"stroke-dasharray": "0px, 100%",
},
to: {
"stroke-dasharray": "100%, 100%",
},
},
},
animation: {
check: "check 150ms cubic-bezier(0.65, 0, 1, 1) forwards",
},
},
},
presets: [
createShadcnPreset({
applyBase: false,
theme: overrideShadcnTheme({
light: {
background: "hsl(0, 0%, 100%)",
foreground: "hsl(240, 10%, 4%)",
muted: "hsl(240, 5%, 96%)",
mutedForeground: "hsl(240, 4%, 46%)",
popover: "hsl(0, 0%, 100%)",
popoverForeground: "hsl(240, 10%, 4%)",
card: "hsl(0, 0%, 100%)",
cardForeground: "hsl(240, 10%, 4%)",
border: "hsl(240, 6%, 90%)",
input: "hsl(240, 6%, 90%)",
primary: "hsl(273, 100%, 61%)",
primaryForeground: "hsl(0, 0%, 98%)",
secondary: "hsl(240, 5%, 96%)",
secondaryForeground: "hsl(240, 6%, 10%)",
accent: "hsl(240, 5%, 96%)",
accentForeground: "hsl(240, 6%, 10%)",
destructive: "hsl(0, 84%, 60%)",
destructiveForeground: "hsl(0, 0%, 98%)",
ring: "hsl(240, 5%, 65%)",
},
dark: {
background: "hsl(240, 10%, 4%)",
foreground: "hsl(0, 0%, 98%)",
muted: "hsl(240, 4%, 16%)",
mutedForeground: "hsl(240, 5%, 65%)",
popover: "hsl(240, 10%, 4%)",
popoverForeground: "hsl(0, 0%, 98%)",
card: "hsl(240, 10%, 4%)",
cardForeground: "hsl(0, 0%, 98%)",
border: "hsl(240, 4%, 16%)",
input: "hsl(240, 4%, 16%)",
primary: "hsl(273, 100%, 60%)",
primaryForeground: "hsl(0, 0%, 99%)",
secondary: "hsl(240, 4%, 16%)",
secondaryForeground: "hsl(0, 0%, 98%)",
accent: "hsl(240, 4%, 16%)",
accentForeground: "hsl(0, 0%, 98%)",
destructive: "hsl(0, 63%, 31%)",
destructiveForeground: "hsl(0, 86%, 97%)",
ring: "hsl(240, 4%, 16%)",
},
}),
}),
],
};
export default config;