File tree 1 file changed +6
-6
lines changed
client/packages/lowcoder/src/comps/controls
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>>(
593
593
res [ name ] = themeWithDefault [ config . padding ] ;
594
594
}
595
595
if ( isBoxShadowConfig ( config ) ) {
596
- res [ name ] = themeWithDefault [ config . boxShadow ] ;
596
+ res [ name ] = themeWithDefault [ config . boxShadow ] || '0px 0px 0px' ;
597
597
}
598
598
if ( isBoxShadowColorConfig ( config ) ) {
599
- res [ name ] = themeWithDefault [ config . boxShadowColor ] ;
599
+ res [ name ] = themeWithDefault [ config . boxShadowColor ] || '0px 0px 0px' ;
600
600
}
601
601
if ( isAnimationIterationCountConfig ( config ) ) {
602
- res [ name ] = themeWithDefault [ config . animationIterationCount ] ;
602
+ res [ name ] = themeWithDefault [ config . animationIterationCount ] || '0' ;
603
603
}
604
604
if ( isOpacityConfig ( config ) ) {
605
605
res [ name ] = themeWithDefault [ config . opacity ] ;
606
606
}
607
607
if ( isAnimationConfig ( config ) ) {
608
- res [ name ] = themeWithDefault [ config . animation ] ;
608
+ res [ name ] = themeWithDefault [ config . animation ] || 'none' ;
609
609
}
610
610
if ( isAnimationDelayConfig ( config ) ) {
611
- res [ name ] = themeWithDefault [ config . animationDelay ] ;
611
+ res [ name ] = themeWithDefault [ config . animationDelay ] || '0s' ;
612
612
}
613
613
if ( isAnimationDurationConfig ( config ) ) {
614
- res [ name ] = themeWithDefault [ config . animationDuration ] ;
614
+ res [ name ] = themeWithDefault [ config . animationDuration ] || '0s' ;
615
615
}
616
616
} ) ;
617
617
// The second pass calculates dep
You can’t perform that action at this time.
0 commit comments