* [PATCH][TRIVIAL] menuconfig alternate theme
@ 2003-10-28 0:45 Han Boetes
2003-10-29 21:03 ` Randy.Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: Han Boetes @ 2003-10-28 0:45 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 780 bytes --]
Hi,
To react on this thread somewhat:
http://marc.theaimsgroup.com/?l=linux-kernel&m=104202311306008&w=2
I made an alternative theme for menuconfig with a black background and
white/yellow/red/grey text which I find more readable. Of course it's
way to late to be included and I don't expect that at all. Just
something I wanted to share with the one or two people that share my
problem with reading the current settings.
# Han
--
_/| VK |\_
// o\ Sooner or later you must pay for your sins. (Those /o \\
|| ._) who have already paid may disregard this fortune). (_. ||
//__\ /__\\
)___( )___(
[-- Attachment #2: menuconfig_colors.diff --]
[-- Type: text/plain, Size: 7441 bytes --]
--- scripts/lxdialog/colors.h.orig 2003-10-25 20:42:50.000000000 +0200
+++ scripts/lxdialog/colors.h 2003-10-28 00:46:28.618862592 +0100
@@ -24,123 +24,123 @@
*
* *_FG = foreground
* *_BG = background
- * *_HL = highlight?
+ * *_HL = highlight
*/
-#define SCREEN_FG COLOR_CYAN
-#define SCREEN_BG COLOR_BLUE
+#define SCREEN_FG COLOR_BLACK
+#define SCREEN_BG COLOR_BLACK
#define SCREEN_HL TRUE
#define SHADOW_FG COLOR_BLACK
#define SHADOW_BG COLOR_BLACK
-#define SHADOW_HL TRUE
+#define SHADOW_HL FALSE
-#define DIALOG_FG COLOR_BLACK
-#define DIALOG_BG COLOR_WHITE
+#define DIALOG_FG COLOR_WHITE
+#define DIALOG_BG COLOR_BLACK
#define DIALOG_HL FALSE
-#define TITLE_FG COLOR_YELLOW
-#define TITLE_BG COLOR_WHITE
-#define TITLE_HL TRUE
+#define TITLE_FG COLOR_RED
+#define TITLE_BG COLOR_BLACK
+#define TITLE_HL FALSE
-#define BORDER_FG COLOR_WHITE
-#define BORDER_BG COLOR_WHITE
+#define BORDER_FG COLOR_BLACK
+#define BORDER_BG COLOR_BLACK
#define BORDER_HL TRUE
-#define BUTTON_ACTIVE_FG COLOR_WHITE
-#define BUTTON_ACTIVE_BG COLOR_BLUE
-#define BUTTON_ACTIVE_HL TRUE
+#define BUTTON_ACTIVE_FG COLOR_YELLOW
+#define BUTTON_ACTIVE_BG COLOR_RED
+#define BUTTON_ACTIVE_HL FALSE
-#define BUTTON_INACTIVE_FG COLOR_BLACK
-#define BUTTON_INACTIVE_BG COLOR_WHITE
+#define BUTTON_INACTIVE_FG COLOR_YELLOW
+#define BUTTON_INACTIVE_BG COLOR_BLACK
#define BUTTON_INACTIVE_HL FALSE
-#define BUTTON_KEY_ACTIVE_FG COLOR_WHITE
-#define BUTTON_KEY_ACTIVE_BG COLOR_BLUE
+#define BUTTON_KEY_ACTIVE_FG COLOR_YELLOW
+#define BUTTON_KEY_ACTIVE_BG COLOR_RED
#define BUTTON_KEY_ACTIVE_HL TRUE
#define BUTTON_KEY_INACTIVE_FG COLOR_RED
-#define BUTTON_KEY_INACTIVE_BG COLOR_WHITE
+#define BUTTON_KEY_INACTIVE_BG COLOR_BLACK
#define BUTTON_KEY_INACTIVE_HL FALSE
-#define BUTTON_LABEL_ACTIVE_FG COLOR_YELLOW
-#define BUTTON_LABEL_ACTIVE_BG COLOR_BLUE
-#define BUTTON_LABEL_ACTIVE_HL TRUE
+#define BUTTON_LABEL_ACTIVE_FG COLOR_WHITE
+#define BUTTON_LABEL_ACTIVE_BG COLOR_RED
+#define BUTTON_LABEL_ACTIVE_HL FALSE
#define BUTTON_LABEL_INACTIVE_FG COLOR_BLACK
-#define BUTTON_LABEL_INACTIVE_BG COLOR_WHITE
+#define BUTTON_LABEL_INACTIVE_BG COLOR_BLACK
#define BUTTON_LABEL_INACTIVE_HL TRUE
-#define INPUTBOX_FG COLOR_BLACK
-#define INPUTBOX_BG COLOR_WHITE
+#define INPUTBOX_FG COLOR_YELLOW
+#define INPUTBOX_BG COLOR_BLACK
#define INPUTBOX_HL FALSE
-#define INPUTBOX_BORDER_FG COLOR_BLACK
-#define INPUTBOX_BORDER_BG COLOR_WHITE
+#define INPUTBOX_BORDER_FG COLOR_YELLOW
+#define INPUTBOX_BORDER_BG COLOR_BLACK
#define INPUTBOX_BORDER_HL FALSE
-#define SEARCHBOX_FG COLOR_BLACK
-#define SEARCHBOX_BG COLOR_WHITE
+#define SEARCHBOX_FG COLOR_YELLOW
+#define SEARCHBOX_BG COLOR_BLACK
#define SEARCHBOX_HL FALSE
#define SEARCHBOX_TITLE_FG COLOR_YELLOW
-#define SEARCHBOX_TITLE_BG COLOR_WHITE
+#define SEARCHBOX_TITLE_BG COLOR_BLACK
#define SEARCHBOX_TITLE_HL TRUE
-#define SEARCHBOX_BORDER_FG COLOR_WHITE
-#define SEARCHBOX_BORDER_BG COLOR_WHITE
+#define SEARCHBOX_BORDER_FG COLOR_BLACK
+#define SEARCHBOX_BORDER_BG COLOR_BLACK
#define SEARCHBOX_BORDER_HL TRUE
-#define POSITION_INDICATOR_FG COLOR_YELLOW
-#define POSITION_INDICATOR_BG COLOR_WHITE
-#define POSITION_INDICATOR_HL TRUE
+#define POSITION_INDICATOR_FG COLOR_RED
+#define POSITION_INDICATOR_BG COLOR_BLACK
+#define POSITION_INDICATOR_HL FALSE
-#define MENUBOX_FG COLOR_BLACK
-#define MENUBOX_BG COLOR_WHITE
+#define MENUBOX_FG COLOR_YELLOW
+#define MENUBOX_BG COLOR_BLACK
#define MENUBOX_HL FALSE
-#define MENUBOX_BORDER_FG COLOR_WHITE
-#define MENUBOX_BORDER_BG COLOR_WHITE
+#define MENUBOX_BORDER_FG COLOR_BLACK
+#define MENUBOX_BORDER_BG COLOR_BLACK
#define MENUBOX_BORDER_HL TRUE
-#define ITEM_FG COLOR_BLACK
-#define ITEM_BG COLOR_WHITE
+#define ITEM_FG COLOR_WHITE
+#define ITEM_BG COLOR_BLACK
#define ITEM_HL FALSE
#define ITEM_SELECTED_FG COLOR_WHITE
-#define ITEM_SELECTED_BG COLOR_BLUE
-#define ITEM_SELECTED_HL TRUE
+#define ITEM_SELECTED_BG COLOR_RED
+#define ITEM_SELECTED_HL FALSE
-#define TAG_FG COLOR_YELLOW
-#define TAG_BG COLOR_WHITE
-#define TAG_HL TRUE
+#define TAG_FG COLOR_RED
+#define TAG_BG COLOR_BLACK
+#define TAG_HL FALSE
#define TAG_SELECTED_FG COLOR_YELLOW
-#define TAG_SELECTED_BG COLOR_BLUE
+#define TAG_SELECTED_BG COLOR_RED
#define TAG_SELECTED_HL TRUE
-#define TAG_KEY_FG COLOR_YELLOW
-#define TAG_KEY_BG COLOR_WHITE
-#define TAG_KEY_HL TRUE
+#define TAG_KEY_FG COLOR_RED
+#define TAG_KEY_BG COLOR_BLACK
+#define TAG_KEY_HL FALSE
#define TAG_KEY_SELECTED_FG COLOR_YELLOW
-#define TAG_KEY_SELECTED_BG COLOR_BLUE
+#define TAG_KEY_SELECTED_BG COLOR_RED
#define TAG_KEY_SELECTED_HL TRUE
-#define CHECK_FG COLOR_BLACK
-#define CHECK_BG COLOR_WHITE
+#define CHECK_FG COLOR_YELLOW
+#define CHECK_BG COLOR_BLACK
#define CHECK_HL FALSE
-#define CHECK_SELECTED_FG COLOR_WHITE
-#define CHECK_SELECTED_BG COLOR_BLUE
+#define CHECK_SELECTED_FG COLOR_YELLOW
+#define CHECK_SELECTED_BG COLOR_RED
#define CHECK_SELECTED_HL TRUE
-#define UARROW_FG COLOR_GREEN
-#define UARROW_BG COLOR_WHITE
-#define UARROW_HL TRUE
-
-#define DARROW_FG COLOR_GREEN
-#define DARROW_BG COLOR_WHITE
-#define DARROW_HL TRUE
+#define UARROW_FG COLOR_RED
+#define UARROW_BG COLOR_BLACK
+#define UARROW_HL FALSE
+
+#define DARROW_FG COLOR_RED
+#define DARROW_BG COLOR_BLACK
+#define DARROW_HL FALSE
/* End of default color definitions */
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH][TRIVIAL] menuconfig alternate theme
2003-10-28 0:45 [PATCH][TRIVIAL] menuconfig alternate theme Han Boetes
@ 2003-10-29 21:03 ` Randy.Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy.Dunlap @ 2003-10-29 21:03 UTC (permalink / raw)
To: Han Boetes; +Cc: linux-kernel
On Tue, 28 Oct 2003 01:44:58 +0059 Han Boetes <han@mijncomputer.nl> wrote:
| Hi,
|
| To react on this thread somewhat:
|
| http://marc.theaimsgroup.com/?l=linux-kernel&m=104202311306008&w=2
|
| I made an alternative theme for menuconfig with a black background and
| white/yellow/red/grey text which I find more readable. Of course it's
| way to late to be included and I don't expect that at all. Just
| something I wanted to share with the one or two people that share my
| problem with reading the current settings.
Yes, the blue/cyan/gray colors can be a problem on some displays.
Jan-Benedict Glaw modified menuconfig to support monochrome mode,
so I have merged your patch and his, but instead of replacing the
default menuconfig colors, I added an alternate color theme and
monochrome support to the default color theme.
This patch is available at:
http://developer.osdl.org/rddunlap/menuconfig/menuconfig_alt_mono.patch
Usage is:
make menuconfig MENUCONFIG_COLOR=monochrome|mono|alternate|alt
--
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-10-29 21:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-28 0:45 [PATCH][TRIVIAL] menuconfig alternate theme Han Boetes
2003-10-29 21:03 ` Randy.Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome