design dark mode layout panel page

This commit is contained in:
Ehsan
2024-09-27 16:07:12 +03:30
parent 3fe2b8ee85
commit af46e780b7
10 changed files with 34 additions and 16 deletions
+4
View File
@@ -121,6 +121,10 @@ body {
background: #fafafa;
}
body * {
@apply transition-colors duration-500;
}
/* Scroll */
html {
+2 -2
View File
@@ -21,7 +21,7 @@ function LayoutPanel({ children }) {
}, []);
return (
<div className="flex min-h-screen">
<div className="flex min-h-screen dark:bg-[#1F1D2B]">
<Sidebar
open={open}
active={active}
@@ -31,7 +31,7 @@ function LayoutPanel({ children }) {
<BgGray isActive={active} setIsActive={setActive} />
<main
className={`
w-full transition-all duration-500
w-full transition-all duration-500 dark:bg-[#1F1D2B]
${
pathname.includes("dashboard")
? open