Skip to content

Commit 137bb8b

Browse files
committed
kconfig: lxdialog: fix button color for blackbg theme
For MENUCONFIG_COLOR=blackbg, the text in inactive buttons is invisible because both the foreground and background are black. Change the foreground color to white and remove the highlighting. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
1 parent 23dfd91 commit 137bb8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • scripts/kconfig/lxdialog

scripts/kconfig/lxdialog/util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ static void set_blackbg_theme(void)
101101
DLG_COLOR(button_key_active, COLOR_YELLOW, COLOR_RED, true);
102102
DLG_COLOR(button_key_inactive, COLOR_RED, COLOR_BLACK, false);
103103
DLG_COLOR(button_label_active, COLOR_WHITE, COLOR_RED, false);
104-
DLG_COLOR(button_label_inactive, COLOR_BLACK, COLOR_BLACK, true);
104+
DLG_COLOR(button_label_inactive, COLOR_WHITE, COLOR_BLACK, false);
105105

106106
DLG_COLOR(inputbox, COLOR_YELLOW, COLOR_BLACK, false);
107107
DLG_COLOR(inputbox_border, COLOR_YELLOW, COLOR_BLACK, false);

0 commit comments

Comments
 (0)