Skip to content

Commit 649410d

Browse files
committed
box shadow color added
1 parent 8c6917e commit 649410d

File tree

5 files changed

+127
-59
lines changed

5 files changed

+127
-59
lines changed

client/packages/lowcoder/src/api/commonSettingApi.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export interface ThemeDetail {
5353
animationDuration?: string;
5454
opacity?: string;
5555
boxShadow?: string;
56+
boxShadowColor?: string;
5657
}
5758

5859
export function getThemeDetailName(key: keyof ThemeDetail) {

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ const LabelViewWrapper = styled.div<{$style: any; inputFieldStyle: any}>`
5757
props.$style && {
5858
...props.$style,
5959
borderRadius: props.$style.radius,
60+
boxShadow: `${props.$style.boxShadow} ${props.$style.boxShadowColor}`,
6061
}
6162
);
6263
}}

0 commit comments

Comments
 (0)