add: theme functionality

This commit is contained in:
Mahyar Khanbolooki
2025-08-12 18:07:00 +03:30
parent 9035a03f19
commit e92c33963d
4 changed files with 101 additions and 3 deletions
+3 -1
View File
@@ -2,12 +2,14 @@
@import "../../public/assets/css/fonts.css";
@import "tw-animate-css";
@custom-variant dark (&:is(.dark *));
/* @custom-variant dark (&:is(.dark *)); */
@custom-variant dark (&:where([data-theme=dark], [data-theme=dark] *));
* {
box-sizing: border-box;
}
html,
body {
@apply h-full bg-background font-irancell font-normal text-foreground;