stlyes fixes
This commit is contained in:
@@ -100,10 +100,10 @@ export default function IntegrationCard({
|
||||
return 'bg-gray-400 dark:bg-gray-500 animate-pulse'; // Grey while validating (with pulse)
|
||||
}
|
||||
if (validationStatus === 'success') {
|
||||
return 'bg-green-500 dark:bg-green-600'; // Green for success
|
||||
return 'bg-success-500 dark:bg-success-600'; // Green for success
|
||||
}
|
||||
if (validationStatus === 'error') {
|
||||
return 'bg-red-500 dark:bg-red-600'; // Red for error
|
||||
return 'bg-error-500 dark:bg-error-600'; // Red for error
|
||||
}
|
||||
return 'bg-gray-400 dark:bg-gray-500'; // Default grey
|
||||
};
|
||||
@@ -120,7 +120,7 @@ export default function IntegrationCard({
|
||||
return { text: 'Enabled', color: 'text-gray-800 dark:text-white', bold: true };
|
||||
}
|
||||
if (validationStatus === 'error') {
|
||||
return { text: 'Error', color: 'text-red-600 dark:text-red-400', bold: false };
|
||||
return { text: 'Error', color: 'text-error-600 dark:text-error-400', bold: false };
|
||||
}
|
||||
return { text: 'Disabled', color: 'text-gray-400 dark:text-gray-500', bold: false };
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user