Open-source agentic AI Search Execution Platform. Track AI visibility, find opportunities, and let agents turn signals into prioritized actions and drafted fixes across ChatGPT, Claude, Gemini, Google AI Overviews, Google AI Mode, Perplexity, Grok, and Microsoft Copilot.
TypeScript aeoai-agentai-searchanswer-engine-optimizationbrand-monitoringchatgptclaudecopilotdockergeminigeogoogle-ai-overviewsgrokmcpnextjsopen-sourceperplexityseosupabasetypescript
feat(ui): open in light mode by default and tone the sidebar (#864)
Gökhan Geyikfd7eea21cba6
diff --git a/web/src/app/[locale]/layout.tsx b/web/src/app/[locale]/layout.tsxindex 32d9f1330..d96e2d4bd 100644--- a/web/src/app/[locale]/layout.tsx+++ b/web/src/app/[locale]/layout.tsx@@ -21,7 +21,7 @@ export default async function LocaleLayout({const messages = await getMessages();return (- <ThemeProvider attribute="class" defaultTheme="dark" enableSystem disableTransitionOnChange>+ <ThemeProvider attribute="class" defaultTheme="light" enableSystem disableTransitionOnChange><NextIntlClientProvider messages={messages} locale={locale}>{children}<Toaster richColors position="top-right" />diff --git a/web/src/app/globals.css b/web/src/app/globals.cssindex a822662d2..49ef5d40a 100644--- a/web/src/app/globals.css+++ b/web/src/app/globals.css@@ -73,11 +73,13 @@--chart-4: oklch(0.488 0.243 264.376);--chart-5: oklch(0.424 0.199 265.638);--radius: 0.625rem;- --sidebar: oklch(0.985 0 0);+ /* A step darker than the page, so the navigation reads as its own column;+ the hover tone sits below it so items still highlight. */+ --sidebar: oklch(0.967 0 0);--sidebar-foreground: oklch(0.145 0 0);--sidebar-primary: oklch(0.205 0 0);--sidebar-primary-foreground: oklch(0.985 0 0);- --sidebar-accent: oklch(0.97 0 0);+ --sidebar-accent: oklch(0.93 0 0);--sidebar-accent-foreground: oklch(0.205 0 0);--sidebar-border: oklch(0.922 0 0);--sidebar-ring: oklch(0.708 0 0);@@ -111,7 +113,7 @@--sidebar-foreground: oklch(0.985 0 0);--sidebar-primary: oklch(0.488 0.243 264.376);--sidebar-primary-foreground: oklch(0.985 0 0);- --sidebar-accent: oklch(0.269 0 0);+ --sidebar-accent: oklch(0.371 0 0);--sidebar-accent-foreground: oklch(0.985 0 0);--sidebar-border: oklch(1 0 0 / 10%);--sidebar-ring: oklch(0.556 0 0);diff --git a/web/src/components/layout/brand-switcher.tsx b/web/src/components/layout/brand-switcher.tsxindex 76c800562..5e626bd3d 100644--- a/web/src/components/layout/brand-switcher.tsx+++ b/web/src/components/layout/brand-switcher.tsx@@ -47,7 +47,7 @@ export function BrandSwitcher({ collapsed = false }: BrandSwitcherProps) {<DropdownMenu><DropdownMenuTriggerclassName={cn(- 'flex w-full items-center gap-2 rounded-md px-2 py-2 text-sm transition-colors hover:bg-accent focus-visible:outline-none',+ 'flex w-full items-center gap-2 rounded-md px-2 py-2 text-sm transition-colors hover:bg-sidebar-accent focus-visible:outline-none',collapsed && 'justify-center px-0',)}aria-label={t('switchBrand')}diff --git a/web/src/components/layout/sidebar.tsx b/web/src/components/layout/sidebar.tsxindex b060a7cab..b6ea804b2 100644--- a/web/src/components/layout/sidebar.tsx+++ b/web/src/components/layout/sidebar.tsx@@ -59,7 +59,7 @@ export function Sidebar() {return (<asideclassName={cn(- 'relative flex h-full flex-col border-r bg-card transition-all duration-300',+ 'relative flex h-full flex-col border-r bg-sidebar transition-all duration-300',isCollapsed ? 'w-16' : 'w-60',)}>@@ -161,7 +161,7 @@ export function Sidebar() {'flex items-center gap-3 rounded-md px-2 py-1.5 text-[13px] font-medium transition-colors',isActive? 'bg-primary/10 text-primary'- : 'text-muted-foreground hover:bg-accent hover:text-accent-foreground',+ : 'text-muted-foreground hover:bg-sidebar-accent hover:text-sidebar-accent-foreground',isCollapsed && 'justify-center',)}title={diff --git a/web/src/components/layout/user-profile-nav-item.tsx b/web/src/components/layout/user-profile-nav-item.tsxindex d34ffb361..22be579a9 100644--- a/web/src/components/layout/user-profile-nav-item.tsx+++ b/web/src/components/layout/user-profile-nav-item.tsx@@ -36,7 +36,7 @@ export function UserProfileNavItem({href="/dashboard/settings"onClick={onClick}className={cn(- 'flex items-center gap-2 rounded-md px-2 py-2 text-sm transition-colors hover:bg-accent',+ 'flex items-center gap-2 rounded-md px-2 py-2 text-sm transition-colors hover:bg-sidebar-accent',collapsed && 'justify-center px-0',className,)}diff --git a/web/src/components/onboarding/dashboard-preview.tsx b/web/src/components/onboarding/dashboard-preview.tsxindex ca6dce942..c55f36b5a 100644--- a/web/src/components/onboarding/dashboard-preview.tsx+++ b/web/src/components/onboarding/dashboard-preview.tsx@@ -64,7 +64,7 @@ export function DashboardPreview({return (<div className="flex h-full w-full overflow-hidden bg-background">- <aside className="flex h-full w-60 shrink-0 flex-col border-r bg-card">+ <aside className="flex h-full w-60 shrink-0 flex-col border-r bg-sidebar"><div className="flex h-16 items-center gap-2 border-b px-3"><Image src={logoSrc} alt="" width={24} height={24} className="h-6 w-6 shrink-0" /><span className="truncate font-semibold">{siteConfig.name}</span>