feat: add info color

This commit is contained in:
Idris Gadi
2026-01-31 03:13:56 +05:30
parent 43488df491
commit 6d6f70323d
2 changed files with 2 additions and 1 deletions

View File

@@ -48,6 +48,7 @@ export const { use: useLocal, provider: LocalProvider } = createSimpleContext({
theme.warning,
theme.primary,
theme.error,
theme.info,
])
return {
list() {

View File

@@ -608,7 +608,7 @@ export namespace Config {
color: z
.union([
z.string().regex(/^#[0-9a-fA-F]{6}$/, "Invalid hex color format"),
z.enum(["primary", "secondary", "accent", "success", "warning", "error"]),
z.enum(["primary", "secondary", "accent", "success", "warning", "error", "info"]),
])
.optional()
.describe("Hex color code (e.g., #FF5733) or theme color (e.g., primary)"),