Gentoo Archives: gentoo-portage-dev

From: Fabian Groffen <grobian@g.o>
To: gentoo-portage-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: Re: [gentoo-portage-dev] [PATCH] portage.output: Replace darkblue colors with teal
Date: Sat, 04 Dec 2021 08:56:16
Message-Id: YastKWA6fyCbTbWe@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH] portage.output: Replace darkblue colors with teal by "Michał Górny"
1 Why don't you change your color.map instead of changing the default for
2 everyone?
3
4 Thanks,
5 Fabian
6
7 On 04-12-2021 05:48:49 +0100, Michał Górny wrote:
8 > The "darkblue" color is often barely visible on dark terminals which
9 > makes reading emerge output really hard (I basically have to copy-paste
10 > it a lot in order to be able to read it at all). Replace it with teal
11 > that does not seem to have any significant use in the output.
12 >
13 > Signed-off-by: Michał Górny <mgorny@g.o>
14 > ---
15 > lib/portage/output.py | 6 +++---
16 > man/color.map.5 | 6 +++---
17 > 2 files changed, 6 insertions(+), 6 deletions(-)
18 >
19 >
20 > The before-after screenshot can be found on the PR:
21 > https://github.com/gentoo/portage/pull/776
22 >
23 >
24 > diff --git a/lib/portage/output.py b/lib/portage/output.py
25 > index 42f487f8a..77375b012 100644
26 > --- a/lib/portage/output.py
27 > +++ b/lib/portage/output.py
28 > @@ -157,7 +157,7 @@ _styles["UNMERGE_WARN"] = ("red",)
29 > _styles["SECURITY_WARN"] = ("red",)
30 > _styles["MERGE_LIST_PROGRESS"] = ("yellow",)
31 > _styles["PKG_BLOCKER"] = ("red",)
32 > -_styles["PKG_BLOCKER_SATISFIED"] = ("darkblue",)
33 > +_styles["PKG_BLOCKER_SATISFIED"] = ("teal",)
34 > _styles["PKG_MERGE"] = ("darkgreen",)
35 > _styles["PKG_MERGE_SYSTEM"] = ("darkgreen",)
36 > _styles["PKG_MERGE_WORLD"] = ("green",)
37 > @@ -165,8 +165,8 @@ _styles["PKG_BINARY_MERGE"] = ("purple",)
38 > _styles["PKG_BINARY_MERGE_SYSTEM"] = ("purple",)
39 > _styles["PKG_BINARY_MERGE_WORLD"] = ("fuchsia",)
40 > _styles["PKG_UNINSTALL"] = ("red",)
41 > -_styles["PKG_NOMERGE"] = ("darkblue",)
42 > -_styles["PKG_NOMERGE_SYSTEM"] = ("darkblue",)
43 > +_styles["PKG_NOMERGE"] = ("teal",)
44 > +_styles["PKG_NOMERGE_SYSTEM"] = ("teal",)
45 > _styles["PKG_NOMERGE_WORLD"] = ("blue",)
46 > _styles["PROMPT_CHOICE_DEFAULT"] = ("green",)
47 > _styles["PROMPT_CHOICE_OTHER"] = ("red",)
48 > diff --git a/man/color.map.5 b/man/color.map.5
49 > index 288bf7fbd..92a1baa91 100644
50 > --- a/man/color.map.5
51 > +++ b/man/color.map.5
52 > @@ -40,7 +40,7 @@ Defines color used for numbers indicating merge progress.
53 > \fBPKG_BLOCKER\fR = \fI"red"\fR
54 > Defines color used for unsatisfied blockers.
55 > .TP
56 > -\fBPKG_BLOCKER_SATISFIED\fR = \fI"darkblue"\fR
57 > +\fBPKG_BLOCKER_SATISFIED\fR = \fI"teal"\fR
58 > Defines color used for satisfied blockers.
59 > .TP
60 > \fBPKG_MERGE\fR = \fI"darkgreen"\fR
61 > @@ -63,10 +63,10 @@ package.
62 > Defines color used for world packages planned to be merged using a binary
63 > package.
64 > .TP
65 > -\fBPKG_NOMERGE\fR = \fI"darkblue"\fR
66 > +\fBPKG_NOMERGE\fR = \fI"teal"\fR
67 > Defines color used for packages not planned to be merged.
68 > .TP
69 > -\fBPKG_NOMERGE_SYSTEM\fR = \fI"darkblue"\fR
70 > +\fBPKG_NOMERGE_SYSTEM\fR = \fI"teal"\fR
71 > Defines color used for system packages not planned to be merged.
72 > .TP
73 > \fBPKG_NOMERGE_WORLD\fR = \fI"blue"\fR
74 > --
75 > 2.34.1
76 >
77 >
78
79 --
80 Fabian Groffen
81 Gentoo on a different level

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies