Skip to content
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

Error: Failed to parse declaration "textShadow: 15" in CSS rule textShadow: 0 2px 4px rgba(8, 15, 30, 50%). #441

Closed
jahirfiquitiva opened this issue Apr 12, 2023 · 0 comments · Fixed by #450
Labels
bug Something isn't working
Milestone

Comments

@jahirfiquitiva
Copy link

jahirfiquitiva commented Apr 12, 2023

Bug report

Description / Observed Behavior

What kind of issues did you encounter with Satori?

The image generation fails when using an rgba value like rgba(8, 15, 30, 50%) or rgba(8, 15, 30, 0.5)

It works fine with rgba(8 15 30 / 0.5) format though

Expected Behavior

How did you expect Satori to behave here?

The image generation should work fine as those are valid CSS color values

Reproduction

Reproduction link

Additional Context

Satori version, and any other context about the problem here.

Using @vercel/og 0.5.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants