Remove unnecessary select()

This commit is contained in:
Eric Bailey
2025-07-30 20:38:24 -05:00
parent fe05eaf311
commit 325f5b4636
+2 -10
View File
@@ -221,11 +221,7 @@ export const Button = React.forwardRef<View, ButtonProps>(
})
} 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<View, ButtonProps>(
})
} 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') {