Skip to content

Commit 44f3b14

Browse files
committed
style(sidebar): set light-mode sidenav background to white; keep dark mode background via variable
1 parent b49aea5 commit 44f3b14

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/sidebar/style.module.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@
22
.sidebar.sidebar {
33
--sidebar-item-bg-hover: var(--gray-a4);
44
--sidebar-item-color: var(--accent);
5+
/* Keep a darker background in dark mode */
6+
background-color: var(--gray-1);
57
}
68
}
79
.sidebar {
810
--sidebar-item-bg-hover: var(--accent-purple-light);
911
--sidebar-item-color: var(--accent-purple);
10-
background-color: var(--gray-1);
12+
/* Light mode: use pure white background */
13+
background-color: #ffffff;
1114
top: var(--header-height);
1215
bottom: 0;
1316
flex-direction: column;

0 commit comments

Comments
 (0)