Skip to content

Commit

Permalink
Fix button color darkening (#7047)
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanjeffers authored Jan 2, 2024
1 parent 1380e77 commit 9815067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mobile/src/components/core/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ export const Button = (props: ButtonProps) => {
// darken the color by 10% for the press state
if (customColor) {
const c = new Color(customColor)
return c.light(0.1).hex()
return c.darken(0.1).hex()
}

// If no custom color is specified
Expand Down

0 comments on commit 9815067

Please sign in to comment.