We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6237663 commit 752e2b6Copy full SHA for 752e2b6
src/templates.ts
@@ -158,13 +158,13 @@ import colors from 'tailwindcss/colors'
158
159
const icons = ${JSON.stringify(uiConfig.icons)};
160
161
-type NeutralColor = 'slate' | 'gray' | 'zinc' | 'neutral' | 'stone' | (string & {})
+type NeutralColor = 'slate' | 'gray' | 'zinc' | 'neutral' | 'stone'
162
type Color = Exclude<keyof typeof colors, 'inherit' | 'current' | 'transparent' | 'black' | 'white' | NeutralColor> | (string & {})
163
164
type AppConfigUI = {
165
colors?: {
166
${options.theme?.colors?.map(color => `'${color}'?: Color`).join('\n\t\t')}
167
- neutral?: NeutralColor
+ neutral?: NeutralColor | (string & {})
168
}
169
icons?: Partial<typeof icons>
170
tv?: typeof defaultConfig
0 commit comments