summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2020-01-10 10:32:21 +0100
committerCanop <cano.petrole@gmail.com>2020-01-10 10:32:21 +0100
commit907f10aa19a2c2730fc109b08e575b33e0f28450 (patch)
tree78590dd904b771091430b67734c8ef62ff82baba
parent8d51d84bc6d4a33be1c02d8bbc3fc28b33481b9a (diff)
improve readability of skin used during installation process
mainly for white backgrounds
-rw-r--r--CHANGELOG.md4
-rw-r--r--Cargo.lock2
-rw-r--r--Cargo.toml2
-rw-r--r--src/mad_skin.rs4
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
diff --git a/Cargo.lock b/Cargo.lock
index 505d4c6..bff53af 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -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)",
diff --git a/Cargo.toml b/Cargo.toml
index 6f15b87..f0188e5 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -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);