@@ -67,6 +67,28 @@ $input-field-box-width: 348px;
6767$input-field-box-height : 48px ;
6868$input-field-border-radius : 4px ;
6969
70+ // Input field states
71+ $input-border-color-default : $color-dark-grey ;
72+ $input-border-color-hover : #6F6F6F ; // or use $color-old-mid-grey
73+ $input-border-color-focus : $color-green ; // matches system accent
74+ $input-border-color-error : #B00020 ; // add red tone if not defined yet
75+ $input-border-color-disabled : $color-old-light-grey ;
76+
77+ $input-label-color-default : $color-dark-grey ;
78+ $input-label-color-error : #B00020 ;
79+ $input-label-color-disabled : $color-old-grey ;
80+
81+ $input-supporting-text-color : $color-dark-grey ;
82+ $input-supporting-text-error : #B00020 ;
83+
84+ $input-padding-x : 12px ; // horizontal padding
85+ $input-padding-y : 8px ; // vertical padding
86+ $input-icon-gap : 8px ; // space between icon and text
87+ $input-font-size : 16px ;
88+ $input-label-font-size : 14px ;
89+ $input-supporting-font-size : 12px ;
90+
91+
7092$text-area-height : 122px ;
7193$text-area-width : 348px ;
7294$text-area-border-radius : 4px ;
@@ -140,6 +162,27 @@ $bp-below-tablet: '(max-width: #{$screen-tablet - 1})';
140162 --input-field-box-width : #{$input-field-box-width } ;
141163 --input-field-box-height : #{$input-field-box-height } ;
142164 --input-field-border-radius : #{$input-field-border-radius } ;
165+
166+ --input-border-color-default : #{$input-border-color-default } ;
167+ --input-border-color-hover : #{$input-border-color-hover } ;
168+ --input-border-color-focus : #{$input-border-color-focus } ;
169+ --input-border-color-error : #{$input-border-color-error } ;
170+ --input-border-color-disabled : #{$input-border-color-disabled } ;
171+
172+ --input-label-color-default : #{$input-label-color-default } ;
173+ --input-label-color-error : #{$input-label-color-error } ;
174+ --input-label-color-disabled : #{$input-label-color-disabled } ;
175+
176+ --input-supporting-text-color : #{$input-supporting-text-color } ;
177+ --input-supporting-text-error : #{$input-supporting-text-error } ;
178+
179+ --input-padding-x : #{$input-padding-x } ;
180+ --input-padding-y : #{$input-padding-y } ;
181+ --input-icon-gap : #{$input-icon-gap } ;
182+ --input-font-size : #{$input-font-size } ;
183+ --input-label-font-size : #{$input-label-font-size } ;
184+ --input-supporting-font-size : #{$input-supporting-font-size } ;
185+
143186
144187 // Text area
145188 --text-area-height : #{$text-area-height } ;
0 commit comments