mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix: top nav respects dark mode theme
Changed bg-white to bg-background so the top nav bar adapts to the app's dark/light theme via CSS variables instead of being hardcoded to white.
This commit is contained in:
@@ -63,7 +63,7 @@ export function TopNav({
|
||||
<header
|
||||
className={cn(
|
||||
"flex items-center h-12 px-4 border-b shrink-0",
|
||||
isDark ? "bg-[#222] border-[#333]" : "bg-white border-border",
|
||||
isDark ? "bg-[#222] border-[#333]" : "bg-background border-border",
|
||||
)}
|
||||
>
|
||||
{breadcrumb ? (
|
||||
@@ -119,7 +119,7 @@ export function TopNav({
|
||||
<header
|
||||
className={cn(
|
||||
"flex items-center h-12 px-4 border-b shrink-0",
|
||||
isDark ? "bg-[#222] border-[#333]" : "bg-white border-border",
|
||||
isDark ? "bg-[#222] border-[#333]" : "bg-background border-border",
|
||||
)}
|
||||
>
|
||||
{/* Left: Logo */}
|
||||
|
||||
Reference in New Issue
Block a user