-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alternative formatting CSS code rgba (Jekyll sass doesn't like spaces) #1778
Comments
FWIW this is just Jekyll acting up, this is the functional color syntax: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgba() |
@tobiasahlin Does this mean you're against approving this PR to change the CSS, and actually want them to fix the jekyll sass compiler? I was using the marketing css in a Github Page. And it screamed error. I created an issue on Jekyll-sass-converter as well, would the above PR be acceptable as a quick fix? |
Not against a fix at all if this error is being thrown on GitHub Pages 🙏 just want to call out that this formatting is not "wrong" from a standards point of view. We can totally fix it locally while encouraging that it's also fixed in the converter (like you just did—thanks for opening that issue @svrooij!) |
And that is why I also changed the title of this issue. 😄 |
The following code is incorrect:
The
rgba
function requires 4 arguments, sorgba(255 255 255 / 0.15)
should bergba(255, 255, 255, 0.15)
.At least that fixed my Jekyll error:
css/src/marketing/buttons/button.scss
Line 16 in c65be7f
and
css/src/marketing/buttons/button.scss
Line 32 in c65be7f
The text was updated successfully, but these errors were encountered: