victor-gp / cmd-help-sublime-syntax

Sublime Syntax definition for sharkdp/bat to colorize command --help messages.
MIT License
21 stars 5 forks source link

Scope names: overhaul support for `bat` themes #17

Closed victor-gp closed 1 year ago

victor-gp commented 1 year ago

The main motivations for this overhaul were:

What follows is a side-by-side diff of the color changes for every theme. Left is before, right is after. Dark themes go first, light themes last.

The images include italics. But for each theme that shows italics there's also a (default) version without italics, just run bat without --italic-text.

Emoji key:

Monokai Extended :arrow_upper_right:

image

ansi :arrow_up:

image

1337 :arrow_right:

image

Coldark-Dark :arrow_right:

image

DarkNeon :arrow_right: :no_entry_sign:

options not colorized.

image

Dracula :arrow_right:

image

Monokai Extended Bright :arrow_upper_right:

headings = pathnames, but at least now headings != arguments. pathnames are infrequent.

image

Monokai Extended Origin :arrow_upper_right:

image

Nord :arrow_right: :no_entry_sign:

subcommands & pathnames not colorized.

image

OneHalfDark :arrow_up:

image

Solarized (dark) :arrow_right:

image

Sublime Snazzy :arrow_right:

image

TwoDark :arrow_up:

image

Visual Studio Dark+ :arrow_upper_right:

better hue distribution across classes.

image

base16 :arrow_upper_right:

pathnames not colorized.

image

base16-256 :arrow_upper_right: :no_entry_sign:

subcommands colorized in black.

image

gruvbox-dark :arrow_upper_right: :no_entry_sign:

headings = options, pathnames not colorized.

image

zenburn :arrow_right:

image

Coldark-Cold :arrow_right:

image

GitHub :arrow_up:

image

Monokai Extended Light :arrow_right:

headings != arguments anymore. but previous color for headings had less brightness -> better contrast.

image

OneHalfLight :arrow_up:

image

Solarized (light) :arrow_right:

image

ansi (with light terminal theme) :arrow_up:

image

base16 (with light terminal theme) :arrow_upper_right: :no_entry_sign:

normal text barely visible, probably a grey variation (colors 0x7 or 0x8).

image

base16-256 (with light terminal theme) :arrow_upper_right: :no_entry_sign:

normal text barely visible.

image

gruvbox-light :arrow_upper_right: :no_entry_sign:

headings = options, pathnames not colorized.

image

victor-gp commented 1 year ago

Closing note: I don't want to do an overhaul of scopes ever again. This one was life-draining.