This repository has been archived by the owner on Oct 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.ts
68 lines (67 loc) · 1.96 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
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
safelist: [
{
pattern: /hljs+/,
},
],
theme: {
extend: {
backgroundImage: {
furry: "url('https://blog-oss.allenyou.top/image/658ad4c208349.png')",
},
height: {
"18": "4.5rem",
},
width: {
"4xl": "56rem",
},
colors: {
primary: "#6db0ec",
},
fontFamily: {
crf: ["ChillRoundF"],
},
boxShadow: {
"3xl": "0 35px 60px -15px rgba(0, 0, 0, 0.3)",
},
typography: ({ theme }: any) => ({
ay: {
css: {
"--tw-prose-links": theme("colors.primary"),
"--tw-prose-invert-body": theme("colors.gray[200] / 80%"),
"--tw-prose-invert-headings": theme("colors.gray[300] / 80%"),
"--tw-prose-invert-lead": theme("colors.gray[300] / 80%"),
"--tw-prose-invert-links": theme("colors.primary / 80%"),
"--tw-prose-invert-bold": theme("colors.gray[300] / 80%"),
"--tw-prose-invert-counters": theme("colors.gray[300] / 90%"),
"--tw-prose-invert-bullets": theme("colors.gray[300] / 80%"),
"--tw-prose-invert-hr": theme("colors.gray[300] / 80%"),
"--tw-prose-invert-quotes": theme("colors.gray[100] / 80%"),
"--tw-prose-invert-quote-borders": theme("colors.gray[300] / 80%"),
"--tw-prose-invert-captions": theme("colors.gray[400] / 80%"),
"--tw-prose-invert-code": theme("colors.gray[300] / 80%"),
"--tw-prose-invert-pre-code": theme("colors.gray[300] / 80%"),
"--tw-prose-invert-pre-bg": "rgb(0 0 0)",
"--tw-prose-invert-th-borders": theme("colors.gray[300] / 80%"),
"--tw-prose-invert-td-borders": theme("colors.gray[300] / 80%"),
},
},
}),
},
hljs: {
theme: "night-owl",
},
},
darkMode: "class",
plugins: [
require("@tailwindcss/typography"),
require("tailwind-highlightjs"),
],
};
export default config;