Skip to content

Commit 68ea696

Browse files
committed
new styles added
1 parent 4a9d172 commit 68ea696

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,14 +838,21 @@ export const avatarGroupStyle = [
838838
getBackground("primary"),
839839
] as const;
840840

841-
export const FloatButtonStyle = [
841+
export const BadgeStyle = [
842842
{
843843
name: "badgeColor",
844844
label: trans("floatButton.badgeColor"),
845845
color: "#ff4d4f",
846846
},
847847
] as const;
848848

849+
export const FloatButtonStyle = [
850+
getStaticBackground(SURFACE_COLOR),
851+
BORDER,
852+
BORDER_STYLE,
853+
BORDER_WIDTH,
854+
] as const;
855+
849856
export const TransferStyle = [
850857
MARGIN,
851858
] as const;
@@ -1586,6 +1593,7 @@ export type AvatarLabelStyleType = StyleConfigType<typeof avatarLabelStyle>;
15861593
export type AvatarContainerStyleType = StyleConfigType<typeof avatarContainerStyle>;
15871594
export type AvatarGroupStyleType = StyleConfigType<typeof avatarGroupStyle>;
15881595
export type FloatButtonStyleType = StyleConfigType<typeof FloatButtonStyle>;
1596+
export type BadgeStyleType = StyleConfigType<typeof BadgeStyle>;
15891597
export type TransferStyleType = StyleConfigType<typeof TransferStyle>;
15901598
export type CardStyleType = StyleConfigType<typeof CardStyle>;
15911599
export type CardHeaderStyleType = StyleConfigType<typeof CardHeaderStyle>;

0 commit comments

Comments
 (0)