* [PATCH] use light-gray as default color in normal.mod for consistency
@ 2013-11-29 8:10 Andrey Borzenkov
2013-12-07 15:46 ` Vladimir 'φ-coder/phcoder' Serbinenko
0 siblings, 1 reply; 2+ messages in thread
From: Andrey Borzenkov @ 2013-11-29 8:10 UTC (permalink / raw)
To: grub-devel
As we are in clean up stage ... annoyed me for quite some time.
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.
---
grub-core/normal/main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/grub-core/normal/main.c b/grub-core/normal/main.c
index ad36273..644e916 100644
--- a/grub-core/normal/main.c
+++ b/grub-core/normal/main.c
@@ -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++)
{
--
tg: (69ca97c..) u/default-color (depends on: master)
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] use light-gray as default color in normal.mod for consistency
2013-11-29 8:10 [PATCH] use light-gray as default color in normal.mod for consistency Andrey Borzenkov
@ 2013-12-07 15:46 ` Vladimir 'φ-coder/phcoder' Serbinenko
0 siblings, 0 replies; 2+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2013-12-07 15:46 UTC (permalink / raw)
To: grub-devel
[-- Attachment #1: Type: text/plain, Size: 1257 bytes --]
Go ahead
On 29.11.2013 09:10, Andrey Borzenkov wrote:
> As we are in clean up stage ... annoyed me for quite some time.
>
> 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.
>
> ---
> grub-core/normal/main.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/grub-core/normal/main.c b/grub-core/normal/main.c
> index ad36273..644e916 100644
> --- a/grub-core/normal/main.c
> +++ b/grub-core/normal/main.c
> @@ -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++)
> {
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 291 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-12-07 15:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-29 8:10 [PATCH] use light-gray as default color in normal.mod for consistency Andrey Borzenkov
2013-12-07 15:46 ` Vladimir 'φ-coder/phcoder' Serbinenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).