From 318447f2b34cc8f89e05d4f1e4304a516cf57165 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Mon, 18 May 2026 17:58:48 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9(frontend)=20add=20missing=20disabl?= =?UTF-8?q?ed=20styling=20for=20primaryDarkText=20button?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Implement the missing disabled state styling for the primaryDarkText button variant to ensure consistent UI feedback when the button is not interactive. --- src/frontend/src/primitives/buttonRecipe.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/frontend/src/primitives/buttonRecipe.ts b/src/frontend/src/primitives/buttonRecipe.ts index 4de58749..4b601ab8 100644 --- a/src/frontend/src/primitives/buttonRecipe.ts +++ b/src/frontend/src/primitives/buttonRecipe.ts @@ -211,6 +211,9 @@ export const buttonRecipe = cva({ outlineColor: 'focusRing', outlineOffset: '2px', }, + '&[data-disabled]': { + opacity: 0.2, + }, }, quaternaryText: { backgroundColor: 'transparent',