From 224d5dd72dab366ba0229cb26b480b48bed00328 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Wed, 30 Jul 2025 16:09:05 -0500 Subject: [PATCH] Remove text styles for when no color is set, never been used --- src/components/Button.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/components/Button.tsx b/src/components/Button.tsx index 4e3f022dcc..c8cc994e89 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -684,12 +684,6 @@ export function useSharedButtonTextStyles() { baseStyles.push({color: t.palette.negative_400, opacity: 0.5}) } } - } else { - if (!disabled) { - baseStyles.push({color: t.palette.white}) - } else { - baseStyles.push({color: t.palette.white, opacity: 0.5}) - } } if (size === 'large') {