Add basic menu theme options

This commit is contained in:
Johan Malm 2021-02-16 20:43:20 +00:00
parent f3a95d65ad
commit bc04f50d14
6 changed files with 42 additions and 5 deletions

View file

@ -63,6 +63,14 @@ static void entry(const char *key, const char *value)
parse_hexstr(value, theme.window_active_button_unpressed_image_color);
} else if (match(key, "window.inactive.button.unpressed.image.color")) {
parse_hexstr(value, theme.window_inactive_button_unpressed_image_color);
} else if (match(key, "menu.items.bg.color")) {
parse_hexstr(value, theme.menu_items_bg_color);
} else if (match(key, "menu.items.text.color")) {
parse_hexstr(value, theme.menu_items_text_color);
} else if (match(key, "menu.items.active.bg.color")) {
parse_hexstr(value, theme.menu_items_active_bg_color);
} else if (match(key, "menu.items.active.text.color")) {
parse_hexstr(value, theme.menu_items_active_text_color);
}
}