don't do no-auto for themes2 seems to work better
This commit is contained in:
parent
99490cdb21
commit
cfba4cc6b3
|
@ -351,6 +351,7 @@ export const convertTheme2To3 = (data) => {
|
||||||
newRules.push({ ...rule, parent: { component: 'Notification' } })
|
newRules.push({ ...rule, parent: { component: 'Notification' } })
|
||||||
}
|
}
|
||||||
if (key === 'buttonPressed') {
|
if (key === 'buttonPressed') {
|
||||||
|
console.log(key)
|
||||||
newRules.push({ ...rule, state: ['toggled'] })
|
newRules.push({ ...rule, state: ['toggled'] })
|
||||||
newRules.push({ ...rule, state: ['toggled', 'focus'] })
|
newRules.push({ ...rule, state: ['toggled', 'focus'] })
|
||||||
newRules.push({ ...rule, state: ['pressed', 'focus'] })
|
newRules.push({ ...rule, state: ['pressed', 'focus'] })
|
||||||
|
@ -418,7 +419,6 @@ export const convertTheme2To3 = (data) => {
|
||||||
case 'Border':
|
case 'Border':
|
||||||
newRule.parent = rule
|
newRule.parent = rule
|
||||||
newRule.directives.textColor = data.colors[key]
|
newRule.directives.textColor = data.colors[key]
|
||||||
newRule.directives.textAuto = 'no-auto'
|
|
||||||
variantArray = parts.slice(0, -1)
|
variantArray = parts.slice(0, -1)
|
||||||
break
|
break
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue