diff options
author | boastful-squirrel <boastful.squirrel@gmail.com> | 2019-04-27 10:12:42 +0000 |
---|---|---|
committer | boastful-squirrel <boastful.squirrel@gmail.com> | 2019-04-27 10:12:42 +0000 |
commit | fd3392636ce013cf8193a0881fa08680a8239698 (patch) | |
tree | 463ef6ebfbf7f338bd689a2e24b107294c7cee5d /src/themes.rs | |
parent | Made ColorScheme, SortingMethod and SortingOrder enums derive Copy (diff) | |
download | miniserve-fd3392636ce013cf8193a0881fa08680a8239698.tar.gz miniserve-fd3392636ce013cf8193a0881fa08680a8239698.zip |
Themed errors
Diffstat (limited to '')
-rw-r--r-- | src/themes.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/themes.rs b/src/themes.rs index 49a1ad3..65e9ab2 100644 --- a/src/themes.rs +++ b/src/themes.rs @@ -81,6 +81,7 @@ impl ColorScheme { drag_text_color: "#fefefe".to_string(), size_background_color: "#5294e2".to_string(), size_text_color: "#fefefe".to_string(), + error_color: "#e44b4b".to_string(), }, ColorScheme::Zenburn => Theme { background: "#3f3f3f".to_string(), @@ -123,6 +124,7 @@ impl ColorScheme { drag_text_color: "#efefef".to_string(), size_background_color: "#7f9f7f".to_string(), size_text_color: "#efefef".to_string(), + error_color: "#d06565".to_string(), }, ColorScheme::Monokai => Theme { background: "#272822".to_string(), @@ -165,6 +167,7 @@ impl ColorScheme { drag_text_color: "#F8F8F2".to_string(), size_background_color: "#75715E".to_string(), size_text_color: "#F8F8F2".to_string(), + error_color: "#d02929".to_string(), }, ColorScheme::Squirrel => Theme { background: "#FFFFFF".to_string(), @@ -207,6 +210,7 @@ impl ColorScheme { drag_text_color: "#ffffff".to_string(), size_background_color: "#323232".to_string(), size_text_color: "#FFFFFF".to_string(), + error_color: "#d02424".to_string(), }, } } @@ -254,4 +258,5 @@ pub struct Theme { pub drag_text_color: String, pub size_background_color: String, pub size_text_color: String, + pub error_color: String, } |