diff --git a/src/templates.ts b/src/templates.ts index d797a5aa..657f3924 100644 --- a/src/templates.ts +++ b/src/templates.ts @@ -87,7 +87,7 @@ export function getTemplates(options: ModuleOptions, uiConfig: Record [50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950].map(shade => `--color-${color}-${shade}: var(--ui-color-${color}-${shade});`).join('\n\t')).join('\n\t')} + ${[...(options.theme?.colors || []).filter(color => !colors[color as keyof typeof colors]), 'neutral'].map(color => [50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950].map(shade => `--color-${color}-${shade}: var(--ui-color-${color}-${shade});`).join('\n\t')).join('\n\t')} } ` })