Skip to content

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

fix(studio): entity type color contrast (#40723)

Danny Whitee235fd1a0557
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PlanUpdateSidePanel.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PlanUpdateSidePanel.tsx
index 3ac62d2eab2..75d8248812c 100644
--- a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PlanUpdateSidePanel.tsx
+++ b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PlanUpdateSidePanel.tsx
@@ -204,13 +204,13 @@ export const PlanUpdateSidePanel = () => {
>
<div className="w-full">
<div className="flex items-center space-x-2">
- <p className="text-brand text-sm uppercase">{plan.name}</p>
+ <p className="text-brand-link text-sm uppercase">{plan.name}</p>
{isCurrentPlan ? (
<div className="text-xs bg-surface-300 text-foreground-light rounded px-2 py-0.5">
Current plan
</div>
) : plan.nameBadge ? (
- <div className="text-xs bg-brand-400 text-brand-600 rounded px-2 py-0.5">
+ <div className="text-xs bg-brand-300 dark:bg-brand-400 text-brand-600 rounded px-2 py-0.5">
{plan.nameBadge}
</div>
) : null}
diff --git a/apps/studio/components/ui/EntityTypeIcon.tsx b/apps/studio/components/ui/EntityTypeIcon.tsx
index 9114972669e..b0110b20404 100644
--- a/apps/studio/components/ui/EntityTypeIcon.tsx
+++ b/apps/studio/components/ui/EntityTypeIcon.tsx
@@ -69,8 +69,9 @@ export const EntityTypeIcon = ({
'flex items-center justify-center text-xs h-4 w-4 rounded-[2px] font-bold',
type === ENTITY_TYPE.FOREIGN_TABLE &&
'text-warning-600/80 dark:text-yellow-900 bg-yellow-500',
- type === ENTITY_TYPE.MATERIALIZED_VIEW && 'text-purple-1000 bg-purple-500',
- type === ENTITY_TYPE.PARTITIONED_TABLE && 'text-foreground-light bg-border-stronger'
+ type === ENTITY_TYPE.MATERIALIZED_VIEW && 'text-purple-1100 bg-purple-500',
+ type === ENTITY_TYPE.PARTITIONED_TABLE &&
+ 'text-foreground-light bg-surface-400 dark:bg-border-stronger'
)}
>
{Object.entries(ENTITY_TYPE)