refactor: remove extra opacity where it was added

This commit is contained in:
Ashley Wulber 2026-04-21 11:14:23 -04:00 committed by Ashley Wulber
parent 732785a50c
commit 2d7f66d528
4 changed files with 31 additions and 10 deletions

View file

@ -373,7 +373,6 @@ impl Context {
let cosmic = theme.cosmic();
let corners = cosmic.corner_radii;
let mut bg = cosmic.background(theme.transparent).base;
bg.alpha = (bg.alpha + if cosmic.is_dark { 0.6 } else { 0.5 }).min(1.);
iced_widget::container::Style {
text_color: Some(cosmic.background(theme.transparent).on.into()),
background: Some(Color::from(bg).into()),