From f30dd79f0cc17c70bafb2871dc0590ab8a4d200a Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 6 Feb 2020 23:53:14 +0100 Subject: [PATCH] themes: tweaks --- CHANGELOG.md | 2 ++ src/scss/themes/alt-buttons.scss | 6 +++++- src/scss/themes/flat.scss | 7 ++++++- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f945586e..2724cae2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ - plots: prevent `plot/*` widgets from sending messages when using the sidepanel's "send all" function - editor: assign correct `address` when emptying the field - sidepanel: shadow color issue +- misc + - alt-buttons & flat theme tweaks ## 0.49.1 diff --git a/src/scss/themes/alt-buttons.scss b/src/scss/themes/alt-buttons.scss index 6b7d510b..0ec91df9 100644 --- a/src/scss/themes/alt-buttons.scss +++ b/src/scss/themes/alt-buttons.scss @@ -1,5 +1,5 @@ .widget.push-container.on .toggle:before, -.widget.modal-container.on .toggle:before, +.widget.modal-container.on > .toggle:before, .widget.switch-container .value.on:before, .widget.switcher-container .value.on:before, .widget.crossfader-container .value.on:before, @@ -18,6 +18,10 @@ color: var(--color-bg); font-weight: 900; } +.widget.modal-container.on > .label, +.widget.toggle-container.on:not(.led) > .label { + color: var(--color-bg); +} .widget.push-container.active:not(.on) > .label { color: var(--color-custom); diff --git a/src/scss/themes/flat.scss b/src/scss/themes/flat.scss index 967c4818..0b4f58f9 100644 --- a/src/scss/themes/flat.scss +++ b/src/scss/themes/flat.scss @@ -13,9 +13,14 @@ } .toggle-container .toggle.on:after, +.modal-container > .toggle.on:after, .push-container .toggle.active:after, .switch-container .switch .value.on:after { - // background: var(--color-bg) + background: var(--color-bg) +} + +.navigation .tablink.on a:before { + background: var(--color-bg); } .widget {