refactor: standardize theme colors, update UI components, and refine auth redirection logic
This commit is contained in:
@@ -188,7 +188,7 @@ export function EnterpriseFormPageProvider<E extends BaseEntity = BaseEntity>(pr
|
||||
notifications.show({
|
||||
title: t('common:notifications.errorTitle'),
|
||||
message: message ?? error?.message,
|
||||
color: 'red',
|
||||
color: 'var(--mantine-color-error-6)',
|
||||
});
|
||||
} finally {
|
||||
setIsLoading(false);
|
||||
@@ -250,7 +250,7 @@ export function EnterpriseFormPageProvider<E extends BaseEntity = BaseEntity>(pr
|
||||
notifications.show({
|
||||
title: t('common:notifications.errorTitle'),
|
||||
message: message ?? error?.message,
|
||||
color: 'red',
|
||||
color: 'var(--mantine-color-error-6)',
|
||||
});
|
||||
} finally {
|
||||
setIsSaving(false);
|
||||
@@ -355,7 +355,7 @@ export function EnterpriseFormPageProvider<E extends BaseEntity = BaseEntity>(pr
|
||||
{t('common:confirmDialog.leave.cancel')}
|
||||
</Button>
|
||||
<Button
|
||||
color="red"
|
||||
color="var(--mantine-color-error-6)"
|
||||
size="xs"
|
||||
onClick={() => {
|
||||
actionTaken = true;
|
||||
|
||||
Reference in New Issue
Block a user