better replicate themes2 hover/pressed style
This commit is contained in:
parent
030a2127ee
commit
f85972310c
|
@ -354,10 +354,6 @@ export const convertTheme2To3 = (data) => {
|
||||||
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'] })
|
||||||
}
|
|
||||||
if (key === 'buttonHover') {
|
|
||||||
newRules.push({ ...rule, state: ['toggled', 'hover'] })
|
|
||||||
newRules.push({ ...rule, state: ['pressed', 'hover'] })
|
|
||||||
newRules.push({ ...rule, state: ['toggled', 'focus', 'hover'] })
|
newRules.push({ ...rule, state: ['toggled', 'focus', 'hover'] })
|
||||||
newRules.push({ ...rule, state: ['pressed', 'focus', 'hover'] })
|
newRules.push({ ...rule, state: ['pressed', 'focus', 'hover'] })
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue