-
Notifications
You must be signed in to change notification settings - Fork 18
/
tailwind.config.js
51 lines (51 loc) · 1.16 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
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],
mono: ["Georgia", "Noto Serif Khmer", ...defaultTheme.fontFamily.mono],
},
extend: {
backgroundColor: (theme) => ({
facebook: "#1778F2",
aba: "#007297",
bakong: "#f70110",
tfd: "#dc2626",
}),
colors: (theme) => ({
facebook: "#1778F2",
aba: "#007297",
aba_dark: "#055d7c",
bakong: "#f70110",
tfd: "#dc2626",
}),
},
},
daisyui: {
themes: [
{
light: {
...require("daisyui/src/colors/themes")["[data-theme=light]"],
primary: "#1f2937",
},
},
],
},
plugins: [
require("@tailwindcss/typography"),
require("@tailwindcss/forms"),
require("daisyui"),
],
};