Improve default styling of Slider widget
This commit is contained in:
parent
5824ceb1fe
commit
420f49bef5
2 changed files with 16 additions and 20 deletions
|
|
@ -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`].
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue