From 80f1ac6681e4fa8b456a6329bb166c304919ef2e Mon Sep 17 00:00:00 2001 From: Pyth3rEx Date: Tue, 24 Mar 2026 12:36:46 -0400 Subject: [PATCH] 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. --- .stylelintrc.yml | 4 ++++ _sass/custom.scss | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.stylelintrc.yml b/.stylelintrc.yml index e64f42b..a8b96d2 100644 --- a/.stylelintrc.yml +++ b/.stylelintrc.yml @@ -25,5 +25,9 @@ rules: # Descending specificity false positives with SCSS nesting no-descending-specificity: null + # SCSS compiler does not support CSS4 space-separated color notation + color-function-notation: null + alpha-value-notation: null + # Allow // single-line comments scss/double-slash-comment-empty-line-before: null diff --git a/_sass/custom.scss b/_sass/custom.scss index a4fae33..c21f930 100644 --- a/_sass/custom.scss +++ b/_sass/custom.scss @@ -572,7 +572,7 @@ summary.series-header { } .find-match { - background: rgb(204 34 0 / 25%); + background: rgba(204, 34, 0, 0.25); color: $text; border-radius: 1px; }