From 6bb2a6ac2c29ed15da57477ea40c0c02de655913 Mon Sep 17 00:00:00 2001 From: Leonardo Giacone Date: Thu, 23 Jan 2025 13:59:58 +0100 Subject: [PATCH] fix: tag --- packages/admin-ui/src/Tag/Tag.tsx | 32 +++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/packages/admin-ui/src/Tag/Tag.tsx b/packages/admin-ui/src/Tag/Tag.tsx index 0a4a4769b4..add2de7d82 100644 --- a/packages/admin-ui/src/Tag/Tag.tsx +++ b/packages/admin-ui/src/Tag/Tag.tsx @@ -25,43 +25,43 @@ const tagVariants = cva( "neutral-base": [ "wby-border-sm wby-border-solid wby-px-[calc(theme(padding.xs-plus)-theme(borderWidth.sm))] wby-py-[calc(theme(padding.xxs)-theme(borderWidth.sm))]", "wby-bg-transparent wby-border-neutral-muted wby-text-neutral-primary", - "hover:bg-neutral-light", - "wby-aria-disabled:bg-transparent wby-aria-disabled:border-neutral-dimmed wby-aria-disabled:text-neutral-disabled" + "hover:wby-bg-neutral-light", + "aria-disabled:wby-bg-transparent aria-disabled:wby-border-neutral-dimmed aria-disabled:wby-text-neutral-disabled" ], "neutral-light": [ "wby-bg-neutral-muted wby-text-neutral-primary", - "hover:bg-neutral-strong", - "wby-aria-disabled:bg-neutral-muted wby-aria-disabled:text-neutral-muted" + "hover:wby-bg-neutral-strong", + "aria-disabled:wby-bg-neutral-muted aria-disabled:wby-text-neutral-muted" ], "neutral-strong": [ "wby-bg-neutral-xstrong wby-text-neutral-light", - "hover:bg-neutral-dark", - "wby-aria-disabled:bg-neutral-strong" + "hover:wby-bg-neutral-dark", + "aria-disabled:wby-bg-neutral-strong" ], "neutral-dark": [ "wby-bg-neutral-dark wby-text-neutral-light", - "hover:bg-neutral-xstrong", - "wby-aria-disabled:bg-neutral-strong" + "hover:wby-bg-neutral-xstrong", + "aria-disabled:wby-bg-neutral-strong" ], accent: [ "wby-bg-primary-default wby-text-neutral-light", - "hover:bg-primary-strong", - "wby-aria-disabled:bg-primary-disabled" + "hover:wby-bg-primary-strong", + "aria-disabled:wby-bg-primary-disabled" ], success: [ "wby-bg-success-default wby-text-neutral-light", - "hover:bg-success-strong", - "wby-aria-disabled:bg-success-disabled" + "hover:wby-bg-success-strong", + "aria-disabled:wby-bg-success-disabled" ], warning: [ "wby-bg-warning-muted wby-text-neutral-primary", - "hover:bg-warning-default", - "wby-aria-disabled:bg-warning-disabled wby-aria-disabled:text-neutral-disabled" + "hover:wby-bg-warning-default", + "aria-disabled:wby-bg-warning-disabled aria-disabled:wby-text-neutral-disabled" ], destructive: [ "wby-bg-destructive-default wby-text-neutral-light", - "hover:bg-destructive-strong", - "wby-aria-disabled:bg-destructive-disabled" + "hover:wby-bg-destructive-strong", + "aria-disabled:wby-bg-destructive-disabled" ] } },