-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
41 lines (37 loc) · 1.01 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
const config = {
content: ['./src/**/*.{html,js,svelte,ts}'],
darkMode: 'class',
theme: {
extend: {
ringWidth: ['focus-visible'],
ringColor: ['focus-visible'],
ringOffsetWidth: ['focus-visible'],
},
},
plugins: [require('@tailwindcss/typography'), require('daisyui')],
daisyui: {
themes: [
{
light: {
...require('daisyui/src/theming/themes')['[data-theme=light]'],
primary: '#4f46e5',
secondary: '#0284c7',
'--btn-text-case': 'none',
// Default has low contrast
'.btn-primary': { color: '#e0e7ff' },
'.text-primary-content': { color: '#e0e7ff' },
},
dark: {
...require('daisyui/src/theming/themes')['[data-theme=dark]'],
primary: '#4f46e5',
'base-100': '#27272a',
'base-200': '#18181b',
'base-300': '#09090b',
neutral: '#2F2F33',
'--btn-text-case': 'none',
},
},
],
},
};
module.exports = config;