diff options
author | Canop <cano.petrole@gmail.com> | 2020-01-10 10:32:21 +0100 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2020-01-10 10:32:21 +0100 |
commit | 907f10aa19a2c2730fc109b08e575b33e0f28450 (patch) | |
tree | 78590dd904b771091430b67734c8ef62ff82baba | |
parent | 8d51d84bc6d4a33be1c02d8bbc3fc28b33481b9a (diff) |
improve readability of skin used during installation process
mainly for white backgrounds
-rw-r--r-- | CHANGELOG.md | 4 | ||||
-rw-r--r-- | Cargo.lock | 2 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | src/mad_skin.rs | 4 |
4 files changed, 8 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index d41ee61..5761ba6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ -### master +<a name="v0.11.5"></a> +### v0.11.5 - 2020-01-10 - keep same path selected when lines are reordered (such as when directory sizes are computed +- changed the skin used before installation so that it works better on white backgrounds <a name="v0.11.4"></a> ### v0.11.4 - 2020-01-09 @@ -93,7 +93,7 @@ dependencies = [ [[package]] name = "broot" -version = "0.11.4" +version = "0.11.5" dependencies = [ "chrono 0.4.9 (registry+https://github.com/rust-lang/crates.io-index)", "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1,6 +1,6 @@ [package] name = "broot" -version = "0.11.4" +version = "0.11.5" authors = ["dystroy <denys.seguret@gmail.com>"] repository = "https://github.com/Canop/broot" documentation = "https://dystroy.org/broot" diff --git a/src/mad_skin.rs b/src/mad_skin.rs index 240e140..52dc8e0 100644 --- a/src/mad_skin.rs +++ b/src/mad_skin.rs @@ -94,7 +94,9 @@ pub fn make_help_mad_skin(skin: &Skin) -> MadSkin { pub fn make_cli_mad_skin() -> MadSkin { let mut skin = MadSkin::default(); skin.set_headers_fg(Color::AnsiValue(178)); - skin.bold.set_fg(Color::Yellow); + skin.bold.set_fg(gray(12)); + skin.inline_code.set_bg(gray(2)); + skin.inline_code.set_fg(gray(18)); skin.code_block.set_bg(gray(2)); skin.code_block.set_fg(gray(18)); skin.italic.set_fg(Color::Magenta); |