-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.cjs
More file actions
33 lines (32 loc) · 938 Bytes
/
tailwind.config.cjs
File metadata and controls
33 lines (32 loc) · 938 Bytes
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
import defaultTheme from "tailwindcss/defaultTheme";
import typographyPlugin from "@tailwindcss/typography";
module.exports = {
content: ["./src/**/*.{astro,html,js,jsx,json,md,mdx,svelte,ts,tsx,vue}"],
theme: {
extend: {
colors: {
primary: "var(--aw-color-primary)",
secondary: "var(--aw-color-secondary)",
accent: "var(--aw-color-accent)",
default: "var(--aw-color-text-default)",
muted: "var(--aw-color-text-muted)",
},
fontFamily: {
sans: [
"var(--aw-font-sans, ui-sans-serif)",
...defaultTheme.fontFamily.sans,
],
serif: [
"var(--aw-font-serif, ui-serif)",
...defaultTheme.fontFamily.serif,
],
heading: [
"var(--aw-font-heading, ui-sans-serif)",
...defaultTheme.fontFamily.sans,
],
},
},
},
plugins: [typographyPlugin],
darkMode: "class",
};