File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed
client/packages/lowcoder/src/comps/controls Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -817,16 +817,16 @@ export const AvatarStyle = [
817
817
color : '#bfbfbf' ,
818
818
} ,
819
819
FILL ,
820
- {
821
- name : "label" ,
822
- label : trans ( "avatarComp.label" ) ,
823
- color : '#000000' ,
824
- } ,
825
- {
826
- name : "caption" ,
827
- label : trans ( "avatarComp.caption" ) ,
828
- color : '#a5a5a5' ,
829
- } ,
820
+ ] as const ;
821
+
822
+ export const avatarContainerStyle = [
823
+ getStaticBackground ( SURFACE_COLOR ) ,
824
+ ... STYLING_FIELDS_CONTAINER_SEQUENCE
825
+ ] as const ;
826
+
827
+ export const avatarLabelStyle = [
828
+ getStaticBackground ( SURFACE_COLOR ) ,
829
+ ... STYLING_FIELDS_SEQUENCE
830
830
] as const ;
831
831
832
832
export const avatarGroupStyle = [
@@ -1578,6 +1578,8 @@ export const RichTextEditorStyle = [
1578
1578
1579
1579
export type QRCodeStyleType = StyleConfigType < typeof QRCodeStyle > ;
1580
1580
export type AvatarStyleType = StyleConfigType < typeof AvatarStyle > ;
1581
+ export type AvatarLabelStyleType = StyleConfigType < typeof avatarLabelStyle > ;
1582
+ export type AvatarContainerStyleType = StyleConfigType < typeof avatarContainerStyle > ;
1581
1583
export type AvatarGroupStyleType = StyleConfigType < typeof avatarGroupStyle > ;
1582
1584
export type FloatButtonStyleType = StyleConfigType < typeof FloatButtonStyle > ;
1583
1585
export type TransferStyleType = StyleConfigType < typeof TransferStyle > ;
You can’t perform that action at this time.
0 commit comments