Skip to content

Commit dfd25d9

Browse files
committed
placeholders added
1 parent ca8d9cd commit dfd25d9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

client/packages/lowcoder/src/comps/controls/styleControl.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)