-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
43 lines (42 loc) · 1.02 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
const defaultTheme = require("tailwindcss/defaultTheme");
const plugin = require("tailwindcss/plugin");
module.exports = {
mode: "jit",
darkMode: false,
theme: {
extend: {
fontFamily: {
body: ["Roboto", ...defaultTheme.fontFamily.sans]
},
backgroundColor: {
body: "#2f495e"
},
colors: {
body: "#000000",
navbar: "#183042"
}
}
},
variants: {
extend: {}
},
plugins: [
require("@tailwindcss/aspect-ratio"),
require("@tailwindcss/forms"),
require("@tailwindcss/line-clamp"),
require("@tailwindcss/typography"),
plugin(({ addBase, theme }) => {
addBase({
body: {
backgroundColor: theme("backgroundColor.body"),
fontFamily: theme("fontFamily.body"),
color: theme("colors.body")
}
});
})
],
purge: {
enabled: process.env.NODE_ENV === "production",
content: ["components/**/*.vue", "layouts/**/*.vue", "pages/**/*.vue", "plugins/**/*.js", "nuxt.config.js"]
}
};