From 583f5b8e70cd8037f69df3d03d94ca1882754363 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Wed, 9 Oct 2024 17:34:03 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84(frontend)=20add=20style=20for=20di?= =?UTF-8?q?sabled=20icon=20button?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Necessary when the submit message button is disabled. Bad color management again … --- 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 bfc645d6..b3a53bb8 100644 --- a/src/frontend/src/primitives/buttonRecipe.ts +++ b/src/frontend/src/primitives/buttonRecipe.ts @@ -117,6 +117,9 @@ export const buttonRecipe = cva({ '&[data-pressed]': { borderColor: 'currentcolor', }, + '&[data-disabled]': { + color: 'gray.300', + }, }, }, fullWidth: {