hopefully fixed dark mode now

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
Tuan-Dat Tran
2025-02-07 00:43:17 +01:00
parent 8f8c724f5f
commit 7fa831ca13
2 changed files with 5 additions and 2 deletions

View File

@@ -1,3 +1,6 @@
@tailwind base; @tailwind base;
@tailwind components; @tailwind components;
@tailwind utilities; @tailwind utilities;
@custom-variant dark (&:where(.dark, .dark *));

View File

@@ -10,7 +10,7 @@ use header::Header;
pub fn Layout() -> Element { pub fn Layout() -> Element {
rsx! { rsx! {
div { div {
class: "flex flex-col min-h-screen", class: "dark flex flex-col min-h-screen",
Header {}, Header {},
Body { Body {
Outlet::<Route> {}, Outlet::<Route> {},