From 88856b0ff7253ea9fc395efbd70fe6602024bb4f Mon Sep 17 00:00:00 2001
From: Eric Bailey <git@esb.lol>
Date: Thu, 7 Aug 2025 16:44:19 -0500
Subject: Fix disabled primary button text color (#8796)

---
 src/components/Button.tsx | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

(limited to 'src/components/Button.tsx')

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) {
-- 
cgit 1.4.1

