|
@@ -165,6 +165,7 @@ module.exports = {
|
|
':root, :host': {
|
|
':root, :host': {
|
|
'--w-font-sans': fontFamily.sans.join(', '),
|
|
'--w-font-sans': fontFamily.sans.join(', '),
|
|
'--w-font-mono': fontFamily.mono.join(', '),
|
|
'--w-font-mono': fontFamily.mono.join(', '),
|
|
|
|
+ '--w-density-factor': '1',
|
|
...transparencies,
|
|
...transparencies,
|
|
...generateColorVariables(staticColors),
|
|
...generateColorVariables(staticColors),
|
|
...generateThemeColorVariables(colorThemes.light),
|
|
...generateThemeColorVariables(colorThemes.light),
|
|
@@ -180,6 +181,9 @@ module.exports = {
|
|
...generateThemeColorVariables(colorThemes.dark),
|
|
...generateThemeColorVariables(colorThemes.dark),
|
|
'color-scheme': 'dark',
|
|
'color-scheme': 'dark',
|
|
},
|
|
},
|
|
|
|
+ '.w-density-snug': {
|
|
|
|
+ '--w-density-factor': '0.5',
|
|
|
|
+ },
|
|
});
|
|
});
|
|
}),
|
|
}),
|
|
/** Support for aria-expanded=true variant */
|
|
/** Support for aria-expanded=true variant */
|