moved to daisyui

This commit is contained in:
2024-03-22 13:21:32 -04:00
parent 6f78bd8ce4
commit f56989b7dd
10 changed files with 250 additions and 565 deletions

View File

@@ -2,15 +2,30 @@
const config = {
content: [
"./src/**/*.{html,js,svelte,ts}",
"./node_modules/flowbite-svelte/**/*.{html,js,svelte,ts}",
],
plugins: [
require('flowbite/plugin')
],
darkMode: 'class',
daisyui: {
themes: [{
mytheme: {
"primary": "#0256bf",
"secondary": "#36363a",
"accent": "#7F00FF",
"neutral": "#2B2B36",
"base-100": "#252531",
"info": "#74a0d5",
"success": "#33cc33",
"warning": "#97520C",
"error": "#da0e0e",
},
}, ],
},
plugins: [
require("daisyui"),
],
theme: {
screens: {
@@ -29,23 +44,7 @@ const config = {
'2xl': '1536px',
// => @media (min-width: 1536px) { ... }
},
extend: {
colors: {
// flowbite-svelte
primary: {
50: '#FFF5F2',
100: '#FFF1EE',
200: '#FFE4DE',
300: '#FFD5CC',
400: '#FFBCAD',
500: '#FE795D',
600: '#EF562F',
700: '#EB4F27',
800: '#CC4522',
900: '#A5371B'
},
}
}
},
};