Updated shadow control to be able to handle "absolute null" situation

This commit is contained in:
Henry Jameson 2024-09-12 19:31:19 +03:00
commit aa7a336183
7 changed files with 179 additions and 126 deletions

View file

@ -452,7 +452,7 @@ export const getCssShadow = (input, usesDropShadow) => {
]).join(' ')).join(', ')
}
const getCssShadowFilter = (input) => {
export const getCssShadowFilter = (input) => {
if (input.length === 0) {
return 'none'
}