From ddf4b73c46caffd6555809c7e964e88216127482 Mon Sep 17 00:00:00 2001 From: Joshua Strobl Date: Wed, 7 Jul 2021 22:16:28 +0300 Subject: [PATCH] Fix bottom border on headerbar and enforce our text coloring on headerbar window controls. This ensures our light and dark theme styling of the headerbar remains consistent regardless of the default stylesheet. --- theme/_main.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/theme/_main.scss b/theme/_main.scss index 94c071a..7f5234f 100644 --- a/theme/_main.scss +++ b/theme/_main.scss @@ -19,6 +19,17 @@ window { & > headerbar, & > headerbar:active { background-color: $bg-secondary; background-image: none; + border-bottom-width: 0; // Unset default styling for headerbar + + &:active windowcontrols button { // Minimize, Maximize, Close buttons when window is active + color: $text-color-bright; + text-decoration-color: $text-color-bright; + } + + &:not(:active) windowcontrols button { // Minimize, Maximize, Close buttons when window is inactive + color: $text-color-faded; + text-decoration-color: $text-color-faded; + } } .koto-dialog-container {