Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Fix old listbox text colours (#28294)

Terry Sutton0f2f7b99a5b5
diff --git a/apps/studio/components/interfaces/Database/Wrappers/WrapperTableEditor.tsx b/apps/studio/components/interfaces/Database/Wrappers/WrapperTableEditor.tsx
index 7c6606254bb..88c8f234fde 100644
--- a/apps/studio/components/interfaces/Database/Wrappers/WrapperTableEditor.tsx
+++ b/apps/studio/components/interfaces/Database/Wrappers/WrapperTableEditor.tsx
@@ -91,7 +91,7 @@ const WrapperTableEditor = ({
>
<div className="space-y-1">
<p>{table.label}</p>
- <p className="opacity-50">{table.description}</p>
+ <p className="text-foreground-lighter">{table.description}</p>
</div>
</Listbox.Option>
)
diff --git a/packages/ui/src/lib/theme/defaultTheme.ts b/packages/ui/src/lib/theme/defaultTheme.ts
index 591b0a0a071..ffad5f46269 100644
--- a/packages/ui/src/lib/theme/defaultTheme.ts
+++ b/packages/ui/src/lib/theme/defaultTheme.ts
@@ -1351,7 +1351,7 @@ export default {
option: `
w-listbox
transition cursor-pointer select-none relative py-2 pl-3 pr-9
- text-foreground-muted
+ text-foreground-light
text-sm
hover:bg-border-overlay
focus:bg-border-overlay
@@ -1360,7 +1360,7 @@ export default {
focus:outline-none
`,
option_active: `text-foreground bg-selection`,
- option_disabled: `cursor-not-allowed opacity-50`,
+ option_disabled: `cursor-not-allowed opacity-60`,
option_inner: `flex items-center space-x-3`,
option_check: `absolute inset-y-0 right-0 flex items-center pr-3 text-brand`,
option_check_active: `text-brand`,