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: sidebar text invisible in macOS Auto/system theme mode (#2894)
Divanshu16d38570de18
diff --git a/apps/screenpipe-app-tauri/app/globals.css b/apps/screenpipe-app-tauri/app/globals.cssindex b87658ba7..345c6263e 100644--- a/apps/screenpipe-app-tauri/app/globals.css+++ b/apps/screenpipe-app-tauri/app/globals.css@@ -364,12 +364,50 @@background-color: rgba(255, 255, 255, 0.06) !important;}- /* System dark mode fallback — covers the gap before JS applies .dark class */+ /* System dark mode fallback — covers the gap before JS applies .dark class.+ Applies to BOTH background and all text colors so there is no flash of+ dark-vibrancy-background + light-mode text (= invisible text) on first+ paint when macOS is in Auto/dark mode. */@media (prefers-color-scheme: dark) {html:not(.light) .vibrant-sidebar {background-color: rgba(255, 255, 255, 0.06) !important;}+ html:not(.light) .vibrant-sidebar-fg {+ color: hsl(0 0% 100%) !important;+ }+ html:not(.light) .vibrant-sidebar-fg-muted {+ color: hsl(0 0% 60%) !important;+ }+ html:not(.light) .vibrant-nav-active {+ color: hsl(0 0% 100%) !important;+ }+ html:not(.light) .vibrant-nav-hover:hover {+ color: hsl(0 0% 100%) !important;+ }+ html:not(.light) .vibrant-nav-item {+ color: hsl(0 0% 60%) !important;+ }+ html:not(.light) .vibrant-nav-item:hover {+ color: hsl(0 0% 100%) !important;+ }+ html:not(.light) .vibrant-heading {+ color: hsl(0 0% 100%) !important;+ }+ html:not(.light) .vibrant-card-border {+ border-color: hsl(0 0% 100% / 0.1) !important;+ }+ html:not(.light) .vibrant-btn-border {+ border-color: hsl(0 0% 100% / 0.2) !important;+ color: hsl(0 0% 100%) !important;+ }+ html:not(.light) .vibrant-btn-border:hover {+ color: hsl(0 0% 100% / 0.8) !important;+ }+ html:not(.light) .vibrant-sidebar-border {+ border-color: hsl(0 0% 100% / 0.08) !important;+ }}+.vibrant-sidebar-border {border-color: transparent;}diff --git a/apps/screenpipe-app-tauri/app/providers.tsx b/apps/screenpipe-app-tauri/app/providers.tsxindex 5e49d453c..fe9e9c3ae 100644--- a/apps/screenpipe-app-tauri/app/providers.tsx+++ b/apps/screenpipe-app-tauri/app/providers.tsx@@ -109,7 +109,7 @@ export const Providers = forwardRef<<Suspense><NuqsAdapter><SettingsProvider>- <ThemeProvider defaultTheme="light" storageKey="screenpipe-ui-theme">+ <ThemeProvider defaultTheme="system" storageKey="screenpipe-ui-theme"><ChangelogDialogProvider><PermissionMonitorProvider><PostHogProvider client={posthog}>{children}</PostHogProvider>