Skip to content

Commit ca53630

Browse files
committed
chore: update drawer background
1 parent f484c38 commit ca53630

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

web/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8" />
55
<link rel="icon" href="/logo.png" type="image/*" />
66
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#f4f4f5" />
7-
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#27272a" />
7+
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#18181b" />
88
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
99
<!-- memos.metadata.head -->
1010
<title>Memos</title>

web/src/components/HomeSidebarDrawer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const HomeSidebarDrawer = () => {
2626
<Icon.Search className="w-5 h-auto dark:text-gray-400" />
2727
</IconButton>
2828
<Drawer anchor="right" size="sm" open={open} onClose={toggleDrawer(false)}>
29-
<div className="w-full px-1">
29+
<div className="w-full h-full px-1 bg-zinc-100 dark:bg-zinc-900">
3030
<HomeSidebar />
3131
</div>
3232
</Drawer>

web/src/components/NavigationDrawer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const NavigationDrawer = () => {
2626
<Icon.Menu className="w-5 h-auto dark:text-gray-400" />
2727
</IconButton>
2828
<Drawer anchor="left" size="sm" open={open} onClose={toggleDrawer(false)}>
29-
<div className="w-full h-full px-4">
29+
<div className="w-full h-full px-4 bg-zinc-100 dark:bg-zinc-900">
3030
<Navigation />
3131
</div>
3232
</Drawer>

web/src/css/global.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
body {
2-
@apply text-base w-full min-h-[100svh] p-0 m-0 bg-zinc-100 dark:bg-zinc-900;
2+
@apply text-base w-full min-h-[100svh] bg-zinc-100 dark:bg-zinc-900;
33
}
44

55
#root {

0 commit comments

Comments
 (0)