Skip to content

Commit fefc727

Browse files
committed
Forgot to include styles.rs in the update to iced 0.14
1 parent f4e1f27 commit fefc727

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/styles.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@ pub fn menu_style(theme: &iced::Theme) -> menu::Style {
363363
selected_background: iced::Background::Color(palette.success.base.color),
364364
selected_text_color: iced::Color::WHITE,
365365
text_color: rgb!(45., 45., 45.),
366+
shadow: iced::Shadow::default(),
366367
}
367368
}
368369

@@ -386,7 +387,8 @@ impl Into<Palette> for OCPPalette {
386387
text: self.simple_text,
387388
primary: self.light_square,
388389
success: self.dark_square,
389-
danger: self.tab_label
390+
danger: self.tab_label,
391+
warning: self.tab_label,
390392
}
391393
}
392394
}

0 commit comments

Comments
 (0)