mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
theme: add window_(in)active_label_text_color
Support both active and inactive colors for titlebar text
This commit is contained in:
parent
606b6d946e
commit
597650b457
5 changed files with 37 additions and 9 deletions
10
src/theme.c
10
src/theme.c
|
|
@ -85,6 +85,9 @@ theme_builtin(struct theme *theme)
|
|||
parse_hexstr("#dddad6", theme->window_active_title_bg_color);
|
||||
parse_hexstr("#f6f5f4", theme->window_inactive_title_bg_color);
|
||||
|
||||
parse_hexstr("#000000", theme->window_active_label_text_color);
|
||||
parse_hexstr("#000000", theme->window_inactive_label_text_color);
|
||||
|
||||
parse_hexstr("#000000",
|
||||
theme->window_active_button_iconify_unpressed_image_color);
|
||||
parse_hexstr("#000000",
|
||||
|
|
@ -154,6 +157,13 @@ entry(struct theme *theme, const char *key, const char *value)
|
|||
parse_hexstr(value, theme->window_inactive_title_bg_color);
|
||||
}
|
||||
|
||||
if (match(key, "window.active.label.text.color")) {
|
||||
parse_hexstr(value, theme->window_active_label_text_color);
|
||||
}
|
||||
if (match(key, "window.inactive.lable.text.color")) {
|
||||
parse_hexstr(value, theme->window_inactive_label_text_color);
|
||||
}
|
||||
|
||||
/* universal button */
|
||||
if (match(key, "window.active.button.unpressed.image.color")) {
|
||||
parse_hexstr(value,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue