Skip to content

Commit a7978a1

Browse files
committed
style: adjust stylelint for color-named rule in SCSS color palette
1 parent f6780a2 commit a7978a1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/sage-assets/lib/stylesheets/tokens/_color_palette.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ $sage-color-default-name: "grey 500";
307307
$value: if($value == null, $default-value, $value);
308308

309309
// Handle aliases (same as sage-color)
310+
// stylelint-disable color-named
310311
@if $base-str == "orange" {
311312
$base: mercury;
312313
$base-str: "mercury";
@@ -384,6 +385,7 @@ $sage-color-default-name: "grey 500";
384385
$value: 950;
385386
}
386387
}
388+
// stylelint-enable color-named
387389

388390
// Use old Style Dictionary lookup
389391
// First verify the color exists in the map

0 commit comments

Comments
 (0)