Shadows work now

This commit is contained in:
Henry Jameson 2024-09-29 19:18:25 +03:00
commit b599407b67
3 changed files with 42 additions and 9 deletions

View file

@ -84,6 +84,9 @@ export const getCssRules = (rules, debug) => rules.map(rule => {
].join(';\n ')
}
case 'shadow': {
if (!rule.dynamicVars.shadow) {
return ''
}
return ' ' + [
'--shadow: ' + getCssShadow(rule.dynamicVars.shadow),
'--shadowFilter: ' + getCssShadowFilter(rule.dynamicVars.shadow),