mirror of
https://github.com/sharkdp/bat.git
synced 2025-01-12 08:38:18 +01:00
f59d00d4c7
This changes the base16 theme back from #RRGGBB0f to #RRGGBB00, reverting part of #934. That PR used the 0f encoding to produce ANSI escape sequences 30-37 and 40-47 rather than 38;5 and 48;5 which require 256-color support. Unfortunately, it resulted in base16 using the wrong colors becuase ansi_term does not support the bright variants (90-97 and 100-107) so it simply mapped them to the non-bright colors. This PR makes combines the 00 and 0f alpha encodings into 00, and makes them use the Color enum for the first 8 colors and Fixed otherwise. This means the ansi-light and ansi-dark themes will work on terminals without 256-color support, and base16 will render bright colors correctly. |
||
---|---|---|
.. | ||
1337-Scheme@ca6a329cfd | ||
DarkNeon@174bd535da | ||
dracula-sublime@811a634420 | ||
github-sublime-theme@508740b243 | ||
Nord-sublime@0d655b23d6 | ||
onehalf@fdcbffe317 | ||
Solarized@87e01090cf | ||
sublime-monokai-extended@0ca4e75291 | ||
sublime-snazzy@70343201f1 | ||
TwoDark@8e0f6fa5b5 | ||
zenburn@cb746f6962 | ||
ansi-dark.tmTheme | ||
ansi-light.tmTheme | ||
base16.tmTheme |