-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
75 lines (74 loc) · 1.99 KB
/
tailwind.config.cjs
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
const cjkFallback = [
"Noto Sans CJK TC",
"Microsoft Jhenghei",
"Microsoft Yahei",
"Meiryo",
"Malgun Gothic",
];
module.exports = {
darkMode: "selector",
content: ["./templates/**/*.html", "./content/**/*.org"],
theme: {
fontFamily: {
sans: ["'Overpass'", "'Noto Sans CJK JP'", ...cjkFallback, "sans-serif"],
serif: [
"'Equity A'",
"'Noto Serif CJK JP'",
...cjkFallback,
"sans-serif",
],
// serif: ["Equity"],
mono: [
"Inconsolata",
"Noto Sans Mono CJK TC",
...cjkFallback,
"monospace",
],
},
extend: {
typography: {
// biome-ignore lint: tailwind API
DEFAULT: {
// cancelling this out in CSS is even uglier, so just do it here
css: {
"blockquote p:first-of-type::before": false,
"blockquote p:last-of-type::after": false,
},
},
},
colors: {
// background dark and light
dropd: "#09080d",
dropl: "#f8f8f8",
primary: "#0d0d0d",
"primary-dark": "#e4e4e7",
secondary: "#333333",
"secondary-light": "#cccccc",
accent: "#cdadff",
"accent-strong": "#7E49B6",
"accent-light": "#cdadff30",
special: "#cdecff",
"special-strong": "#246084",
"special-light": "#cdecff50",
},
fill: (theme) => ({
accent: theme("colors.accent"),
"accent-strong": theme("colors.accent-strong"),
special: theme("colors.special"),
"special-strong": theme("colors.special-strong"),
}),
zIndex: { "-5": "-5" },
// https://github.com/tailwindlabs/tailwindcss/discussions/1361
boxShadow: {
// biome-ignore lint: tailwind API
DEFAULT: "0 0 0.25rem #00000040",
md: "0 0 0.25rem #00000070",
white: "0 0 0.5rem #ffffff",
},
},
},
plugins: [require("@tailwindcss/typography"), require("daisyui")],
daisyui: {
base: false,
},
};