Skip to content

Commit d0c513d

Browse files
author
Hector Arce De Las Heras
committed
Update Kubit and Wireframe styles
1 parent 538f24b commit d0c513d

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,13 @@ const commonProps = {
8484
inputIconContainer: {
8585
position: 'absolute',
8686
top: '50%',
87-
left: '0.625rem',
8887
transform: 'translate(0%, -50%)',
88+
left: '0.625rem',
8989
},
9090
inputIconContainerRight: {
91+
position: 'absolute',
92+
top: '50%',
93+
transform: 'translate(0%, -50%)',
9194
left: 'auto',
9295
right: '1.1rem',
9396
},
@@ -157,6 +160,9 @@ const errorProps = {
157160
color: COLORS.FEEDBACK.color_feedbackError_font_50,
158161
},
159162
errorMessageContainer: {
163+
display: 'flex',
164+
flex_direction: 'row',
165+
gap: SPACINGS.spacing_100,
160166
margin_top: SPACINGS.spacing_150,
161167
margin_bottom: SPACINGS.spacing_150,
162168
padding_left: SPACINGS.spacing_0,
@@ -165,9 +171,6 @@ const errorProps = {
165171
width: SIZES.size_150,
166172
height: SIZES.size_150,
167173
},
168-
errorMessageIconContainer: {
169-
margin_right: SPACINGS.spacing_100,
170-
},
171174
placeholder: {
172175
...commonProps.placeholder,
173176
color: COLORS.FEEDBACK.color_feedbackError_font_50,

src/designSystem/kubitWireframe/commons/components/input/styles.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,13 @@ const commonProps = COLORS => ({
8080
inputIconContainer: {
8181
position: 'absolute',
8282
top: '50%',
83-
left: '0.625rem',
8483
transform: 'translate(0%, -50%)',
84+
left: '0.625rem',
8585
},
8686
inputIconContainerRight: {
87+
position: 'absolute',
88+
top: '50%',
89+
transform: 'translate(0%, -50%)',
8790
left: 'auto',
8891
right: '1.1rem',
8992
},

src/designSystem/kubitWireframe/commons/components/text/styles.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ export const TEXT_STYLES: TextStylesType<TextVariantType> = {
4040
font_family: FONT_FAMILY.font_family_nunito_sans,
4141
typography: PARAGRAPH.CAPTION,
4242
},
43-
4443
[TextVariantType.HEADING_DISPLAY_1_EXTENDED]: {
4544
font_family: FONT_FAMILY.font_family_nunito_sans,
4645
typography: HEADING.DISPLAY,

0 commit comments

Comments
 (0)