Enhance Alerts component with dynamic colored notes using AlertColors from config for better visibility and consistency (#229)

This commit is contained in:
Bram Suurd 2024-11-13 22:33:45 +01:00 committed by GitHub
parent 2c07496638
commit 612f41afdd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 24 additions and 3 deletions

View file

@ -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",
};