summaryrefslogtreecommitdiff
path: root/crates/material_theme
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-04-22 14:35:39 +0200
committerpml68 <contact@pml68.dev>2025-04-22 14:35:39 +0200
commit674d1bb1f50707c3473a675820f7c2dc5cbb2e15 (patch)
treee96b40122f3e7b9caadbd1fa23f31063a8ccddf8 /crates/material_theme
parentrefactor: apply some clippy suggestions (diff)
downloadiced-builder-674d1bb1f50707c3473a675820f7c2dc5cbb2e15.tar.gz
fix(material_theme): disabled checkbox border being fully opaque
Diffstat (limited to 'crates/material_theme')
-rw-r--r--crates/material_theme/src/toggler.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/crates/material_theme/src/toggler.rs b/crates/material_theme/src/toggler.rs
index 1cc5082..8949d07 100644
--- a/crates/material_theme/src/toggler.rs
+++ b/crates/material_theme/src/toggler.rs
@@ -74,7 +74,10 @@ pub fn default(theme: &Theme, status: Status) -> Style {
a: DISABLED_TEXT_OPACITY,
..surface.on_surface
},
- Some(surface.on_surface),
+ Some(Color {
+ a: DISABLED_TEXT_OPACITY,
+ ..surface.on_surface
+ }),
),
}
}