-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
31 lines (31 loc) · 968 Bytes
/
tailwind.config.js
File metadata and controls
31 lines (31 loc) · 968 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{js,jsx,ts,tsx}"],
corePlugins: {
preflight: false, // disable Tailwind's reset
},
darkMode: ["class", '[data-theme="dark"]'], // hooks into docusaurus' dark mode settigns
theme: {
fontFamily: {
display: "Barlow",
},
extend: {
colors: {
"brand-slate": "var(--color-brand-slate)",
"brand-slate-light": "var(--color-brand-slate-light)",
"brand-purple": "var(--color-brand-purple)",
"brand-purple-light": "var(--color-brand-purple-light)",
"brand-coral": "var(--color-brand-coral)",
"brand-coral-light": "var(--color-brand-coral-light)",
"brand-yellow": "var(--color-brand-yellow)",
"brand-yellow-light": "var(--color-brand-yellow-light)",
},
},
},
safelist: [
"bg-brand-purple-light",
"bg-brand-coral-light",
"bg-brand-yellow-light",
],
plugins: [],
};