Convert 'none' to transparent shadow
To make shadow comma-separated list safe.
This commit is contained in:
parent
3cc2f70bfe
commit
4eecc2751c
5 changed files with 97 additions and 97 deletions
|
|
@ -8,7 +8,7 @@ export default function () {
|
|||
return [
|
||||
nameClass('shadow', modifier),
|
||||
{
|
||||
'--box-shadow': value,
|
||||
'--box-shadow': value === 'none' ? '0 0 #0000' : value,
|
||||
'box-shadow': 'var(--box-shadow)',
|
||||
},
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue