Skip to content

Commit 41ea5de

Browse files
committed
fix: light logo invisible
1 parent 4dc9cdb commit 41ea5de

4 files changed

Lines changed: 3 additions & 2 deletions

File tree

17 KB
Loading

new-deepnotes/apps/marketing/src/components/NavBar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function toggleTheme() {
5353
class="flex items-center gap-2 text-lg font-semibold tracking-tight hover:opacity-80 transition-opacity"
5454
>
5555
<img
56-
src="/white-logo-outline.webp"
56+
:src="isDark ? '/white-logo-outline.webp' : '/black-logo.png'"
5757
alt="DeepNotes"
5858
class="h-7 w-7"
5959
/>
17 KB
Loading

new-deepnotes/apps/web/src/components/NavBar.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { Button } from "@/components/ui/button";
55
import { useSession } from "@/features/auth/useSession";
66
import { unreadNotificationCount } from "@/features/notifications/useNotificationBadge";
77
import ThemeSwitcher from "@/features/theme/ThemeSwitcher.vue";
8+
import { isDark } from "@/features/theme/useThemePreference";
89
910
const { isAuthenticated, bootstrapped, loading, logout } = useSession();
1011
@@ -26,7 +27,7 @@ async function onLogout() {
2627
class="flex items-center gap-2 text-lg font-semibold tracking-tight transition-opacity hover:opacity-80"
2728
>
2829
<img
29-
src="/white-logo-outline.webp"
30+
:src="isDark ? '/white-logo-outline.webp' : '/black-logo.png'"
3031
alt="DeepNotes"
3132
class="h-7 w-7"
3233
/>

0 commit comments

Comments
 (0)