From f38638ae51b8552b45adf8f0ee1dfff343eb9c4f Mon Sep 17 00:00:00 2001 From: Fergus Ruston Date: Fri, 27 Oct 2023 17:42:06 +0100 Subject: [PATCH] fix: add correct colour class for primary button disabled text colour --- src/components/Button/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Button/index.tsx b/src/components/Button/index.tsx index adeee7b5..0971da07 100644 --- a/src/components/Button/index.tsx +++ b/src/components/Button/index.tsx @@ -13,7 +13,7 @@ const buttonVariants = cva( 'bg-button-active text-white ' + 'hover:bg-button-hover ' + 'focus:bg-button-focus ' + - 'disabled:bg-button-disabled disabled:color-foreground-subtle', + 'disabled:bg-button-disabled disabled:text-foreground-subtle', secondary: 'bg-white text-grey-900 border-2 border-border ' + 'hover:bg-button-disabled hover:border-border ' +