diff --git a/src/kcolorscheme.h b/src/kcolorscheme.h --- a/src/kcolorscheme.h +++ b/src/kcolorscheme.h @@ -284,6 +284,11 @@ * clicking. */ HoverColor, + /** + * Color used to draw separators and frames. + * @since 5.65 + */ + SeparatorColor, /** * Number of decoration roles. * @since 5.65 diff --git a/src/kcolorscheme.cpp b/src/kcolorscheme.cpp --- a/src/kcolorscheme.cpp +++ b/src/kcolorscheme.cpp @@ -173,6 +173,7 @@ struct DecoDefaultColors { int Focus[3]; int Hover[3]; + int Separator[3]; }; // these numbers come from the Breeze color scheme ([breeze]/colors/Breeze.colors) @@ -257,6 +258,7 @@ static const DecoDefaultColors defaultDecorationColors = { { 61, 174, 233 }, // Focus { 147, 206, 233 }, // Hover + { 188, 190, 191 }, // Separator }; //END default colors @@ -357,6 +359,7 @@ _brushes.deco[KColorScheme::FocusColor] = cfg.readEntry("DecorationFocus", DECO_DEFAULT(Focus)); _brushes.deco[KColorScheme::HoverColor] = cfg.readEntry("DecorationHover", DECO_DEFAULT(Hover)); + _brushes.deco[KColorScheme::SeparatorColor] = cfg.readEntry("DecorationSeparator", DECO_DEFAULT(Separator)); // apply state adjustments if (state != QPalette::Active) {