From e8d11693197c709707940a2e2522127c7d630995 Mon Sep 17 00:00:00 2001 From: Stacey Gammon Date: Wed, 9 Aug 2017 09:38:57 -0400 Subject: [PATCH] Fix dark theme issues with spy toggle and spy pane (#13345) (#13398) * Fix dark theme issues with spy toggle and spy pane * Port dark theme portion of styling kuiIcon into uiFramework library --- src/ui/public/styles/dark-theme.less | 4 ++++ ui_framework/components/_mixins.scss | 4 ++++ ui_framework/dist/ui_framework.css | 6 ++++++ 3 files changed, 14 insertions(+) diff --git a/src/ui/public/styles/dark-theme.less b/src/ui/public/styles/dark-theme.less index 335f50392460..6464a324f5e3 100644 --- a/src/ui/public/styles/dark-theme.less +++ b/src/ui/public/styles/dark-theme.less @@ -268,6 +268,10 @@ border-top-color: @visualize-show-spy-border; } + visualize-spy { + background-color: @visualize-spy-container-pre-bg; + } + .visualize-spy-container { pre { border-color: @visualize-show-spy-border; diff --git a/ui_framework/components/_mixins.scss b/ui_framework/components/_mixins.scss index 97f1460158f8..5bceffc0d68a 100644 --- a/ui_framework/components/_mixins.scss +++ b/ui_framework/components/_mixins.scss @@ -48,6 +48,10 @@ &:hover { opacity: 1; } + + @include darkTheme { + color: $globalTextColor--darkTheme !important; /* 1 */ + } } /** diff --git a/ui_framework/dist/ui_framework.css b/ui_framework/dist/ui_framework.css index 38446fb5570a..e737e8875511 100644 --- a/ui_framework/dist/ui_framework.css +++ b/ui_framework/dist/ui_framework.css @@ -680,6 +680,9 @@ main { opacity: 0.35; } .kuiCollapseButton:hover { opacity: 1; } + .theme-dark .kuiCollapseButton { + color: #cecece !important; + /* 1 */ } .kuiColorPicker { cursor: pointer; } @@ -1824,6 +1827,9 @@ main { .theme-dark .kuiLocalDropdownCloseButton { color: #cecece !important; /* 1 */ } + .theme-dark .kuiLocalDropdownCloseButton { + color: #cecece !important; + /* 1 */ } .kuiLocalDropdownPanels { display: -webkit-box;