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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix(ui): make sidebar recording dot visible in light mode on translucent sidebar (#4579)
Louis Beaumontc05d59f67537
diff --git a/apps/screenpipe-app-tauri/components/recording-status.tsx b/apps/screenpipe-app-tauri/components/recording-status.tsxindex 3ecb903f2..121c2606e 100644--- a/apps/screenpipe-app-tauri/components/recording-status.tsx+++ b/apps/screenpipe-app-tauri/components/recording-status.tsx@@ -137,10 +137,16 @@ export function RecordingStatus({aria-hidden="true"className={cn("h-2 w-2 rounded-full transition-all",+ // Drive the dot color off `currentColor` so it follows the+ // theme on the translucent sidebar: `vibrant-sidebar-fg`+ // resolves to black in light mode and white in dark mode+ // (with the same pre-JS system-preference fallbacks the rest+ // of the vibrant sidebar uses). A hardcoded white dot was+ // invisible on the light translucent background.isTranslucent? allActive- ? "bg-white"- : "border border-white bg-transparent"+ ? "vibrant-sidebar-fg bg-current"+ : "vibrant-sidebar-fg border border-current bg-transparent": allActive? "bg-foreground": "border border-foreground bg-transparent",