From 2c672c1baa219329db88bdf1f260649c4b0b5f0a Mon Sep 17 00:00:00 2001 From: jilv220 Date: Fri, 13 May 2022 04:53:33 -0400 Subject: [PATCH] Fix #1774 - Dropdown doesn't match theme in dark mode (#2199) * fix #1774 * fix highlight in dark theme * change side-nav-color to #0f0f0f in black theme --- .../components/ft-list-dropdown/ft-list-dropdown.css | 6 +++--- src/renderer/themes.css | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/renderer/components/ft-list-dropdown/ft-list-dropdown.css b/src/renderer/components/ft-list-dropdown/ft-list-dropdown.css index 99907f2a..751dd751 100644 --- a/src/renderer/components/ft-list-dropdown/ft-list-dropdown.css +++ b/src/renderer/components/ft-list-dropdown/ft-list-dropdown.css @@ -52,8 +52,8 @@ padding-left: 15px; padding-right: 15px; cursor: pointer; - color: var(--tertiary-text-color); - background-color: var(--secondary-card-bg-color); + color: var(--secondary-text-color); + background-color: var(--side-nav-color); -webkit-transition: background 0.2s ease-out; -moz-transition: background 0.2s ease-out; -o-transition: background 0.2s ease-out; @@ -61,7 +61,7 @@ } .buttonOption:hover { - background-color: var(--search-bar-color); + background-color: var(--side-nav-hover-color); -moz-transition: background 0.2s ease-in; -o-transition: background 0.2s ease-in; transition: background 0.2s ease-in; diff --git a/src/renderer/themes.css b/src/renderer/themes.css index 3cc12b01..42b82b37 100644 --- a/src/renderer/themes.css +++ b/src/renderer/themes.css @@ -61,7 +61,7 @@ --secondary-card-bg-color: rgba(0, 0, 0, 0.75); --scrollbar-color: #515151; --scrollbar-color-hover: #424242; - --side-nav-color: #000000; + --side-nav-color: #0f0f0f; --side-nav-hover-color: #212121; --side-nav-active-color: #303030; --search-bar-color: #262626;