diff --git a/apps/studio/components/interfaces/Database/Replication/ReplicationPipelineStatus.tsx b/apps/studio/components/interfaces/Database/Replication/ReplicationPipelineStatus.tsx
index 33eb3d2b734..515d42a6175 100644
--- a/apps/studio/components/interfaces/Database/Replication/ReplicationPipelineStatus.tsx
+++ b/apps/studio/components/interfaces/Database/Replication/ReplicationPipelineStatus.tsx
@@ -176,10 +176,11 @@ const ReplicationPipelineStatus = ({
badge: isEnabling ? 'Enabling' : 'Disabling',
icon: ,
colors: {
- bg: isEnabling ? 'bg-brand-50 border-brand-200' : 'bg-warning-50 border-warning-200',
+ bg: isEnabling ? 'bg-brand-50' : 'bg-warning-50',
text: isEnabling ? 'text-brand-900' : 'text-warning-900',
subtext: isEnabling ? 'text-brand-700' : 'text-warning-700',
- icon: isEnabling ? 'text-brand-600' : 'text-warning-600',
+ iconBg: isEnabling ? 'bg-brand-600' : 'bg-warning-600',
+ icon: 'text-white dark:text-black',
},
}
}
@@ -192,10 +193,11 @@ const ReplicationPipelineStatus = ({
badge: 'Failed',
icon: ,
colors: {
- bg: 'bg-destructive-50 border-destructive-200',
+ bg: 'bg-destructive-50',
text: 'text-destructive-900',
subtext: 'text-destructive-700',
- icon: 'text-destructive-600',
+ iconBg: 'bg-destructive-600',
+ icon: 'text-white dark:text-black',
},
}
case 'stopped':
@@ -205,10 +207,11 @@ const ReplicationPipelineStatus = ({
badge: 'Stopped',
icon: ,
colors: {
- bg: 'bg-surface-100 border-border-muted',
+ bg: 'bg-surface-100',
text: 'text-foreground',
subtext: 'text-foreground-light',
- icon: 'text-foreground-lighter',
+ iconBg: 'bg-foreground-lighter',
+ icon: 'text-white dark:text-black',
},
}
case 'starting':
@@ -218,10 +221,11 @@ const ReplicationPipelineStatus = ({
badge: 'Starting',
icon: ,
colors: {
- bg: 'bg-warning-50 border-warning-200',
+ bg: 'bg-warning-50',
text: 'text-warning-900',
subtext: 'text-warning-700',
- icon: 'text-warning-600',
+ iconBg: 'bg-warning-600',
+ icon: 'text-white dark:text-black',
},
}
case 'unknown':
@@ -231,10 +235,11 @@ const ReplicationPipelineStatus = ({
badge: 'Unknown',
icon: ,
colors: {
- bg: 'bg-warning-50 border-warning-200',
+ bg: 'bg-warning-50',
text: 'text-warning-900',
subtext: 'text-warning-700',
- icon: 'text-warning-600',
+ iconBg: 'bg-warning-600',
+ icon: 'text-white dark:text-black',
},
}
default:
@@ -244,10 +249,11 @@ const ReplicationPipelineStatus = ({
badge: 'Disabled',
icon: ,
colors: {
- bg: 'bg-surface-100 border-border-muted',
+ bg: 'bg-surface-100',
text: 'text-foreground',
subtext: 'text-foreground-light',
- icon: 'text-foreground-lighter',
+ iconBg: 'bg-foreground-lighter',
+ icon: 'text-white dark:text-black',
},
}
}
@@ -370,9 +376,9 @@ const ReplicationPipelineStatus = ({
const config = getDisabledStateConfig()
return (