better v1 detection, better menu-item consistency
This commit is contained in:
parent
d3b5f76486
commit
c83ddb0b2b
6 changed files with 57 additions and 12 deletions
|
|
@ -155,7 +155,7 @@ export const getCssRules = (rules) => rules.map(rule => {
|
|||
return [
|
||||
header,
|
||||
directives + ';',
|
||||
(!rule.virtual && rule.directives.textNoCssColor !== 'yes') ? ' color: var(--text);' : '',
|
||||
(rule.component === 'Text' && rule.directives.textNoCssColor !== 'yes') ? ' color: var(--text);' : '',
|
||||
'',
|
||||
virtualDirectives,
|
||||
footer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue