Skip to content

Commit

Permalink
fix(chips): not visible in high contrast mode (#5338)
Browse files Browse the repository at this point in the history
Fixes `md-chip` instances not being visible for users running high contrast mode.
  • Loading branch information
crisbeto authored and mmalerba committed Jul 7, 2017
1 parent 36dc75a commit a5a8ff2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/lib/chips/chips.scss
@@ -1,3 +1,5 @@
@import '../core/a11y/a11y';

$mat-chip-vertical-padding: 8px;
$mat-chip-horizontal-padding: 12px;

Expand All @@ -23,6 +25,10 @@ $mat-chips-chip-margin: $mat-chip-horizontal-padding / 4;
margin: 0 $mat-chips-chip-margin 0 0;
}
}

@include cdk-high-contrast {
outline: solid 1px;
}
}

.mat-chip-list-stacked .mat-chip-list-wrapper {
Expand Down

0 comments on commit a5a8ff2

Please sign in to comment.