about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/components/Button.tsx8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/components/Button.tsx b/src/components/Button.tsx
index 7904f5122..d7bd9a208 100644
--- a/src/components/Button.tsx
+++ b/src/components/Button.tsx
@@ -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) {