Skip to content

Commit efdf78b

Browse files
committed
refactor(material/chips): fix lint errors
Updates previous changes to disable lint errors.
1 parent b857ac6 commit efdf78b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/material/chips/chip.scss

+3-2
Original file line numberDiff line numberDiff line change
@@ -679,8 +679,9 @@ $token-slots: m2-chip.get-token-slots();
679679
// For the chip element, default inset/offset values are necessary to ensure that
680680
// the focus indicator is sufficiently contrastive and renders appropriately.
681681
$default-border-width: focus-indicators-private.$default-border-width;
682+
// stylelint-disable-next-line max-line-length
683+
$border-color: var(--mat-focus-indicator-border-color, #{focus-indicators-private.$default-border-color});
682684
$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});
684685
$offset: calc(#{$border-width} + 2px);
685686

686687
content: '';
@@ -690,7 +691,7 @@ $token-slots: m2-chip.get-token-slots();
690691
margin: calc(#{$offset} * -1);
691692
border-width: $border-width;
692693
border: solid;
693-
border-color: $default-border-color;
694+
border-color: $border-color;
694695
opacity: 0;
695696
height: auto;
696697
}

0 commit comments

Comments
 (0)