Skip to content

Commit 112fc3c

Browse files
committed
refactor(material/chips): update default color
Updates previous change to set default border color to
1 parent d40edb5 commit 112fc3c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/material/chips/chip.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,7 @@ $fallbacks: m3-chip.get-tokens();
650650
// the focus indicator is sufficiently contrastive and renders appropriately.
651651
$default-border-width: focus-indicators-private.$default-border-width;
652652
$border-width: var(--mat-focus-indicator-border-width, #{$default-border-width});
653+
$default-border-color: var(--mat-focus-indicator-border-color, #{focus-indicators-private.$default-border-color});
653654
$offset: calc(#{$border-width} + 2px);
654655

655656
content: '';
@@ -659,7 +660,7 @@ $fallbacks: m3-chip.get-tokens();
659660
margin: calc(#{$offset} * -1);
660661
border-width: $border-width;
661662
border: solid;
662-
border-color: var(--mat-focus-indicator-border-color), black;
663+
border-color: $default-border-color;
663664
opacity: 0;
664665
height: auto;
665666
}

0 commit comments

Comments
 (0)