update daisyui

This commit is contained in:
2025-03-10 23:27:39 +01:00
parent 7b5c22c10e
commit 29ffebc33a
6 changed files with 542 additions and 795 deletions

View File

@@ -1,3 +1,24 @@
@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';
@import 'tailwindcss';
/*
The default border color has changed to `currentColor` in Tailwind CSS v4,
so we've added these compatibility styles to make sure everything still
looks the same as it did with Tailwind CSS v3.
If we ever want to remove these styles, we need to add an explicit border
color utility to any element that depends on these defaults.
*/
@layer base {
*,
::after,
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
}
}
@plugin "daisyui" {
themes: light --default, dark --prefersdark, light, dark, cyberpunk, synthwave, retro, coffee, dracula;
}

View File

@@ -37,7 +37,7 @@
}
</script>
<div class="dropdown mb-8">
<div class="dropdown mb-6">
<select
bind:value={current_theme}
data-choose-theme