From ef52a1d6f07c8c1fc843d636cadf0a24ac153f76 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Tue, 9 Apr 2024 17:49:14 -0500 Subject: [PATCH] Fix colors for default light mode theme (#10909) * fix colors for default light mode theme * remove redundancy * fix export dialog * don't use primary-foreground * change secondary button variant to be default button * change filters button to bg-selected when filtering * slightly lighten secondary-foreground in light mode * fix mobile motion only button --- web/src/components/Statusbar.tsx | 2 +- web/src/components/dynamic/NewReviewData.tsx | 1 - .../components/filter/CameraGroupSelector.tsx | 4 +- web/src/components/filter/FilterCheckBox.tsx | 2 +- web/src/components/filter/LogLevelFilter.tsx | 8 ++-- .../components/filter/ReviewActionGroup.tsx | 13 ++---- .../components/filter/ReviewFilterGroup.tsx | 46 ++++++++++--------- web/src/components/graph/SystemGraph.tsx | 12 ++--- web/src/components/indicators/Chip.tsx | 2 +- web/src/components/navigation/Sidebar.tsx | 2 +- web/src/components/overlay/ExportDialog.tsx | 15 +++--- web/src/components/overlay/LogInfoDialog.tsx | 14 ++---- .../components/overlay/MobileCameraDrawer.tsx | 2 +- .../overlay/MobileReviewSettingsDrawer.tsx | 20 ++++---- .../overlay/MobileTimelineDrawer.tsx | 2 +- .../components/overlay/SaveExportOverlay.tsx | 3 +- web/src/components/overlay/VainfoDialog.tsx | 4 +- web/src/components/player/VideoControls.tsx | 6 +-- .../components/timeline/SummaryTimeline.tsx | 2 +- .../components/timeline/segment-metadata.tsx | 4 +- web/src/components/ui/badge.tsx | 16 +++---- web/src/components/ui/button.tsx | 9 ++-- web/src/components/ui/sonner.tsx | 6 +-- web/src/pages/Logs.tsx | 10 ++-- web/src/pages/SubmitPlus.tsx | 8 ++-- web/src/pages/UIPlayground.tsx | 6 ++- web/src/views/events/RecordingView.tsx | 3 +- web/src/views/live/LiveBirdseyeView.tsx | 2 +- web/src/views/live/LiveCameraView.tsx | 12 ++--- web/src/views/system/CameraMetrics.tsx | 4 +- web/src/views/system/GeneralMetrics.tsx | 15 +++--- web/src/views/system/StorageMetrics.tsx | 8 ++-- web/tailwind.config.js | 1 + web/themes/theme-default.css | 34 ++++++++------ 34 files changed, 144 insertions(+), 154 deletions(-) diff --git a/web/src/components/Statusbar.tsx b/web/src/components/Statusbar.tsx index 1100ba3ae..8599ab9b6 100644 --- a/web/src/components/Statusbar.tsx +++ b/web/src/components/Statusbar.tsx @@ -32,7 +32,7 @@ export default function Statusbar() { const { potentialProblems } = useStats(stats); return ( -