Skip to content

Commit 9371688

Browse files
authored
Made the light theme code consistent with the dark one (#13)
Made the light theme code consistent with the dark one
2 parents f31b45d + deff820 commit 9371688

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ui/mod.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,10 @@ impl Application for MainApp {
257257
match self.settings.get_theme() {
258258
ThemeType::Light => {
259259
let palette = Theme::Light.palette();
260+
let bg = palette.background;
260261
Theme::custom(iced::theme::Palette {
261262
primary,
262-
background: Color::from_rgba8(200, 200, 200, 0.025),
263+
background: Color::from_rgba(bg.r, bg.g, bg.b, 0.025),
263264
..palette
264265
})
265266
}

0 commit comments

Comments
 (0)