Skip to content

Commit f87e3c9

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

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/material/chips/chip.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -649,8 +649,9 @@ $fallbacks: m3-chip.get-tokens();
649649
// For the chip element, default inset/offset values are necessary to ensure that
650650
// the focus indicator is sufficiently contrastive and renders appropriately.
651651
$default-border-width: focus-indicators-private.$default-border-width;
652+
// stylelint-disable-next-line max-line-length
653+
$border-color: var(--mat-focus-indicator-border-color, #{focus-indicators-private.$default-border-color});
652654
$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});
654655
$offset: calc(#{$border-width} + 2px);
655656

656657
content: '';
@@ -660,7 +661,7 @@ $fallbacks: m3-chip.get-tokens();
660661
margin: calc(#{$offset} * -1);
661662
border-width: $border-width;
662663
border: solid;
663-
border-color: $default-border-color;
664+
border-color: $border-color;
664665
opacity: 0;
665666
height: auto;
666667
}

0 commit comments

Comments
 (0)