-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.mjs
More file actions
63 lines (61 loc) · 2.22 KB
/
tailwind.config.mjs
File metadata and controls
63 lines (61 loc) · 2.22 KB
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 defaultTheme from "tailwindcss/defaultTheme";
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
extend: {
fontFamily: {
sans: ["var(--font-manrope)", ...defaultTheme.fontFamily.sans],
serif: ["var(--font-literata)", ...defaultTheme.fontFamily.serif],
mono: ["var(--font-novamono)", ...defaultTheme.fontFamily.mono],
},
colors: {
card: "hsl(var(--card))",
input: "hsl(var(--input))",
border: "hsl(var(--border))",
background: "hsl(var(--background))",
foreground: "hsl(var(--foreground))",
muted: {
foreground: "hsl(var(--muted-foreground))",
},
},
typography: ({ theme }) => ({
coconut: {
css: {
"--tw-prose-body": "hsl(var(--foreground))",
"--tw-prose-headings": "hsl(var(--foreground))",
"--tw-prose-lead": "hsl(var(--foreground))",
"--tw-prose-links": "hsl(var(--foreground))",
"--tw-prose-bold": "hsl(var(--foreground))",
"--tw-prose-counters": "hsl(var(--foreground))",
"--tw-prose-bullets": "hsl(var(--foreground))",
"--tw-prose-hr": "hsl(var(--border))",
"--tw-prose-quotes": "hsl(var(--foreground))",
"--tw-prose-quote-borders": "hsl(var(--border))",
"--tw-prose-captions": "hsl(var(--muted-foreground))",
"--tw-prose-code": "hsl(var(--foreground))",
"--tw-prose-pre-code": theme("colors.zinc.100"),
"--tw-prose-pre-bg": theme("colors.zinc.800"),
"--tw-prose-th-borders": "hsl(var(--border))",
"--tw-prose-td-borders": "hsl(var(--border))",
},
},
DEFAULT: {
css: {
a: {
fontWeight: "normal",
textDecoration: "underline",
textDecorationStyle: "dashed",
textDecorationThickness: "1px",
textUnderlineOffset: "2px",
"&:hover": {
textDecorationStyle: "solid",
},
},
},
},
}),
},
},
plugins: [require("@tailwindcss/typography")],
};