-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathtailwind.config.js
58 lines (58 loc) · 1.15 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
content: [
"./components/**/*.{js,vue,ts}",
"./layouts/**/*.vue",
"./pages/**/*.vue",
"./plugins/**/*.{js,ts}",
"./nuxt.config.{js,ts}",
],
// Active dark mode on class basis
darkMode: "class",
i18n: {
locales: ["en-US"],
defaultLocale: "en-US",
},
theme: {
fontFamily: {
sans: ["Source Sans Pro", "Kantumruy", ...defaultTheme.fontFamily.sans],
},
zIndex: {
0: 0,
10: 10,
20: 20,
30: 30,
40: 40,
50: 50,
25: 25,
75: 75,
90: 90,
100: 100,
auto: "auto",
},
extend: {
backgroundColor: (theme) => ({
facebook: "#1778F2",
tfd: "#ce3637",
}),
colors: (theme) => ({
facebook: "#1778F2",
tfd: "#ce3637",
}),
},
},
daisyui: {
themes: [
{
light: {
...require("daisyui/src/colors/themes")["[data-theme=light]"],
primary: "#1f2937",
},
},
],
},
plugins: [require("@tailwindcss/forms"), require("daisyui")],
future: {
purgeLayersByDefault: true,
},
};