Improve default styling of Slider widget

This commit is contained in:
Héctor Ramón Jiménez 2024-03-05 22:31:01 +01:00
parent 5824ceb1fe
commit 420f49bef5
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 16 additions and 20 deletions

View file

@ -185,7 +185,10 @@ impl Style for Theme {
pub fn primary(theme: &Theme) -> Appearance {
let palette = theme.extended_palette();
styled(palette.background.strong.color, palette.primary.base.color)
styled(
palette.background.strong.color,
palette.primary.strong.color,
)
}
/// The secondary style of a [`ProgressBar`].