fix #1301
This commit is contained in:
parent
19ab07af96
commit
8ead084421
2 changed files with 5 additions and 3 deletions
|
|
@ -517,6 +517,8 @@ export const convertTheme2To3 = (data) => {
|
|||
} else if (newRule.component === 'Badge') {
|
||||
if (newRule.variant === 'notification') {
|
||||
return [newRule, { component: 'Root', directives: { '--badgeNotification': 'color | ' + newRule.directives.background } }]
|
||||
} else if (newRule.variant === 'neutral') {
|
||||
return [{ ...newRule, variant: 'normal' }]
|
||||
} else {
|
||||
return [newRule]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue