diff options
author | Mitchell Kember <mk12360@gmail.com> | 2020-11-29 17:16:54 -0500 |
---|---|---|
committer | David Peter <sharkdp@users.noreply.github.com> | 2020-12-21 17:05:10 +0100 |
commit | 3099f51ba7a19596f084699eeb1b69305a88b9e4 (patch) | |
tree | 4c74954c375235470226797ae785584acd2a47bc /CHANGELOG.md | |
parent | 19e7763f3577645bfe34d09e1c832d2bc713d5a9 (diff) |
Add ansi theme to replace ansi-light and ansi-dark
This combines ansi-light and ansi-dark into a single theme that works
with both light and dark backgrounds. Instead of specifying white/black,
the ansi theme uses the terminal's default foreground/background color
by setting alpha=01, i.e. #00000001. This is in addition to the alpha=00
encoding where red contains an ANSI color palette number.
Now, `--theme ansi-light` and `--theme ansi-dark` will print a
deprecation notice and use ansi instead (unless the user has a custom
theme named ansi-light or ansi-dark, which would take precedence).
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index ab7e262c..07b8ce95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,8 @@ ## New themes +- `ansi` replaces `ansi-dark` and `ansi-light`, see #1104 and #1412 (@mk12) + ## `bat` as a library ## Packaging |