Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(style): incorrect hover effect color (#2185)

Divanshu5a0d54fb5646
diff --git a/apps/screenpipe-app-tauri/components/rewind/timeline/timeline-controls.tsx b/apps/screenpipe-app-tauri/components/rewind/timeline/timeline-controls.tsx
index 61c2f1f8d..cfa580d1a 100644
--- a/apps/screenpipe-app-tauri/components/rewind/timeline/timeline-controls.tsx
+++ b/apps/screenpipe-app-tauri/components/rewind/timeline/timeline-controls.tsx
@@ -208,10 +208,10 @@ export function TimelineControls({
<button
type="button"
onClick={onSearchClick}
- className="flex items-center h-10 gap-1.5 bg-background border border-border px-4 font-mono hover:bg-foreground hover:text-background transition-colors duration-150 cursor-pointer"
+ className="flex items-center h-10 gap-1.5 bg-background border border-border px-4 font-mono hover:bg-foreground hover:text-background transition-colors duration-150 cursor-pointer group"
>
- <span className="text-xs text-muted-foreground">{searchShortcutDisplay}</span>
- <span className="text-xs text-foreground">search</span>
+ <span className="text-xs text-muted-foreground group-hover:text-background">{searchShortcutDisplay}</span>
+ <span className="text-xs text-foreground group-hover:text-background">search</span>
</button>
</div>
diff --git a/apps/screenpipe-app-tauri/components/settings/account-section.tsx b/apps/screenpipe-app-tauri/components/settings/account-section.tsx
index f48d9b00a..723bcaa1d 100644
--- a/apps/screenpipe-app-tauri/components/settings/account-section.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/account-section.tsx
@@ -277,7 +277,7 @@ export function AccountSection() {
</div>
<Button
- className="w-full bg-foreground text-background hover:bg-foreground/90"
+ className="w-full bg-foreground text-background hover:bg-background hover:text-foreground transition-colors duration-150"
size="lg"
onClick={handleCheckout}
>
diff --git a/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx b/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx
index 54e412ee6..246d2fea5 100644
--- a/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx
@@ -753,7 +753,7 @@ export function RecordingSettings() {
onClick={handleUpdate}
disabled={isUpdating || Object.keys(validationErrors).length > 0}
size="sm"
- className="flex items-center gap-1.5 h-7 text-xs bg-foreground text-background hover:bg-foreground/90"
+ className="flex items-center gap-1.5 h-7 text-xs bg-foreground text-background hover:bg-background hover:text-foreground transition-colors duration-150"
>
{isUpdating ? (
<Loader2 className="h-3 w-3 animate-spin" />
diff --git a/apps/screenpipe-app-tauri/components/share-logs-button.tsx b/apps/screenpipe-app-tauri/components/share-logs-button.tsx
index a4948202d..22fae6145 100644
--- a/apps/screenpipe-app-tauri/components/share-logs-button.tsx
+++ b/apps/screenpipe-app-tauri/components/share-logs-button.tsx
@@ -413,7 +413,7 @@ export const ShareLogsButton = ({
size="sm"
onClick={sendLogs}
disabled={isSending || !feedbackText.trim()}
- className="gap-1.5 h-8 text-xs w-full bg-foreground text-background hover:bg-foreground/90"
+ className="gap-1.5 h-8 text-xs w-full bg-foreground text-background hover:bg-background hover:text-foreground transition-colors duration-150"
>
{isSending ? (
<>
diff --git a/apps/screenpipe-app-tauri/components/standalone-chat.tsx b/apps/screenpipe-app-tauri/components/standalone-chat.tsx
index b5cf34acd..1b8b9e11f 100644
--- a/apps/screenpipe-app-tauri/components/standalone-chat.tsx
+++ b/apps/screenpipe-app-tauri/components/standalone-chat.tsx
@@ -1856,7 +1856,7 @@ export function StandaloneChat() {
e.stopPropagation();
startNewConversation();
}}
- className="h-7 px-3 gap-1.5 text-xs bg-foreground text-background hover:bg-foreground/90"
+ className="h-7 px-3 gap-1.5 text-xs bg-foreground text-background hover:bg-background hover:text-foreground transition-colors duration-150"
title="New chat"
>
<Plus size={14} />
@@ -1989,7 +1989,7 @@ export function StandaloneChat() {
<Button
variant="default"
onClick={() => openUrl("https://screenpi.pe/login")}
- className="gap-2 font-medium bg-foreground text-background hover:bg-foreground/90"
+ className="gap-2 font-medium bg-foreground text-background hover:bg-background hover:text-foreground transition-colors duration-150"
>
<ExternalLink className="h-4 w-4" />
Login
@@ -2069,7 +2069,7 @@ export function StandaloneChat() {
message.content.includes("requires an upgrade")) && (
<button
onClick={() => setShowUpgradeDialog(true)}
- className="mt-3 inline-flex items-center gap-2 px-4 py-2 rounded-lg bg-foreground text-background text-sm font-medium hover:opacity-90 transition-opacity"
+ className="mt-3 inline-flex items-center gap-2 px-4 py-2 rounded-lg bg-foreground text-background text-sm font-medium hover:bg-background hover:text-foreground transition-colors duration-150"
>
<Zap className="h-4 w-4" />
upgrade now
@@ -2367,7 +2367,7 @@ export function StandaloneChat() {
"shrink-0 transition-all duration-200",
isStreaming
? "bg-destructive hover:bg-destructive/90"
- : "bg-foreground hover:bg-foreground/90 text-background"
+ : "bg-foreground text-background hover:bg-background hover:text-foreground"
)}
>
{isStreaming ? (