-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtailwind.config.js
46 lines (46 loc) · 1.04 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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: ['class'],
content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
theme: {
extend: {
colors: {
yes: '#3fb68b',
no: '#ff5353',
info: '#00b2ff',
main: 'var(--text-main)',
secondary: 'var(--text-secondary)',
active: 'var(--bg-active)',
},
borderWidth: {
'1': '1px', // 添加自定义的 border-1 实用类
},
screens: {
'sm': '640px',
'md': '768px',
'lg': '1024px',
'xl': '1280px',
'2xl': '1536px',
},
},
},
plugins: [require('daisyui')],
daisyui: {
themes: [
{
light: {
...require('daisyui/src/theming/themes')['[data-theme=light]'],
primary: '#666cff',
},
},
{
dark: {
...require('daisyui/src/theming/themes')['[data-theme=dark]'],
primary: '#666cff',
'base-100': '#2a334c',
'base-200': '#252d37'
},
},
],
},
};