mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
fix(types): allow color identifiers with dashes (#3896)
This commit is contained in:
@@ -114,7 +114,7 @@ type Color = Exclude<keyof typeof colors, 'inherit' | 'current' | 'transparent'
|
||||
|
||||
type AppConfigUI = {
|
||||
colors?: {
|
||||
${options.theme?.colors?.map(color => `${color}?: Color`).join('\n\t\t')}
|
||||
${options.theme?.colors?.map(color => `'${color}'?: Color`).join('\n\t\t')}
|
||||
neutral?: NeutralColor
|
||||
}
|
||||
icons?: Partial<typeof icons>
|
||||
|
||||
Reference in New Issue
Block a user