Updated library colors to match the web UI
This commit is contained in:
+26
-1
@@ -23,6 +23,16 @@ mod test {
|
||||
assert_eq!(Style::new().default(), Style::new().white());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_style_downloaded() {
|
||||
assert_eq!(Style::new().downloaded(), Style::new().green());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_style_downloading() {
|
||||
assert_eq!(Style::new().downloading(), Style::new().magenta());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_style_failure() {
|
||||
assert_eq!(Style::new().failure(), Style::new().red());
|
||||
@@ -41,6 +51,11 @@ mod test {
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_style_missing() {
|
||||
assert_eq!(Style::new().missing(), Style::new().red());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_style_primary() {
|
||||
assert_eq!(Style::new().primary(), Style::new().cyan());
|
||||
@@ -63,7 +78,17 @@ mod test {
|
||||
|
||||
#[test]
|
||||
fn test_style_unmonitored() {
|
||||
assert_eq!(Style::new().unmonitored(), Style::new().white());
|
||||
assert_eq!(Style::new().unmonitored(), Style::new().gray());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_style_unmonitored_missing() {
|
||||
assert_eq!(Style::new().unmonitored_missing(), Style::new().yellow());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_style_unreleased() {
|
||||
assert_eq!(Style::new().unreleased(), Style::new().light_cyan());
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user