File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
client/packages/lowcoder/src/comps/controls Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -593,25 +593,25 @@ function calcColors<ColorMap extends Record<string, string>>(
593593 res [ name ] = themeWithDefault [ config . padding ] ;
594594 }
595595 if ( isBoxShadowConfig ( config ) ) {
596- res [ name ] = themeWithDefault [ config . boxShadow ] ;
596+ res [ name ] = themeWithDefault [ config . boxShadow ] || '0px 0px 0px' ;
597597 }
598598 if ( isBoxShadowColorConfig ( config ) ) {
599- res [ name ] = themeWithDefault [ config . boxShadowColor ] ;
599+ res [ name ] = themeWithDefault [ config . boxShadowColor ] || '0px 0px 0px' ;
600600 }
601601 if ( isAnimationIterationCountConfig ( config ) ) {
602- res [ name ] = themeWithDefault [ config . animationIterationCount ] ;
602+ res [ name ] = themeWithDefault [ config . animationIterationCount ] || '0' ;
603603 }
604604 if ( isOpacityConfig ( config ) ) {
605605 res [ name ] = themeWithDefault [ config . opacity ] ;
606606 }
607607 if ( isAnimationConfig ( config ) ) {
608- res [ name ] = themeWithDefault [ config . animation ] ;
608+ res [ name ] = themeWithDefault [ config . animation ] || 'none' ;
609609 }
610610 if ( isAnimationDelayConfig ( config ) ) {
611- res [ name ] = themeWithDefault [ config . animationDelay ] ;
611+ res [ name ] = themeWithDefault [ config . animationDelay ] || '0s' ;
612612 }
613613 if ( isAnimationDurationConfig ( config ) ) {
614- res [ name ] = themeWithDefault [ config . animationDuration ] ;
614+ res [ name ] = themeWithDefault [ config . animationDuration ] || '0s' ;
615615 }
616616 } ) ;
617617 // The second pass calculates dep
You can’t perform that action at this time.
0 commit comments