Fix disabled primary button text color (#8796)

This commit is contained in:
Eric Bailey
2025-08-07 16:44:19 -05:00
committed by GitHub
parent 08a8324290
commit 88856b0ff7
+7 -1
View File
@@ -592,7 +592,13 @@ export function useSharedButtonTextStyles() {
if (!disabled) {
baseStyles.push({color: t.palette.white})
} else {
baseStyles.push({color: t.palette.white})
baseStyles.push({
color: select(t.name, {
light: t.palette.white,
dim: t.atoms.text_inverted.color,
dark: t.atoms.text_inverted.color,
}),
})
}
} else if (color === 'secondary') {
if (!disabled) {