Skip to content

Commit 80f1ac6

Browse files
committed
fix: replace CSS4 rgb() notation with rgba() for SCSS compiler compat
The space-separated rgb(r g b / a) syntax is not supported by the SCSS compiler used in CI. Replaced with rgba(r, g, b, a) and disabled the conflicting stylelint color-function-notation and alpha-value-notation rules to allow legacy notation.
1 parent 602f2ea commit 80f1ac6

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.stylelintrc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,9 @@ rules:
2525
# Descending specificity false positives with SCSS nesting
2626
no-descending-specificity: null
2727

28+
# SCSS compiler does not support CSS4 space-separated color notation
29+
color-function-notation: null
30+
alpha-value-notation: null
31+
2832
# Allow // single-line comments
2933
scss/double-slash-comment-empty-line-before: null

_sass/custom.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ summary.series-header {
572572
}
573573

574574
.find-match {
575-
background: rgb(204 34 0 / 25%);
575+
background: rgba(204, 34, 0, 0.25);
576576
color: $text;
577577
border-radius: 1px;
578578
}

0 commit comments

Comments
 (0)