From 604c7a0535f694ba85e603c34db20cb7c459d237 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Dro=C5=84?= Date: Tue, 19 Mar 2024 11:32:36 +0100 Subject: [PATCH] Fix button font weights (#777) * Fix button font weights * Add changeset --- .changeset/lemon-tools-tan.md | 5 +++++ src/components/Button/Button.css.ts | 1 + src/theme/themes/common.ts | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changeset/lemon-tools-tan.md diff --git a/.changeset/lemon-tools-tan.md b/.changeset/lemon-tools-tan.md new file mode 100644 index 00000000..0a8365f6 --- /dev/null +++ b/.changeset/lemon-tools-tan.md @@ -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. diff --git a/src/components/Button/Button.css.ts b/src/components/Button/Button.css.ts index ec3ae20a..3ef59969 100644 --- a/src/components/Button/Button.css.ts +++ b/src/components/Button/Button.css.ts @@ -9,6 +9,7 @@ export const button = recipe({ placeItems: "center", padding: 0, textDecoration: "none", + fontWeight: "bold", cursor: { default: "pointer", disabled: "not-allowed", diff --git a/src/theme/themes/common.ts b/src/theme/themes/common.ts index 0c972434..89c235f0 100644 --- a/src/theme/themes/common.ts +++ b/src/theme/themes/common.ts @@ -74,7 +74,7 @@ export const fontWeight = { light: "300", regular: "400", medium: "500", - bold: "700", + bold: "600", }; export const letterSpacing = {