-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
43 lines (42 loc) · 989 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
import daisyui from 'daisyui';
import themes from 'daisyui/src/theming/themes';
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/renderer/index.html', './src/renderer/src/**/*.{vue,js,ts,jsx,tsx}'],
theme: {
extend: {
transitionProperty: {
bg: 'background-color',
},
},
},
plugins: [daisyui],
daisyui: {
themes: ['light', 'dark'],
themes: [
{
light: {
...themes['light'],
primary: '#3b82f6',
'.btn': {
'background-color': '#e5e7eb',
},
'.btn-primary': {
'background-color': '#3b82f6',
},
},
dark: {
...themes['dark'],
primary: '#1d4ed8',
'.btn': {
'background-color': '#1a1e23',
},
'.btn-primary': {
'background-color': '#1d4ed8',
},
},
},
],
},
darkMode: ['class', '[data-theme="dark"]'],
};