From e5a1e26f9db763b54caed4ca313f44d1b5fe269d Mon Sep 17 00:00:00 2001 From: Neil Richter Date: Tue, 15 Apr 2025 10:58:14 +0200 Subject: [PATCH] fix(types): allow color identifiers with dashes (#3896) --- src/templates.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates.ts b/src/templates.ts index 6a43d34a..9bcf0473 100644 --- a/src/templates.ts +++ b/src/templates.ts @@ -114,7 +114,7 @@ type Color = Exclude `${color}?: Color`).join('\n\t\t')} + ${options.theme?.colors?.map(color => `'${color}'?: Color`).join('\n\t\t')} neutral?: NeutralColor } icons?: Partial