Shadows work now
This commit is contained in:
parent
9753db1c67
commit
b599407b67
3 changed files with 42 additions and 9 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue