diff options
author | Dan Davison <dandavison7@gmail.com> | 2019-12-12 18:51:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-12 18:51:20 -0500 |
commit | 25f890c84c5858bf70c9efdb9bfc9ceb6d259b70 (patch) | |
tree | c244044779b172a17f8fb7cfb87cb7786cc1fef4 | |
parent | e7502c85f0ac08895de02c04ec813677bbbd8ca5 (diff) | |
parent | 73b915ed057eab5d8910952f111248d89ce5c9f9 (diff) |
Merge pull request #73 from dandavison/71-plus-emph-color
Tweak --plus-emph-color default for dark mode
-rw-r--r-- | src/main.rs | 2 | ||||
-rw-r--r-- | src/style.rs | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs index e2ffeea1..05e30bfe 100644 --- a/src/main.rs +++ b/src/main.rs @@ -97,7 +97,7 @@ fn color_to_hex(color: Color) -> String { font_style: FontStyle::empty(), }; paint::paint_text( - &format!("#{:x?}{:x?}{:x?}", color.r, color.g, color.b), + &format!("#{:02x?}{:02x?}{:02x?}", color.r, color.g, color.b), style, &mut string, ) diff --git a/src/style.rs b/src/style.rs index bbb05a2f..be38e02d 100644 --- a/src/style.rs +++ b/src/style.rs @@ -69,9 +69,9 @@ pub const DARK_THEME_PLUS_COLOR: Color = Color { }; pub const DARK_THEME_PLUS_EMPH_COLOR: Color = Color { - r: 0x0E, - g: 0x7C, - b: 0x0E, + r: 0x00, + g: 0x60, + b: 0x00, a: 0xff, }; |