Skip to content

Commit e75cb81

Browse files
fix: hcm for PasswordInput
- fixed hcm style for PasswordInput Contributes-to: #19183 Signed-off-by: Mariya George [email protected]
1 parent 52445b5 commit e75cb81

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

.all-contributorsrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1857,6 +1857,15 @@
18571857
"contributions": [
18581858
"code"
18591859
]
1860+
},
1861+
{
1862+
"login": "mariyageorge01",
1863+
"name": "Mariya George",
1864+
"avatar_url": "https://avatars.githubusercontent.com/u/166684108?v=4",
1865+
"profile": "https://github.com/mariyageorge01",
1866+
"contributions": [
1867+
"code"
1868+
]
18601869
}
18611870
],
18621871
"commitConvention": "none"

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,7 @@ check out our [Contributing Guide](/.github/CONTRIBUTING.md) and our
337337
<td align="center"><a href="https://github.com/warrenmblood"><img src="https://avatars.githubusercontent.com/u/69060697?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Warren Blood</b></sub></a><br /><a href="https://github.com/carbon-design-system/carbon/commits?author=warrenmblood" title="Code">💻</a></td>
338338
<td align="center"><a href="https://github.com/vcherneny"><img src="https://avatars.githubusercontent.com/u/11604315?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Vlad Cherneny</b></sub></a><br /><a href="https://github.com/carbon-design-system/carbon/commits?author=vcherneny" title="Code">💻</a></td>
339339
<td align="center"><a href="https://github.com/murito"><img src="https://avatars.githubusercontent.com/u/2628140?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Francisco Alcalá</b></sub></a><br /><a href="https://github.com/carbon-design-system/carbon/commits?author=murito" title="Code">💻</a></td>
340+
<td align="center"><a href="https://github.com/mariyageorge01"><img src="https://avatars.githubusercontent.com/u/166684108?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Mariya George</b></sub></a><br /><a href="https://github.com/carbon-design-system/carbon/commits?author=mariyageorge01" title="Code">💻</a></td>
340341
</tr>
341342
</table>
342343

packages/styles/scss/components/text-input/_text-input.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,8 @@
172172
.#{$prefix}--btn.#{$prefix}--text-input--password__visibility__toggle.#{$prefix}--tooltip__trigger:focus
173173
svg {
174174
fill: $icon-primary;
175+
176+
@include high-contrast-mode('icon-fill');
175177
}
176178

177179
.#{$prefix}--text-input--invalid,

packages/styles/scss/utilities/_high-contrast-mode.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
@mixin high-contrast-mode($type: '') {
1414
@media screen and (-ms-high-contrast: active), (forced-colors: active) {
1515
@if ($type == 'icon-fill') {
16-
fill: ButtonText;
16+
fill: currentColor;
1717
}
1818

1919
@if ($type == 'focus') {

0 commit comments

Comments
 (0)