diff --git a/src/templates.ts b/src/templates.ts index a6f6930f..d4c17e65 100644 --- a/src/templates.ts +++ b/src/templates.ts @@ -158,13 +158,13 @@ import colors from 'tailwindcss/colors' const icons = ${JSON.stringify(uiConfig.icons)}; -type NeutralColor = 'slate' | 'gray' | 'zinc' | 'neutral' | 'stone' | (string & {}) +type NeutralColor = 'slate' | 'gray' | 'zinc' | 'neutral' | 'stone' type Color = Exclude | (string & {}) type AppConfigUI = { colors?: { ${options.theme?.colors?.map(color => `'${color}'?: Color`).join('\n\t\t')} - neutral?: NeutralColor + neutral?: NeutralColor | (string & {}) } icons?: Partial tv?: typeof defaultConfig