mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-11 09:54:36 +00:00
Enhance Alerts component with dynamic colored notes using AlertColors from config for better visibility and consistency (#229)
This commit is contained in:
parent
2c07496638
commit
612f41afdd
3 changed files with 24 additions and 3 deletions
|
@ -34,3 +34,10 @@ export const analytics = {
|
|||
url: "analytics.proxmoxve-scripts.com",
|
||||
token: "b60d3032-1a11-4244-a100-81d26c5c49a7",
|
||||
};
|
||||
|
||||
export const AlertColors = {
|
||||
warning:
|
||||
"border-yellow-400 bg-yellow-50 dark:border-yellow-900 dark:bg-yellow-900",
|
||||
danger: "border-red-500/25 bg-destructive/25",
|
||||
info: "border-cyan-500/25 bg-cyan-50 dark:border-cyan-900/25 dark:bg-cyan-900",
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue