From 325f5b4636bbd319ffbcaa72e3f4fc5dcf86dc86 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Wed, 30 Jul 2025 20:38:24 -0500 Subject: [PATCH] Remove unnecessary select() --- src/components/Button.tsx | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/components/Button.tsx b/src/components/Button.tsx index 5d8a4c548d..a5198d1d92 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -221,11 +221,7 @@ export const Button = React.forwardRef( }) } else { baseStyles.push({ - backgroundColor: select(t.name, { - light: t.palette.primary_200, - dim: t.palette.primary_200, - dark: t.palette.primary_200, - }), + backgroundColor: t.palette.primary_200, }) } } else if (color === 'secondary') { @@ -258,11 +254,7 @@ export const Button = React.forwardRef( }) } else { baseStyles.push({ - backgroundColor: select(t.name, { - light: t.palette.negative_700, - dim: t.palette.negative_700, - dark: t.palette.negative_700, - }), + backgroundColor: t.palette.negative_700, }) } } else if (color === 'negative_subtle') {