-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
57 lines (56 loc) · 1.41 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
import type { Config } from "tailwindcss";
export default {
darkMode: ["selector", '[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: {
g: {
DEFAULT: "var(--g)", // Background color
m: "var(--g-m)", // Main window background
b: "var(--g-b)", // Button color
s: "var(--g-s)",
p: "var(--g-p)",
c: "var(--g-c)", // Code block color
n: "var(--g-n)", // Hover background
t: "var(--g-t)",
l: "var(--g-l)",
i: "var(--g-i)",
r: "var(--g-r)",
},
c: {
DEFAULT: "var(--c)", // Different font colors
a: "var(--c-a)",
s: "var(--c-s)",
m: "var(--c-m)",
},
h6: "var(--h6)",
border: {
DEFAULT: "var(--b)", // Border
t: "var(--b-t)",
},
},
borderRadius: {
DEFAULT: "var(--r)", // Border radius
},
spacing: {
"scroll-y": "var(--s-y)", // Scrollbar
"scroll-x": "var(--s-x)",
},
maxWidth: {
mx: "var(--w)", // Main screen max width
},
boxShadow: {
DEFAULT: "var(--s)", // Shadow
},
borderColor: {
DEFAULT: "var(--b)",
},
},
},
plugins: [],
} satisfies Config;