Skip to content

Gracefully handle color parsing failures #1363

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

Merged
merged 4 commits into from
May 13, 2025

Conversation

thecrypticace
Copy link
Contributor

Fixes #1362

Basically when we'd see rgb(1rem) and tried to parse it with Culori it would throw an error instead of returning undefined as would normally be the case. Pretty sure this isn't supposed to throw but 🤷‍♂️

@thecrypticace thecrypticace merged commit 9112e96 into main May 13, 2025
12 checks passed
@thecrypticace thecrypticace deleted the fix/catch-culori-parse-errors branch May 13, 2025 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error: Tailwind CSS: Cannot read properties of undefined (reading 'type')
2 participants