forked from DaleSeo/AlgoDale
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
42 lines (42 loc) · 1.14 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
extend: {
colors: {
primary: "#815cf0",
secondary: "#209B74",
tertiary: "#9be688",
background: "#f3f5f7",
text: "#151519",
},
typography: (theme) => ({
DEFAULT: {
css: {
a: {
"&:hover": {
color: theme("colors.primary"),
},
},
h2: {
color: theme("colors.secondary"),
},
blockquote: {
background: theme("colors.background"),
borderLeft: `5px solid ${theme("colors.primary")}`,
borderRadius: `0 ${theme("spacing.2")} ${theme("spacing.2")} 0`,
paddingBlock: "0.3em",
paddingRight: "0.7em",
},
code: {
background: theme("colors.background"),
padding: "4px 6px",
borderRadius: "3px",
},
},
},
}),
},
},
plugins: [require("@tailwindcss/typography")],
};