From fb0c9b766d42e0e13ac1ae9f80f28cb1e02ad006 Mon Sep 17 00:00:00 2001 From: Nathan Vasse Date: Mon, 10 Feb 2025 16:34:03 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8(front)=20add=20quaternary=20variant?= =?UTF-8?q?=20to=20Button?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This variant is needed to implement the sdk create room button. --- src/frontend/src/primitives/buttonRecipe.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/frontend/src/primitives/buttonRecipe.ts b/src/frontend/src/primitives/buttonRecipe.ts index 30c83709..1c0a4125 100644 --- a/src/frontend/src/primitives/buttonRecipe.ts +++ b/src/frontend/src/primitives/buttonRecipe.ts @@ -177,6 +177,18 @@ export const buttonRecipe = cva({ color: 'primaryDark.100', }, }, + quaternaryText: { + backgroundColor: 'transparent', + color: 'greyscale.600', + '&[data-hovered]': { + backgroundColor: 'greyscale.100', + color: 'greyscale.700', + }, + '&[data-pressed]': { + backgroundColor: 'greyscale.100', + color: 'greyscale.700', + }, + }, greyscale: { backgroundColor: 'transparent', color: 'greyscale.400',