apprt: add window-titlebar-{background,foreground} config options (#3806)

This gives people finer-grained control over the coloring of their
titlebars. Currently only implemented for GTK.
This commit is contained in:
Mitchell Hashimoto
2024-12-29 06:24:58 -08:00
committed by GitHub
2 changed files with 12 additions and 2 deletions

View File

@@ -968,8 +968,8 @@ fn loadRuntimeCss(
const config: *const Config = &self.config;
const window_theme = config.@"window-theme";
const unfocused_fill: Config.Color = config.@"unfocused-split-fill" orelse config.background;
const headerbar_background = config.background;
const headerbar_foreground = config.foreground;
const headerbar_background = config.@"window-titlebar-background" orelse config.background;
const headerbar_foreground = config.@"window-titlebar-foreground" orelse config.foreground;
try writer.print(
\\widget.unfocused-split {{