Skip to content

fix: SCSS rgb() syntax compatibility with CI compiler#6

Merged
Pyth3rEx merged 1 commit intomainfrom
fix/scss-rgb-syntax
Mar 25, 2026
Merged

fix: SCSS rgb() syntax compatibility with CI compiler#6
Pyth3rEx merged 1 commit intomainfrom
fix/scss-rgb-syntax

Conversation

@Pyth3rEx
Copy link
Copy Markdown
Owner

@Pyth3rEx Pyth3rEx commented Mar 25, 2026

Summary

  • Replaces rgb(204 34 0 / 25%) (CSS4 space-separated notation) with rgba(204, 34, 0, 0.25) — the CI SCSS compiler rejects the modern form
  • Disables color-function-notation and alpha-value-notation stylelint rules to allow legacy rgba() notation without lint errors

Test plan

  • CI lint passes
  • Jekyll build succeeds
  • .find-match highlight colour renders correctly (semi-transparent red)

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.
@Pyth3rEx Pyth3rEx self-assigned this Mar 25, 2026
@Pyth3rEx Pyth3rEx added the enhancement New feature or request label Mar 25, 2026
@Pyth3rEx Pyth3rEx merged commit 9982413 into main Mar 25, 2026
8 checks passed
@Pyth3rEx Pyth3rEx deleted the fix/scss-rgb-syntax branch March 25, 2026 07:05
Pyth3rEx added a commit that referenced this pull request Mar 26, 2026
fix: SCSS rgb() syntax compatibility with CI compiler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant