refactor: remove extra opacity where it was added
This commit is contained in:
parent
732785a50c
commit
2d7f66d528
4 changed files with 31 additions and 10 deletions
|
|
@ -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()),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue