-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
85 lines (85 loc) · 3.27 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
76
77
78
79
80
81
82
83
84
85
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
extend: {
screens: {
xsm: "420px",
},
colors: {
transparent: "transparent",
current: "currentColor",
["ae-ailequal"]: "007bad",
["ae-black"]: "#393939",
["ae-gray"]: "#747369",
["ae-white"]: "#E8E6DF",
["ae-red"]: "#F2777A",
["ae-yellow"]: "#FFCC66",
["ae-blue"]: "#6699CC",
["ae-pink"]: "#CC99CC",
},
typography: ({ theme }) => ({
["ae"]: {
css: {
"--tw-prose-body": theme("colors.ae-black"),
"--tw-prose-headings": theme("colors.ae-black"),
"--tw-prose-lead": theme("colors.ae-black"),
"--tw-prose-links": theme("colors.ae-pink"),
"--tw-prose-bold": theme("colors.ae-black"),
"--tw-prose-counters": theme("colors.ae-black"),
"--tw-prose-bullets": theme("colors.ae-black"),
"--tw-prose-hr": theme("colors.ae-black"),
"--tw-prose-quotes": theme("colors.ae-black"),
"--tw-prose-quote-borders": theme("colors.ae-pink"),
"--tw-prose-captions": theme("colors.ae-black"),
"--tw-prose-code": theme("colors.ae-black"),
"--tw-prose-pre-code": theme("colors.ae-white"),
"--tw-prose-pre-bg": theme("colors.ae-black"),
"--tw-prose-th-borders": theme("colors.ae-black"),
"--tw-prose-td-borders": theme("colors.ae-black"),
"--tw-prose-invert-body": theme("colors.ae-white"),
"--tw-prose-invert-headings": theme("colors.ae-white"),
"--tw-prose-invert-lead": theme("colors.ae-white"),
"--tw-prose-invert-links": theme("colors.ae-pink"),
"--tw-prose-invert-bold": theme("colors.ae-white"),
"--tw-prose-invert-counters": theme("colors.ae-white"),
"--tw-prose-invert-bullets": theme("colors.ae-white"),
"--tw-prose-invert-hr": theme("colors.ae-white"),
"--tw-prose-invert-quotes": theme("colors.ae-white"),
"--tw-prose-invert-quote-borders": theme("colors.ae-pink"),
"--tw-prose-invert-captions": theme("colors.ae-white"),
"--tw-prose-invert-code": theme("colors.ae-white"),
"--tw-prose-invert-pre-code": theme("colors.ae-black"),
"--tw-prose-invert-pre-bg": theme("colors.ae-white"),
"--tw-prose-invert-th-borders": theme("colors.ae-white"),
"--tw-prose-invert-td-borders": theme("colors.ae-white"),
},
},
DEFAULT: {
css: {
kbd: {
backgroundColor: theme("colors.ae-white"),
color: theme("colors.ae-black"),
},
mark: {
backgroundColor: theme("colors.ae-yellow"),
},
},
},
invert: {
css: {
kbd: {
backgroundColor: theme("colors.ae-black"),
color: theme("colors.ae-white"),
},
mark: {
backgroundColor: theme("colors.ae-yellow"),
},
},
},
}),
},
},
darkMode: "class",
plugins: [require("@tailwindcss/typography")],
};