Skip to content

Commit d39e72b

Browse files
author
Hector Arce De Las Heras
committed
Update radioButtonGroup styles
1 parent 91340da commit d39e72b

File tree

1 file changed

+7
-0
lines changed
  • src/designSystem/kubit/components/radioButtonGroup

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import {
55
BORDERS,
66
COLORS,
77
FONT_WEIGHT,
8+
PARAGRAPH,
89
RADIUS,
910
SIZES,
1011
SPACINGS,
@@ -35,6 +36,12 @@ const commonVariantsTokens = {
3536
border_style: 'solid',
3637
border_width: BORDERS.border_50,
3738
},
39+
infoIconContainer: {
40+
display: 'inline-flex',
41+
//calc to position the icon in the middle of the line height is: (line_height - icon_height) / 2
42+
translate: `0rem calc((${PARAGRAPH.LARGE.DESKTOP.line_height} - ${SIZES.size_150})/2)`,
43+
margin_left: SPACINGS.spacing_100,
44+
},
3845
label: {
3946
font_variant: TextVariantType.PARAGRAPH_SMALL_EXTENDED,
4047
font_weight: FONT_WEIGHT.font_weight_500,

0 commit comments

Comments
 (0)