-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
41 lines (40 loc) · 1.09 KB
/
tailwind.config.ts
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
/** @type {import('tailwindcss').Config} */
const plugin = require("tailwindcss/plugin");
export default {
content: ["./index.html", "./pages/previews/**/*.{vue,js,ts,jsx,tsx}", "./pages/admin/**/*.{vue,js,ts,jsx,tsx}"],
theme: {
extend: {}
},
plugins: [
require("@tailwindcss/typography"),
require("daisyui"),
plugin(function ({ addBase, addComponents, addUtilities, theme }) {
addUtilities({
".font-gxjh-thin": {
fontFamily: "NotoSansHans-Thin-Windows"
},
".font-gxjh-black": {
fontFamily: "NotoSansHans-Black"
},
".font-gxjh-bold": {
fontFamily: "NotoSansHans-Bold"
},
".font-gxjh-demlight": {
fontFamily: "NotoSansHans-DemiLight"
},
".font-gxjh-light": {
fontFamily: "NotoSansHans-Light"
},
".font-gxjh-medium": {
fontFamily: "NotoSansHans-Medium"
},
".font-gxjh-regular": {
fontFamily: "NotoSansHans-Regular"
}
});
})
],
daisyui: {
themes: ["light", "dark", "cupcake"]
}
};