From 674d1bb1f50707c3473a675820f7c2dc5cbb2e15 Mon Sep 17 00:00:00 2001 From: pml68 Date: Tue, 22 Apr 2025 14:35:39 +0200 Subject: fix(material_theme): disabled checkbox border being fully opaque --- crates/material_theme/src/toggler.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'crates/material_theme/src/toggler.rs') 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 + }), ), } } -- cgit v1.2.3