Skip to content

Commit 24110dc

Browse files
committed
refactor(material/chips): update default color
Updates previous change to set default border color to
1 parent 8440748 commit 24110dc

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
@@ -680,6 +680,7 @@ $token-slots: m2-chip.get-token-slots();
680680
// the focus indicator is sufficiently contrastive and renders appropriately.
681681
$default-border-width: focus-indicators-private.$default-border-width;
682682
$border-width: var(--mat-focus-indicator-border-width, #{$default-border-width});
683+
$default-border-color: var(--mat-focus-indicator-border-color, #{focus-indicators-private.$default-border-color});
683684
$offset: calc(#{$border-width} + 2px);
684685

685686
content: '';
@@ -689,7 +690,7 @@ $token-slots: m2-chip.get-token-slots();
689690
margin: calc(#{$offset} * -1);
690691
border-width: $border-width;
691692
border: solid;
692-
border-color: var(--mat-focus-indicator-border-color), black;
693+
border-color: $default-border-color;
693694
opacity: 0;
694695
height: auto;
695696
}

0 commit comments

Comments
 (0)