feat: add accent color setting and apply it dynamically across components

This commit is contained in:
Christopher
2026-01-22 05:21:30 -08:00
parent ce16f6e8dd
commit 0ccacecd8a
7 changed files with 89 additions and 19 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
import Link from 'next/link';
import { usePathname } from 'next/navigation';
import { useAuth } from '@/lib/contexts/AuthContext';
import { HomeIcon, SearchIcon, BellIcon, UserIcon, ShieldIcon } from './Icons';
import { HomeIcon, SearchIcon, BellIcon, UserIcon, ShieldIcon, SynapsisLogo } from './Icons';
export function Sidebar() {
const { user, isAdmin } = useAuth();
@@ -15,7 +15,7 @@ export function Sidebar() {
return (
<aside className="sidebar">
<Link href="/" className="logo">
<img className="logo-icon" src="/logo.svg" alt="Synapsis" width={28} height={28} />
<SynapsisLogo />
<span>Synapsis</span>
</Link>
<nav>