theme: set default values of window.*.border.color to #aaaaaa

This makes the colors of titlebar and window borders different, but will
let menu.border.color (which will be supported soon) inherit
window.active.border.color just like Openbox does, without making the menu
borders around a selected menu item invisible.
This commit is contained in:
tokyo4j 2024-11-24 14:39:35 +09:00 committed by Johan Malm
parent 12cae9c7ee
commit fb6bf3fdde
3 changed files with 6 additions and 6 deletions

View file

@ -60,10 +60,10 @@ labwc-config(5).
Default is 0. Default is 0.
*window.active.border.color* *window.active.border.color*
Border color of active window. Default is #e1dedb. Border color of active window. Default is #aaaaaa.
*window.inactive.border.color* *window.inactive.border.color*
Border color of inactive window. Default is #f6f5f4. Border color of inactive window. Default is #aaaaaa.
*window.active.indicator.toggled-keybind.color* *window.active.indicator.toggled-keybind.color*
Status indicator for the ToggleKeybinds action. Can be set to the same Status indicator for the ToggleKeybinds action. Can be set to the same

View file

@ -16,8 +16,8 @@ window.titlebar.padding.width: 0
window.titlebar.padding.height: 0 window.titlebar.padding.height: 0
# window border # window border
window.active.border.color: #e1dedb window.active.border.color: #aaaaaa
window.inactive.border.color: #f6f5f4 window.inactive.border.color: #aaaaaa
# ToggleKeybinds status indicator # ToggleKeybinds status indicator
window.active.indicator.toggled-keybind.color: #ff0000 window.active.indicator.toggled-keybind.color: #ff0000

View file

@ -563,8 +563,8 @@ theme_builtin(struct theme *theme, struct server *server)
theme->window_titlebar_padding_height = 0; theme->window_titlebar_padding_height = 0;
theme->window_titlebar_padding_width = 0; theme->window_titlebar_padding_width = 0;
parse_hexstr("#e1dedb", theme->window[THEME_ACTIVE].border_color); parse_hexstr("#aaaaaa", theme->window[THEME_ACTIVE].border_color);
parse_hexstr("#f6f5f4", theme->window[THEME_INACTIVE].border_color); parse_hexstr("#aaaaaa", theme->window[THEME_INACTIVE].border_color);
parse_hexstr("#ff0000", theme->window_toggled_keybinds_color); parse_hexstr("#ff0000", theme->window_toggled_keybinds_color);