-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
40 lines (38 loc) · 1.18 KB
/
tailwind.config.js
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
const { fontFamily } = require("tailwindcss/defaultTheme");
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: ["class"],
content: ["./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
colors: {
background: "var(--background)",
"background-light": "var(--background-light)",
shape: "var(--shape)",
"shape-hover": "var(--shape-hover)",
border: "var(--border)",
"border-hover": "var(--border-hover)",
"solid-background": "var(--solid-background)",
"solid-background-hover": "var(--solid-background-hover)",
"text-contrast": "var(--text-contrast)",
"text-base": "var(--text-base)",
"accent-border": "var(--accent-border)",
"accent-placeholder": "var(--accent-placeholder)",
"accent-text": "var(--accent-text)",
},
fontFamily: {
sans: ["var(--font-sans)", ...fontFamily.sans],
mono: ["var(--font-mono)", ...fontFamily.mono],
},
fontSize: {
"3xl": "2rem",
"4xl": "2.5rem",
},
spacing: {
18: "4.5rem",
26: "6.5rem",
},
},
},
plugins: [require("@tailwindcss/typography")],
};