use light-gray as default color in normal.mod for consistency

Defalut font color on PC console seems to be light-gray; this is
what user also gets in rescue prompt and what is defined as
GRUB_TERM_DEFAULT_NORMAL_COLOR. But normal.mod defaults to white.
This makes unpleasant visual effect as colors are changed after kernel
is booted.

Use the same color eveywhere for consistency and default to light-gray
as this is also what at least Linux kernel is using by default.
This commit is contained in:
Andrey Borzenkov 2013-12-07 20:00:48 +04:00
parent f23bc65103
commit bb05e313eb
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2013-12-07 Andrey Borzenkov <arvidjaar@gmail.com>
* grub-core/normal/main.c (INIT): Set default color to light-gray
to match GRUB_TERM_DEFAULT_NORMAL_COLOR (i.e. rescue mode), Linux
and apparently BIOS defaults.
2013-12-07 Vladimir Serbinenko <phcoder@gmail.com>
Transform -C option to grub-mkstandalone to --core-compress available

View File

@ -572,8 +572,8 @@ GRUB_MOD_INIT(normal)
grub_env_export ("color_highlight");
/* Set default color names. */
grub_env_set ("color_normal", "white/black");
grub_env_set ("color_highlight", "black/white");
grub_env_set ("color_normal", "light-gray/black");
grub_env_set ("color_highlight", "black/light-gray");
for (i = 0; i < ARRAY_SIZE (features); i++)
{