Skip to content

Commit 8995641

Browse files
author
Kubit
committed
New styles to mediaButton component
1 parent 76d7609 commit 8995641

File tree

1 file changed

+20
-4
lines changed
  • src/designSystem/kubit/components/mediaButton

1 file changed

+20
-4
lines changed

src/designSystem/kubit/components/mediaButton/styles.ts

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,24 +25,39 @@ const commonDefaultProps = {
2525
icon: {
2626
color: COLORS.BRAND.color_brand_bg_50,
2727
disabled: {
28-
color: COLORS.ACCENT.color_accent_default_bg_100,
28+
color: COLORS.DISABLED.color_accentDisabled_font_100,
2929
},
3030
},
3131
iconToTransition: {
3232
color: COLORS.BRAND.color_brand_bg_50,
3333
},
3434
loader: {
35-
variant: LoaderVariantType.PRIMARY_WHITE,
35+
variant: LoaderVariantType.PRIMARY_RED,
36+
cursor: 'not-allowed',
3637
},
3738
};
3839

3940
export const MEDIA_BUTTON_STYLES: MediaButtonStylesType<MediaButtonVariantType> = {
4041
[MediaButtonVariantType.DEFAULT]: {
42+
[MediaButtonSizeType.EXTRA_LARGE]: {
43+
...commonDefaultProps,
44+
container: {
45+
...commonContainerProps,
46+
background_color: COLORS.NEUTRAL.color_neutral_bg_250,
47+
},
48+
buttonContainer: {
49+
...commonButtonContainerProps,
50+
width: SPACINGS.spacing_650,
51+
height: SPACINGS.spacing_650,
52+
min_width: SPACINGS.spacing_650,
53+
min_height: SPACINGS.spacing_650,
54+
},
55+
},
4156
[MediaButtonSizeType.LARGE]: {
4257
...commonDefaultProps,
4358
container: {
4459
...commonContainerProps,
45-
background_color: COLORS.NEUTRAL.color_neutral_bg_100,
60+
background_color: COLORS.NEUTRAL.color_neutral_bg_250,
4661
},
4762
buttonContainer: {
4863
...commonButtonContainerProps,
@@ -56,14 +71,15 @@ export const MEDIA_BUTTON_STYLES: MediaButtonStylesType<MediaButtonVariantType>
5671
...commonDefaultProps,
5772
container: {
5873
...commonContainerProps,
59-
background_color: COLORS.NEUTRAL.color_neutral_bg_100,
74+
border_radius: RADIUS.radius_00,
6075
},
6176
buttonContainer: {
6277
...commonButtonContainerProps,
6378
width: SPACINGS.spacing_400,
6479
height: SPACINGS.spacing_400,
6580
min_width: SPACINGS.spacing_400,
6681
min_height: SPACINGS.spacing_400,
82+
margin: SPACINGS.spacing_0,
6783
},
6884
},
6985
},

0 commit comments

Comments
 (0)