-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.ts
71 lines (70 loc) · 1.99 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
import type { Config } from "tailwindcss";
import { fontFamily } from "tailwindcss/defaultTheme";
const config: Config = {
darkMode: "selector",
content: [
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"../../packages/ui/srcs/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
textColor: {
color: {
high: "hsl(var(--p-color-text-high))",
base: "hsl(var(--p-color-text))",
low: "hsl(var(--p-color-text-low))",
lower: "hsl(var(--p-color-text-lower))",
lowest: "hsl(var(--p-color-text-lowest))",
},
},
stroke: {
color: {
high: "hsl(var(--p-color-text-high))",
base: "hsl(var(--p-color-text))",
low: "hsl(var(--p-color-text-low))",
lower: "hsl(var(--p-color-text-lower))",
lowest: "hsl(var(--p-color-text-lowest))",
},
},
backgroundColor: {
color: {
high: "hsl(var(--p-color-bg-high))",
base: "hsl(var(--p-color-bg))",
low: "hsl(var(--p-color-bg-low))",
lower: "hsl(var(--p-color-bg-lower))",
lowest: "hsl(var(--p-color-bg-lowest))",
},
},
borderColor: {
color: {
base: "hsl(var(--p-color-border))",
},
},
colors: {
color: {
accent: {
high: "hsl(var(--p-color-accent-high))",
base: "hsl(var(--p-color-accent))",
low: "hsl(var(--p-color-accent-low))",
},
},
},
fontFamily: {
mono: ["var(--font-geist-mono)", ...fontFamily.mono],
sans: ["var(--font-geist-sans)", ...fontFamily.sans],
},
fontSize: {
sm: [
"var(--p-font-size-sm)",
{
lineHeight: "var(--p-font-height-sm)",
letterSpacing: "var(--p-letter-spacing-sm)",
},
],
},
},
},
plugins: [require("tailwindcss-animate")],
} satisfies Config;
export default config;