lxde / lxterminal

VTE terminal emulator written in GTK
GNU General Public License v2.0
159 stars 55 forks source link

Add a new default colour palette #123

Closed HybridDog closed 1 week ago

HybridDog commented 5 months ago

Problem description

With the current default, VGA, the colours differ significantly in lightness. Blue is especially dark and can therefore be difficult to read on a black background.

Proposed changes

The new default colours have a more uniform lightness, and hand-picked hue and chroma values to make them distinguishable from each other. The foreground colour is white and not grey to increase the contrast of most of the text shown in the terminal.

Current and proposed default palette in action

echo; for i in {30..47} {89..107}; do echo $'\u001b'"[${i}m Colour $i "$'\u001b'"[m"; done | column; echo current colours proposed colours

Lightness and hue values of the current and proposed default palette

current proposed

Additional notes

Which palette looks good depends on personal preference, the display, viewing environment, windows shown next to the terminal, and more.

Please test if my change works correctly; I tried to test it myself but strange things happened with and without the commit, perhaps because I have a system-wide LXTerminal, too.

ib commented 1 week ago

I don't want to make it the new default. If you agree with my changes, I will apply.

HybridDog commented 1 week ago

Yes, I'm fine with your changes. I've edited the commit message since the default palette is no longer changed.

ib commented 1 week ago

Thank you very much for your contribution.