change: Tweak default light colour scheme (#450)

Removes/tweaks some really light colours that might cause issues with a white background. For example, yellow on white didn't look so great, so I adjusted the memory/rx colours for this mode.
This commit is contained in:
Clement Tsang 2021-04-09 15:57:54 -04:00 committed by GitHub
parent edb29a43b9
commit 8c7e85b923
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 0 deletions

View file

@ -49,6 +49,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [#449](https://github.com/ClementTsang/bottom/pull/449): Add decimal place to actual memory usage in process widget for values greater or equal to 1GiB.
- [#450](https://github.com/ClementTsang/bottom/pull/450): Tweak `default-light` colour scheme to look less terrible on white terminals.
## Bug Fixes
- [#416](https://github.com/ClementTsang/bottom/pull/416): Fixes grouped vs ungrouped modes in the processes widget having inconsistent spacing.

View file

@ -43,6 +43,21 @@ pub static DEFAULT_LIGHT_MODE_COLOUR_PALETTE: Lazy<ConfigColours> = Lazy::new(||
selected_text_color: Some("white".to_string()),
graph_color: Some("black".to_string()),
disabled_text_color: Some("gray".to_string()),
ram_color: Some("blue".to_string()),
swap_color: Some("red".to_string()),
rx_color: Some("blue".to_string()),
tx_color: Some("red".to_string()),
rx_total_color: Some("LightBlue".to_string()),
tx_total_color: Some("LightRed".to_string()),
cpu_core_colors: Some(vec![
"LightMagenta".to_string(),
"LightBlue".to_string(),
"LightRed".to_string(),
"Cyan".to_string(),
"Green".to_string(),
"Blue".to_string(),
"Red".to_string(),
]),
..ConfigColours::default()
});