Skip to content

Commit 435b90b

Browse files
committed
refactor(material/chips): update default color
Updates previous change to set default border color to
1 parent 607b01e commit 435b90b

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
@@ -670,6 +670,7 @@ $fallbacks: m3-chip.get-tokens();
670670
// the focus indicator is sufficiently contrastive and renders appropriately.
671671
$default-border-width: focus-indicators-private.$default-border-width;
672672
$border-width: var(--mat-focus-indicator-border-width, #{$default-border-width});
673+
$default-border-color: var(--mat-focus-indicator-border-color, #{focus-indicators-private.$default-border-color});
673674
$offset: calc(#{$border-width} + 2px);
674675

675676
content: '';
@@ -679,7 +680,7 @@ $fallbacks: m3-chip.get-tokens();
679680
margin: calc(#{$offset} * -1);
680681
border-width: $border-width;
681682
border: solid;
682-
border-color: var(--mat-focus-indicator-border-color), black;
683+
border-color: $default-border-color;
683684
opacity: 0;
684685
height: auto;
685686
}

0 commit comments

Comments
 (0)