forked from celo-org/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
34 lines (34 loc) · 922 Bytes
/
tailwind.config.js
File metadata and controls
34 lines (34 loc) · 922 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
34
// tailwind.config.js
/** @type {import('tailwindcss').Config} */
module.exports = {
corePlugins: {
preflight: false, // disable Tailwind's reset
},
content: ["./src/**/*.{js,jsx,ts,tsx}", "../docs/**/*.mdx"], // my markdown stuff is in ../docs, not /src
darkMode: ["class", '[data-theme="dark"]'], // hooks into docusaurus' dark mode settigns
theme: {
extend: {
colors: {
/** primary */
prosperity: "#FCFF52",
forest: "#476520",
/** base */
gypsum: "#FCF6F1",
sand: "#E7E3D4",
wood: "#655947",
fig: "#1E002B", // original
/** functional */
snow: "#FFFFFF",
onyx: "#CCCCCC",
success: "#329F3B",
error: "#E70532",
disabled: "#9B9B9B",
/** accent */
sky: "#7CC0FF",
citrus: "#FF9A51",
lotus: "#FFA3EB",
lavender: "#B490FF",
},
},
},
};