diff options
| author | pml68 <contact@pml68.dev> | 2025-04-19 11:13:12 +0200 |
|---|---|---|
| committer | pml68 <contact@pml68.dev> | 2025-04-19 11:13:12 +0200 |
| commit | 68d3fc231968f8bf955082655b3d49faa3f3f547 (patch) | |
| tree | 6bc9ddb5dc595197405166207e10f4be0fd4a89e | |
| parent | feat(material_theme): implement `slider::Catalog` (diff) | |
| download | iced-builder-68d3fc231968f8bf955082655b3d49faa3f3f547.tar.gz | |
feat: tweak default slider size
Diffstat (limited to '')
| -rw-r--r-- | crates/material_theme/src/slider.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/material_theme/src/slider.rs b/crates/material_theme/src/slider.rs index cc3bf98..8665459 100644 --- a/crates/material_theme/src/slider.rs +++ b/crates/material_theme/src/slider.rs @@ -47,17 +47,17 @@ pub fn default(theme: &Theme, status: Status) -> Style { match status { Status::Active => { - styled(primary.color, secondary.secondary_container, 16.0) + styled(primary.color, secondary.secondary_container, 12.0) } Status::Hovered => styled( mix(primary.color, surface.on_surface, HOVERED_LAYER_OPACITY), secondary.secondary_container, - 16.0, + 12.0, ), Status::Dragged => styled( mix(primary.color, surface.on_surface, PRESSED_LAYER_OPACITY), secondary.secondary_container, - 15.0, + 11.0, ), } } |
