Skip to content

Commit

Permalink
chore: fix up rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
philtweir committed Aug 3, 2024
1 parent 1726d21 commit aab7efd
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions crates/atuin-client/src/theme.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,10 @@ lazy_static! {
"default".to_string(),
None,
HashMap::from([
(Meaning::AlertError, StyleFactory::from_fg_color(Color::DarkRed)),
(
Meaning::AlertError,
StyleFactory::from_fg_color(Color::DarkRed),
),
(
Meaning::AlertWarn,
StyleFactory::from_fg_color(Color::DarkYellow),
Expand All @@ -271,7 +274,10 @@ lazy_static! {
Meaning::Annotation,
StyleFactory::from_fg_color(Color::DarkGrey),
),
(Meaning::Guidance, StyleFactory::from_fg_color(Color::DarkBlue)),
(
Meaning::Guidance,
StyleFactory::from_fg_color(Color::DarkBlue),
),
(
Meaning::Important,
StyleFactory::from_fg_color(Color::White),
Expand Down Expand Up @@ -582,7 +588,10 @@ mod theme_tests {
let mut manager = ThemeManager::new(Some(true), Some("".to_string()));
let theme = manager.load_theme("default", None);
assert_eq!(theme.get_error().foreground_color.unwrap(), Color::DarkRed);
assert_eq!(theme.get_warning().foreground_color.unwrap(), Color::DarkYellow);
assert_eq!(
theme.get_warning().foreground_color.unwrap(),
Color::DarkYellow
);
assert_eq!(theme.get_info().foreground_color.unwrap(), Color::DarkGreen);
assert_eq!(theme.get_base().foreground_color, None);
assert_eq!(
Expand Down

0 comments on commit aab7efd

Please sign in to comment.