mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-29 03:10:42 +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 = {
|
type AppConfigUI = {
|
||||||
colors?: {
|
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
|
neutral?: NeutralColor
|
||||||
}
|
}
|
||||||
icons?: Partial<typeof icons>
|
icons?: Partial<typeof icons>
|
||||||
|
|||||||
Reference in New Issue
Block a user