mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-13 07:10:51 +02:00
Enhance Alerts component with dynamic colored notes using AlertColors from config for better visibility and consistency (#229)
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { AlertColors } from "@/config/siteConfig";
|
||||
|
||||
export type Script = {
|
||||
name: string;
|
||||
slug: string;
|
||||
@@ -29,7 +31,7 @@ export type Script = {
|
||||
notes: [
|
||||
{
|
||||
text: string;
|
||||
type: string;
|
||||
type: keyof typeof AlertColors;
|
||||
},
|
||||
];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user