-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
63 lines (63 loc) · 1.45 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
import type { Config } from "tailwindcss";
import plugin from "tailwindcss/plugin";
export default {
content: [
"./docs/.vitepress/**/*.{js,ts,vue}",
"./docs/**/*.md",
"./dist/blog/**/*.html",
"./src/**/*.{html,js,vue}",
],
theme: {
extend: {
backgroundImage: {
"black-textured":
"linear-gradient(to bottom, rgba(62,63,59,0.5) ,rgba(62,63,59,0.5)), url('/black-textured.webp')",
headshot: "url('/headshot.webp')",
"yellow-textured": "url('/paperboard.webp')",
},
fontFamily: {
sans: ["Inter", "sans-serif"],
noto: ["Georama", "Zilla Slab", "Noto Sans TC"],
"zilla-highlight": ["Zilla Slab Highlight"],
},
colors: {
transparent: "transparent",
black: "#3E3F3B",
codeblock: "#2b2b2b",
highlignt: "#65758529",
white: {
default: "#FEFEFE",
light: "#FFFFE8",
},
green: "#8DFF1C",
yellow: {
default: "#FFD337",
dark: "#9A9D01",
light: "#FFEFB8",
},
},
width: {
"codeblock-line": "calc(100% + 2rem)",
"main-content": "calc(100vw - 4rem)",
"big-main-content": "calc(100vw - 10rem)",
},
gradientColorStops: {},
gradientColorStopPositions: {},
},
},
plugins: [
plugin(function ({ addUtilities }) {
addUtilities({
".horizontal-tb": {
writingMode: "horizontal-tb",
},
".vertical-rl": {
writingMode: "vertical-rl",
},
".vertical-lr": {
writingMode: "vertical-lr",
},
});
}),
],
} satisfies Config;