-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
54 lines (54 loc) · 1.7 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
extend: {
typography: ({ theme }) => ({
DEFAULT: {
css: {
"--tw-prose-body": theme("colors.midnight-blue"),
"--tw-prose-bold": theme("colors.midnight-blue"),
"--tw-prose-bullets": theme("colors.midnight-blue"),
"--tw-prose-counters": theme("colors.midnight-blue"),
"--tw-prose-headings": theme("colors.midnight-blue"),
"--tw-prose-quotes": theme("colors.midnight-blue"),
"--code-padding": "0.25rem",
"--code-border-radius": "0.25rem",
code: {
backgroundColor: theme("colors.seashell"),
color: theme("colors.midnight-blue"),
fontWeight: 400,
"border-radius": "var(--code-border-radius)",
},
"code::before": {
content: '""',
"padding-left": "var(--code-padding)",
},
"code::after": {
content: '""',
"padding-right": "var(--code-padding)",
},
},
},
}),
},
colors: {
"midnight-blue": "#004466",
"bright-teal": "#11CDD4",
pistacio: "#AEFF9C",
"pine-green": "#006666",
"bright-yellow": "#FFFA39",
lavender: "#A5AAFF",
"powder-blue": "#A1E6E6",
oat: "#FFF2DD",
white: "#FFFFFF",
"poppy-red": "#BF280B",
seashell: "#E4E3E3",
},
fontFamily: {
sans: ["Inter", "sans-serif"],
headers: ["Space Grotesk", "sans-serif"],
},
},
plugins: [require("@tailwindcss/typography")],
};