From 33a94da636b4c003670a0766bc878806250a5d6f Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Fri, 4 Apr 2025 14:54:09 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9(frontend)=20add=20a=20disabled=20s?= =?UTF-8?q?tyle=20on=20tertiary=20button?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Was lacking, necessary in my next jobs working on transcript side pannel v2. --- src/frontend/src/primitives/buttonRecipe.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/frontend/src/primitives/buttonRecipe.ts b/src/frontend/src/primitives/buttonRecipe.ts index e608959a..ad8bded3 100644 --- a/src/frontend/src/primitives/buttonRecipe.ts +++ b/src/frontend/src/primitives/buttonRecipe.ts @@ -123,6 +123,10 @@ export const buttonRecipe = cva({ '&[data-pressed]': { backgroundColor: 'primary.300', }, + '&[data-disabled]': { + backgroundColor: 'transparent', + color: 'primary.400', + }, }, tertiaryText: { backgroundColor: 'transparent',