diff options
Diffstat (limited to 'widget/src/button.rs')
-rw-r--r-- | widget/src/button.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widget/src/button.rs b/widget/src/button.rs index 1b51065d..d4500888 100644 --- a/widget/src/button.rs +++ b/widget/src/button.rs @@ -591,12 +591,12 @@ impl Catalog for Theme { /// A primary button; denoting a main action. pub fn primary(theme: &Theme, status: Status) -> Style { let palette = theme.extended_palette(); - let base = styled(palette.primary.strong); + let base = styled(palette.primary.base); match status { Status::Active | Status::Pressed => base, Status::Hovered => Style { - background: Some(Background::Color(palette.primary.base.color)), + background: Some(Background::Color(palette.primary.strong.color)), ..base }, Status::Disabled => disabled(base), |