forked from unitystation/unitystation-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
35 lines (34 loc) · 953 Bytes
/
tailwind.config.js
File metadata and controls
35 lines (34 loc) · 953 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'node_modules/flowbite-react/**/*.{js,jsx,ts,tsx}',
],
important: true, // Active dark mode on class basis
darkMode: "class", i18n: {
locales: ["en-US"], defaultLocale: "en-US",
},
purge: {
content: ["./pages/**/*.tsx", "./components/**/*.tsx"], // These options are passed through directly to PurgeCSS
},
theme: {
extend: {
container: {
center: true,
},
backgroundImage: {
"layer1" : "url('../public/background/layer1.png')",
}
},
},
variants: {
extend: {
backgroundColor: ["checked"], borderColor: ["checked"], inset: ["checked"], zIndex: ["hover", "active"],
},
},
plugins: [
require('flowbite/plugin'),
],
future: {
purgeLayersByDefault: true,
},
};