-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
46 lines (45 loc) · 1.23 KB
/
tailwind.config.cjs
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
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
content: ["./src/**/*.{astro,html,js,jsx,svelte,ts,tsx,vue}"],
theme: {
extend: {
fontFamily: {
sans: ["SF Pro SC","HanHei SC","SF Pro Text","Myriad Set Pro","SF Pro Icons","Apple Legacy Chevron","PingFang SC","Helvetica Neue","Helvetica","Arial","sans-serif",defaultTheme.fontFamily.sans],
},
colors: {
primary: "var(--color-primary)",
secondary: "var(--color-secondary)",
},
textColor: {
default: "var(--color-text)",
offset: "var(--color-text-offset)",
},
backgroundColor: {
default: "var(--color-background)",
offset: "var(--color-background-offset)",
},
borderColor: {
default: "var(--color-border)",
},
},
},
variants: {
backdropFilter: ['responsive', 'hover', 'focus'],
},
daisyui: {
themes: [
{
light: {
primary: "var(--color-primary)",
},
dark: {
"base-100": "var(--color-background)",
},
},
],
},
corePlugins: {
fontSize: false,
},
plugins: [require("tailwindcss-fluid-type"), require("daisyui"), require('@tailwindcss/typography')],
};