diff options
Diffstat (limited to 'src/objects/_text-field.scss')
-rw-r--r-- | src/objects/_text-field.scss | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/objects/_text-field.scss b/src/objects/_text-field.scss index ac48216..4201f00 100644 --- a/src/objects/_text-field.scss +++ b/src/objects/_text-field.scss | |||
@@ -39,11 +39,11 @@ | |||
39 | 39 | ||
40 | --hover: ( | 40 | --hover: ( |
41 | --border: iro.props-get(--colors --accent --error, $global: true), | 41 | --border: iro.props-get(--colors --accent --error, $global: true), |
42 | --shadow: iro.props-get(--colors --text-input --error --shadow, null), | 42 | --shadow: 0 0 0 0 transparent, |
43 | ), | 43 | ), |
44 | --focus: ( | 44 | --focus: ( |
45 | --border: iro.props-get(--colors --accent --error, $global: true), | 45 | --border: iro.props-get(--colors --accent --error, $global: true), |
46 | --shadow: iro.props-get(--colors --text-input --error --shadow, null), | 46 | --shadow: 0 0 0 0 transparent, |
47 | ), | 47 | ), |
48 | ), | 48 | ), |
49 | --disabled: ( | 49 | --disabled: ( |
@@ -75,7 +75,7 @@ | |||
75 | pointer-events: none; | 75 | pointer-events: none; |
76 | } | 76 | } |
77 | 77 | ||
78 | @include iro.bem-elem('input') { | 78 | @include iro.bem-elem('native') { |
79 | @include typography.set-font(vars.$font--main, (size: 1em, line-height: vars.$line-height)); | 79 | @include typography.set-font(vars.$font--main, (size: 1em, line-height: vars.$line-height)); |
80 | 80 | ||
81 | color: iro.props-get(--colors --text); | 81 | color: iro.props-get(--colors --text); |
@@ -144,7 +144,7 @@ | |||
144 | @include iro.bem-modifier('fill') { | 144 | @include iro.bem-modifier('fill') { |
145 | padding: 0; | 145 | padding: 0; |
146 | 146 | ||
147 | @include iro.bem-elem('input') { | 147 | @include iro.bem-elem('native') { |
148 | padding: iro.props-get(--dims --padding-y) iro.props-get(--dims --padding-x); | 148 | padding: iro.props-get(--dims --padding-y) iro.props-get(--dims --padding-x); |
149 | } | 149 | } |
150 | } | 150 | } |
@@ -152,7 +152,7 @@ | |||
152 | @include iro.bem-is('disabled') { | 152 | @include iro.bem-is('disabled') { |
153 | background-color: iro.props-get(--colors --disabled --bg); | 153 | background-color: iro.props-get(--colors --disabled --bg); |
154 | 154 | ||
155 | @include iro.bem-elem('input') { | 155 | @include iro.bem-elem('native') { |
156 | color: iro.props-get(--colors --disabled --text); | 156 | color: iro.props-get(--colors --disabled --text); |
157 | 157 | ||
158 | &::placeholder { | 158 | &::placeholder { |