-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.mjs
79 lines (79 loc) · 2.64 KB
/
tailwind.config.mjs
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
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
extend: {
colors: {
background: "var(--background)",
foreground: "var(--foreground)",
"foreground-subtle": "var(--foreground-subtle)",
surface: "var(--surface)",
brand: "var(--brand)",
"writing-background": "var(--writing-background)",
"writing-foreground": "var(--writing-foreground)",
},
fontFamily: {
"overused-grotesk": "var(--font-overused-grotesk)",
"zed-mono": "var(--font-zed-mono)",
},
screens: {
touch: { raw: "(pointer: coarse)" },
},
typography: {
foreground: {
css: {
"--tw-prose-body": "var(--foreground)",
"--tw-prose-headings": "var(--foreground)",
"--tw-prose-lead": "var(--foreground)",
"--tw-prose-links": "var(--foreground)",
"--tw-prose-bold": "var(--foreground)",
"--tw-prose-counters": "var(--foreground)",
"--tw-prose-bullets": "var(--foreground)",
"--tw-prose-hr": "var(--foreground)",
"--tw-prose-quotes": "var(--foreground)",
"--tw-prose-quote-borders": "var(--foreground)",
"--tw-prose-captions": "var(--foreground)",
"--tw-prose-code": "var(--foreground)",
"--tw-prose-pre-code": "var(--foreground)",
"--tw-prose-pre-bg": "var(--foreground)",
"--tw-prose-th-borders": "var(--foreground)",
"--tw-prose-td-borders": "var(--foreground)",
"--tw-prose-invert-body": "var(--foreground)",
"--tw-prose-invert-headings": "var(--foreground)",
"--tw-prose-invert-lead": "var(--foreground)",
"--tw-prose-invert-links": "var(--foreground)",
"--tw-prose-invert-bold": "var(--foreground)",
"--tw-prose-invert-counters": "var(--foreground)",
"--tw-prose-invert-bullets": "var(--foreground)",
"--tw-prose-invert-hr": "var(--foreground)",
"--tw-prose-invert-quotes": "var(--foreground)",
"--tw-prose-invert-quote-borders": "var(--foreground)",
"--tw-prose-invert-captions": "var(--foreground)",
"--tw-prose-invert-code": "var(--foreground)",
"--tw-prose-invert-pre-code": "var(--foreground)",
"--tw-prose-invert-pre-bg": "rgb(0 0 0 / 50%)",
"--tw-prose-invert-th-borders": "var(--foreground)",
"--tw-prose-invert-td-borders": "var(--foreground)",
},
},
},
animation: {
"fade-in": "fade-in 980ms ease-out 500ms 1 normal both",
},
keyframes: {
"fade-in": {
"0%": {
opacity: 0,
},
"100%": {
opacity: 1,
},
},
},
},
},
future: {
hoverOnlyWhenSupported: true,
},
plugins: [require("@tailwindcss/typography")],
};