File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
core/src/components/input Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1+ @use " ../../themes/ionic/ionic.globals.scss" as globals ;
2+
3+ :host (.input-fill-outline ) {
4+ --background : #{globals .$ion-primitives-base-white } ;
5+ --border-color : #{globals .$ion-primitives-neutral-500 } ;
6+ }
Original file line number Diff line number Diff line change 11@use " ../../themes/ionic/ionic.globals.scss" as globals ;
22@use " ./input.common" ;
3+ @forward " ./input.ionic.outline.scss" ;
34@forward " ./input.ionic.solid.scss" ;
45// Ionic Input
56// --------------------------------------------------
67
78:host {
89 --color : #{globals .$ion-primitives-neutral-1200 } ;
910 --border-width : #{globals .$ion-border-size-025 } ;
10- --border-color : #{globals .$ion-primitives-neutral-500 } ;
1111 --border-radius : #{globals .$ion-border-radius-100 } ;
1212 --highlight-color-valid : #{globals .$ion-semantics-success-900 } ;
1313 --highlight-color-invalid : #{globals .$ion-border-danger-default } ;
1414 --padding-start : #{globals .$ion-space-300 } ;
1515 --padding-end : #{globals .$ion-space-300 } ;
1616 --placeholder-color : #{globals .$ion-primitives-neutral-800 } ;
1717 --placeholder-opacity : 1 ;
18- --background : #{globals .$ion-primitives-base-white } ;
1918
2019 @include globals .typography (globals .$ion-body-md-regular );
2120}
Original file line number Diff line number Diff line change 1111 * If the input has a validity state, the
1212 * border should reflect that as a color.
1313 */
14- :host (.has-focus. input-fill-solid.ion-valid ) .native-wrapper ,
14+ :host (.input-fill-solid.has-focus .ion-valid ) .native-wrapper ,
1515:host (.input-fill-solid.ion-touched.ion-invalid ) .native-wrapper {
1616 --border-color : var (--highlight-color );
1717}
You can’t perform that action at this time.
0 commit comments