Skip to content

Commit

Permalink
Made the light theme code consistent with the dark one (#13)
Browse files Browse the repository at this point in the history
Made the light theme code consistent with the dark one
  • Loading branch information
SergioRibera authored Jun 1, 2024
2 parents f31b45d + deff820 commit 9371688
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ui/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,10 @@ impl Application for MainApp {
match self.settings.get_theme() {
ThemeType::Light => {
let palette = Theme::Light.palette();
let bg = palette.background;
Theme::custom(iced::theme::Palette {
primary,
background: Color::from_rgba8(200, 200, 200, 0.025),
background: Color::from_rgba(bg.r, bg.g, bg.b, 0.025),
..palette
})
}
Expand Down

0 comments on commit 9371688

Please sign in to comment.