Skip to content

Commit 92292c3

Browse files
added gradient
1 parent f462970 commit 92292c3

17 files changed

+27
-27
lines changed

client/packages/lowcoder/src/comps/comps/buttonComp/buttonCompConstants.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export function getButtonStyle(buttonStyle: ButtonStyleType) {
2727
font-style: ${buttonStyle.fontStyle};
2828
text-transform:${buttonStyle.textTransform};
2929
text-decoration:${buttonStyle.textDecoration};
30-
background-color: ${buttonStyle.background};
30+
background: ${buttonStyle.background};
3131
border-radius: ${buttonStyle.radius};
3232
margin: ${buttonStyle.margin};
3333
padding: ${buttonStyle.padding};

client/packages/lowcoder/src/comps/comps/buttonComp/dropdownComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const LeftButtonWrapper = styled.div<{ $buttonStyle: DropdownStyleType }>`
5252
${(props) => `text-transform: ${props.$buttonStyle.textTransform};`}
5353
${(props) => `font-weight: ${props.$buttonStyle.textWeight};`}
5454
}
55-
${(props) => `background-color: ${props.$buttonStyle.background};`}
55+
${(props) => `background: ${props.$buttonStyle.background};`}
5656
${(props) => `color: ${props.$buttonStyle.text};`}
5757
${(props) => `padding: ${props.$buttonStyle.padding};`}
5858
${(props) => `font-size: ${props.$buttonStyle.textSize};`}

client/packages/lowcoder/src/comps/comps/buttonComp/floatButtonComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const Wrapper = styled.div<{ $badgeStyle: BadgeStyleType, $style: FloatButtonSty
3737
inset-block-end: -8px;
3838
}
3939
.ant-float-btn-primary .ant-float-btn-body {
40-
background-color: ${(props) => props.$style.background};
40+
background: ${(props) => props.$style.background};
4141
border: ${(props) => props.$style.border};
4242
border-style: ${(props) => props.$style.borderStyle};
4343
border-width: ${(props) => props.$style.borderWidth};

client/packages/lowcoder/src/comps/comps/buttonComp/linkComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const Link = styled(Button)<{
4141
border-radius:${props.$style.radius ? props.$style.radius:'0px'};
4242
text-transform:${props.$style.textTransform ? props.$style.textTransform:''};
4343
text-decoration:${props.$style.textDecoration ? props.$style.textDecoration:''} !important;
44-
background-color: ${props.$style.background};
44+
background: ${props.$style.background};
4545
&:hover {
4646
color: ${props.$style.hoverText} !important;
4747
}

client/packages/lowcoder/src/comps/comps/carouselComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const Container = styled.div<{$bg: string; $animationStyle:AnimationStyleType}>`
2929
&,
3030
.ant-carousel {
3131
height: 100%;
32-
background-color: ${(props) => props.$bg};
32+
background: ${(props) => props.$bg};
3333
${props=>props.$animationStyle}
3434
}
3535
`;

client/packages/lowcoder/src/comps/comps/fileComp/fileComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ const getStyle = (style: FileStyleType) => {
156156
157157
.ant-btn:not(:disabled) {
158158
border-color: ${style.border};
159-
background-color: ${style.background};
159+
background: ${style.background};
160160
color: ${style.text};
161161
162162
&:hover,

client/packages/lowcoder/src/comps/comps/fileViewerComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const getStyle = (style: FileViewerStyleType) => {
2222
padding: ${style.padding};
2323
2424
overflow: hidden;
25-
background-color: ${style.background};
25+
background: ${style.background};
2626
border: ${(props) => (style.borderWidth ? style.borderWidth : "1px")} solid ${style.border};
2727
border-radius: calc(min(${style.radius}, 20px));
2828
`;

client/packages/lowcoder/src/comps/comps/iconComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const Container = styled.div<{
3737
display: flex;
3838
align-items: center;
3939
justify-content: center;
40-
${props=>props.$animationStyle}
40+
${props=>props.$animationStyle}
4141
${(props) =>
4242
props.$style &&
4343
css`

client/packages/lowcoder/src/comps/comps/iframeComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ ${props=>props.$animationStyle}
3030
width: 100%;
3131
height: 100%;
3232
display: block;
33-
background-color: ${(props) => props.$style.background};
33+
background: ${(props) => props.$style.background};
3434
}
3535
`;
3636

client/packages/lowcoder/src/comps/comps/jsonComp/jsonLottieComp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ let JsonLottieTmpComp = (function () {
115115
height: "100%",
116116
display: "flex",
117117
justifyContent: "center",
118-
backgroundColor: `${props.container.background}`,
118+
background: `${props.container.background}`,
119119
padding: `${props.container.padding}`,
120120
rotate: props.container.rotation,
121121
}}

0 commit comments

Comments
 (0)