From aa6757601d170fc7226c335664a4a93ac608a57c Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Fri, 4 Apr 2025 14:51:20 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84(frontend)=20force=20having=20mediu?= =?UTF-8?q?m=20font=20weight=20buttons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Improve the readability of the buttons by increasing their thickness. --- src/frontend/src/primitives/buttonRecipe.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/frontend/src/primitives/buttonRecipe.ts b/src/frontend/src/primitives/buttonRecipe.ts index 1c0a4125..e608959a 100644 --- a/src/frontend/src/primitives/buttonRecipe.ts +++ b/src/frontend/src/primitives/buttonRecipe.ts @@ -42,6 +42,7 @@ export const buttonRecipe = cva({ primary: { backgroundColor: 'primary.800', color: 'white', + fontWeight: 'medium !important', '&[data-hovered]': { backgroundColor: 'primary.action', }, @@ -56,6 +57,7 @@ export const buttonRecipe = cva({ secondary: { backgroundColor: 'white', color: 'primary.800', + fontWeight: 'medium !important', borderColor: 'primary.800', '&[data-hovered]': { backgroundColor: 'greyscale.100', @@ -113,6 +115,7 @@ export const buttonRecipe = cva({ }, tertiary: { backgroundColor: 'primary.100', + fontWeight: 'medium !important', color: 'primary.800', '&[data-hovered]': { backgroundColor: 'primary.300', @@ -123,6 +126,7 @@ export const buttonRecipe = cva({ }, tertiaryText: { backgroundColor: 'transparent', + fontWeight: 'medium !important', color: 'primary.900', '&[data-hovered]': { backgroundColor: 'primary.300', @@ -133,6 +137,7 @@ export const buttonRecipe = cva({ }, primaryDark: { backgroundColor: 'primaryDark.100', + fontWeight: 'medium !important', color: 'white', '&[data-pressed]': { backgroundColor: 'primaryDark.900', @@ -149,6 +154,7 @@ export const buttonRecipe = cva({ }, secondaryDark: { backgroundColor: 'primaryDark.50', + fontWeight: 'medium !important', color: 'white', '&[data-pressed]': { backgroundColor: 'primaryDark.200', @@ -164,6 +170,7 @@ export const buttonRecipe = cva({ }, primaryTextDark: { backgroundColor: 'transparent', + fontWeight: 'medium !important', color: 'white', '&[data-hovered]': { backgroundColor: 'primaryDark.100', @@ -179,6 +186,7 @@ export const buttonRecipe = cva({ }, quaternaryText: { backgroundColor: 'transparent', + fontWeight: 'medium !important', color: 'greyscale.600', '&[data-hovered]': { backgroundColor: 'greyscale.100',