Upgrade merged theme keys from colors.* to color-*
This commit is contained in:
parent
c13d221d58
commit
faf98b364a
1 changed files with 4 additions and 0 deletions
|
|
@ -42,6 +42,10 @@ function themeableValues(config: ResolvedConfig['theme']): [string[], unknown][]
|
|||
}
|
||||
|
||||
function keyPathToCssProperty(path: string[]) {
|
||||
if (path[0] === 'colors') {
|
||||
path[0] = 'color'
|
||||
}
|
||||
|
||||
return (
|
||||
path
|
||||
// [1] should move into the nested object tuple. To create the CSS variable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue