We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm using Satori by way of the Eleventy OG plugin.
I'm getting an error with the following css:
background-image: linear-gradient( to bottom right, transparent 50%, #e70565 50% ), linear-gradient(#e70565, #e70565), linear-gradient(to top left, transparent 50%, #e70565 50%); background-repeat: no-repeat; background-size: 10px 68%, calc(100% - 20px) 68%, 10px 68%;
The error is: e70565, #e70565): Missing comma before color stops
e70565, #e70565): Missing comma before color stops
Confusingly, the same css with a different colour does not error:
background-image: linear-gradient( to bottom right, transparent 50%, #b393d3 50% ), linear-gradient(#b393d3, #b393d3), linear-gradient(to top left, transparent 50%, #b393d3 50%); background-repeat: no-repeat; background-size: 10px 68%, calc(100% - 20px) 68%, 10px 68%;
however, it does not render correctly:
When rendered on screen (not Satori), these linear gradients add up to look like this:
Error with color stops No error, but rendering incorrectly
The text was updated successfully, but these errors were encountered:
this errors for me as well:
background: 'linear-gradient(0.05turn, #6c47d7 5%, #1e1f21 70%)',
I get:
Error: .05turn, #6c47d7 5%, #1e1f21 70%): Missing comma before color stops
Sorry, something went wrong.
I was having the same issue with this gradient: linear-gradient(#0B1C31, #1E67B7)
linear-gradient(#0B1C31, #1E67B7)
I fixed it by prepending the direction: linear-gradient(to bottom, #0B1C31, #1E67B7)
linear-gradient(to bottom, #0B1C31, #1E67B7)
No branches or pull requests
Bug report
I'm using Satori by way of the Eleventy OG plugin.
Description / Observed Behavior
I'm getting an error with the following css:
The error is:
e70565, #e70565): Missing comma before color stops
Confusingly, the same css with a different colour does not error:
however, it does not render correctly:
Expected Behavior
When rendered on screen (not Satori), these linear gradients add up to look like this:
Reproduction
Error with color stops
No error, but rendering incorrectly
The text was updated successfully, but these errors were encountered: