about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2025-08-07 16:44:19 -0500
committerGitHub <noreply@github.com>2025-08-07 16:44:19 -0500
commit88856b0ff7253ea9fc395efbd70fe6602024bb4f (patch)
tree4a23c34e0238f2193343f0a9e9b9012c131c287d /src
parent08a83242906431acb06dde79467ec7dfdefa49f8 (diff)
downloadvoidsky-88856b0ff7253ea9fc395efbd70fe6602024bb4f.tar.zst
Fix disabled primary button text color (#8796)
Diffstat (limited to 'src')
-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) {