generated from tfd-ed/tfd-blog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
45 lines (45 loc) · 977 Bytes
/
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
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
content: [
"./components/**/*.{js,vue,ts}",
"./layouts/**/*.vue",
"./pages/**/*.vue",
"./plugins/**/*.{js,ts}",
"./nuxt.config.{js,ts}",
],
darkMode: "class",
i18n: {
locales: ["en-US", "kh-KH"],
defaultLocale: "kh-KH",
},
theme: {
fontFamily: {
sans: ["Source Sans Pro", "Kantumruy", ...defaultTheme.fontFamily.sans],
},
extend: {
backgroundColor: (theme) => ({
facebook: "#1778F2",
aba: "#007297",
}),
colors: (theme) => ({
facebook: "#1778F2",
aba: "#007297",
}),
},
},
daisyui: {
themes: [
{
light: {
...require("daisyui/src/colors/themes")["[data-theme=light]"],
primary: "#1f2937",
},
},
],
},
plugins: [
require("@tailwindcss/typography"),
require("@tailwindcss/forms"),
require("daisyui"),
],
};