💫 Migrate to TailwindCSS 4 and DaisyUI 5

This commit is contained in:
Rune Harlyk
2025-03-07 21:14:59 +01:00
committed by Rune Harlyk
parent d90dbbcf21
commit 74cb4aaee4
17 changed files with 584 additions and 750 deletions
+28 -6
View File
@@ -1,9 +1,31 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@import 'tailwindcss';
@plugin "daisyui";
#nipple_0_0, #nipple_1_1 {
z-index: 10!important;
@plugin "daisyui" {
themes:
light --default,
dark --prefersdark;
}
@plugin "daisyui/theme" {
name: 'light';
default: true;
--color-primary: #00bfff;
--color-secondary: #3c00ff;
--base-content: white;
}
@plugin "daisyui/theme" {
name: 'dark';
prefersdark: true;
--color-primary: #00bfff;
--color-secondary: #3c00ff;
--base-content: oklch(0.3 0.012 256);
}
#nipple_0_0,
#nipple_1_1 {
z-index: 10 !important;
}
#three-gui-panel {
@@ -15,4 +37,4 @@
#three-gui-panel {
top: 48px;
}
}
}