Skip to content

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.

fix (#32)

Ryali Nitin sai srinivas0f5b0bc0b394
diff --git a/web/src/components/settings/theme-switch.tsx b/web/src/components/settings/theme-switch.tsx
index ffbcea226..5f06ab9b4 100644
--- a/web/src/components/settings/theme-switch.tsx
+++ b/web/src/components/settings/theme-switch.tsx
@@ -32,18 +32,24 @@ export function ThemeSwitch() {
return (
<div className="flex rounded-lg border bg-muted p-1">
<Button
- variant={theme === "light" ? "secondary" : "ghost"}
+ variant="ghost"
size="sm"
- className={cn("flex-1 gap-2", theme === "light" && "shadow-sm")}
+ className={cn(
+ "flex-1 gap-2 transition-colors",
+ theme === "light" && "bg-background text-foreground shadow-sm dark:border-input dark:bg-input/30"
+ )}
onClick={() => setTheme("light")}
>
<Sun className="h-4 w-4" />
Light
</Button>
<Button
- variant={theme === "dark" ? "secondary" : "ghost"}
+ variant="ghost"
size="sm"
- className={cn("flex-1 gap-2", theme === "dark" && "shadow-sm")}
+ className={cn(
+ "flex-1 gap-2 transition-colors",
+ theme === "dark" && "bg-background text-foreground shadow-sm dark:border-input dark:bg-input/30"
+ )}
onClick={() => setTheme("dark")}
>
<Moon className="h-4 w-4" />