Skip to content

Commit

Permalink
Fix button font weights (#777)
Browse files Browse the repository at this point in the history
* Fix button font weights

* Add changeset
  • Loading branch information
Droniu committed Mar 19, 2024
1 parent 9a358d7 commit 604c7a0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/lemon-tools-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@saleor/macaw-ui": patch
---

This change adds bold font weight to button component and lowers bold font weight from 700 to 600.
1 change: 1 addition & 0 deletions src/components/Button/Button.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const button = recipe({
placeItems: "center",
padding: 0,
textDecoration: "none",
fontWeight: "bold",
cursor: {
default: "pointer",
disabled: "not-allowed",
Expand Down
2 changes: 1 addition & 1 deletion src/theme/themes/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const fontWeight = {
light: "300",
regular: "400",
medium: "500",
bold: "700",
bold: "600",
};

export const letterSpacing = {
Expand Down

0 comments on commit 604c7a0

Please sign in to comment.