summaryrefslogtreecommitdiff
path: root/crates/material_theme/src/toggler.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/material_theme/src/toggler.rs')
-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
+ }),
),
}
}