-
Notifications
You must be signed in to change notification settings - Fork 5
/
tailwind.config.js
48 lines (48 loc) · 1.17 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
47
48
module.exports = {
darkMode: 'class', // Enable dark mode switching via class
content: [
'./src/**/*.{html,js,svelte,ts}'
],
theme: {
extend: {
colors: {
primary: '#ff0808', // Set your primary color
},
borderRadius: {
DEFAULT: '5px', // Set default border radius to 5px
lg: '10px',
xl: '15px',
},
fontFamily: {
sans: ['Barlow', 'sans-serif'], // Use Barlow font as default
},
},
},
plugins: [require('daisyui')], // Add DaisyUI
daisyui: {
themes: [
{
light: {
'primary': '#ff0808',
'secondary': '#ff6363',
'accent': 'oklch(86% 0 0/1)',
'neutral': '#333333',
'base-100': '#ffffff',
'base-content': '#000000',
'info': '#3ABFF8',
'success': '#36D399',
'warning': '#FBBD23',
'error': '#F87272',
},
},
{
customDark: {
...require("daisyui/src/theming/themes")["dark"],
'primary': '#ff0808',
'secondary': '#d95252',
'accent': 'rgb(59, 66, 75)'
}},
],
},
darkMode: ['class', '[data-theme="customDark"]']
};