File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
src/scss/components/text-input Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -62,9 +62,9 @@ hx-text-control {
6262 -ms-grid-column : 2 ;
6363 -ms-grid-row : 2 ;
6464 grid-area : control;
65- height : 2 rem ;
66- min-width : 8rem ; // ~16 chars
67- padding : 0 0.75 rem ;
65+ height : $rax-spacing-800 ;
66+ min-width : 8rem ; // there is no token for min width
67+ padding : $rax-spacing-0 $rax-spacing-300 ;
6868 }
6969
7070 > .hxPrefix {
@@ -76,7 +76,7 @@ hx-text-control {
7676 -ms-grid-row : 2 ;
7777 grid-area : prefix ;
7878 justify-self : $justify ;
79- margin-right : 0.25 rem ;
79+ margin-right : $rax-spacing-100 ;
8080 }
8181
8282 > .hxSuffix {
@@ -88,7 +88,7 @@ hx-text-control {
8888 -ms-grid-row : 2 ;
8989 grid-area : suffix ;
9090 justify-self : $justify ;
91- margin-left : 0.25 rem ;
91+ margin-left : $rax-spacing-100 ;
9292 }
9393
9494 > p ,
@@ -137,9 +137,10 @@ hx-text-control {
137137 }
138138
139139 > p .hxErrorText {
140- color : $red-status-500 ;
141- font-size : 0.75rem ;
142- margin-top : 0 ;
140+ color : $rax-component-input-error-border-bottom-color ;
141+ color : var (--hxTextControl-hxErrorText , $rax-component-input-error-border-bottom-color );
142+ font-size : $rax-font-size-50 ;
143+ margin-top : $rax-spacing-0 ;
143144 width : 100% ; // for IE11
144145 }
145146}
You can’t perform that action at this time.
0 commit comments