adminforth 3.11.0 → 3.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -72,26 +72,26 @@ const VARIANT_CONFIGS = {
|
|
|
72
72
|
info: {
|
|
73
73
|
icon: IconInfoCircleSolid,
|
|
74
74
|
borderClass: 'border-lightPrimary dark:border-darkPrimary',
|
|
75
|
-
iconClass: 'text-lightPrimary dark:text-darkPrimary bg-lightPrimaryOpacity dark:bg-darkPrimary dark:!text-blue-100',
|
|
76
|
-
strokeClass: 'stroke-lightPrimary dark:stroke-darkPrimary',
|
|
75
|
+
iconClass: 'text-lightPrimary dark:text-darkPrimary bg-lightPrimaryOpacity dark:bg-darkPrimary/50 dark:!text-blue-100',
|
|
76
|
+
strokeClass: 'stroke-lightPrimary/50 dark:stroke-darkPrimary/30',
|
|
77
77
|
},
|
|
78
78
|
danger: {
|
|
79
79
|
icon: IconCloseCircleSolid,
|
|
80
80
|
borderClass: 'border-red-500 dark:border-red-800',
|
|
81
81
|
iconClass: 'text-red-500 bg-red-100 dark:bg-red-800 dark:text-red-200',
|
|
82
|
-
strokeClass: 'stroke-red-500 dark:stroke-red-
|
|
82
|
+
strokeClass: 'stroke-red-500 dark:stroke-red-700',
|
|
83
83
|
},
|
|
84
84
|
warning: {
|
|
85
85
|
icon: IconExclamationCircleSolid,
|
|
86
86
|
borderClass: 'border-orange-500 dark:border-orange-700',
|
|
87
87
|
iconClass: 'text-orange-500 bg-orange-100 dark:bg-orange-700 dark:text-orange-200',
|
|
88
|
-
strokeClass: 'stroke-orange-500 dark:stroke-orange-
|
|
88
|
+
strokeClass: 'stroke-orange-500 dark:stroke-orange-600',
|
|
89
89
|
},
|
|
90
90
|
success: {
|
|
91
91
|
icon: IconCheckCircleSolid,
|
|
92
92
|
borderClass: 'border-green-500 dark:border-green-800',
|
|
93
93
|
iconClass: 'text-green-500 bg-green-100 dark:bg-green-800 dark:text-green-200',
|
|
94
|
-
strokeClass: 'stroke-green-500 dark:stroke-green-
|
|
94
|
+
strokeClass: 'stroke-green-500 dark:stroke-green-600',
|
|
95
95
|
},
|
|
96
96
|
} as const;
|
|
97
97
|
|
|
@@ -251,7 +251,7 @@ async function saveRecord() {
|
|
|
251
251
|
alert({
|
|
252
252
|
message: t('Record updated successfully'),
|
|
253
253
|
variant: 'success',
|
|
254
|
-
timeout:
|
|
254
|
+
timeout: 'unlimited'
|
|
255
255
|
});
|
|
256
256
|
router.push({ name: 'resource-show', params: { resourceId: route.params.resourceId, primaryKey: resp.recordId } });
|
|
257
257
|
}
|