wip: blurred transparency

This commit is contained in:
Ashley Wulber 2026-04-13 11:04:55 -04:00 • committed by Ashley Wulber
parent 9395a23a0b
commit 439109db04
4 changed files with 176 additions and 12 deletions

View file

@ -564,6 +564,9 @@ impl iced_container::Catalog for Theme {
Container::ContextDrawer => {
let mut a = Container::primary(cosmic);
if let Some(Background::Color(ref mut color)) = a.background {
color.a = 1.;
}
if cosmic.is_high_contrast {
a.border.width = 1.;