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

Fix bug related to prose color helpers not working as expected #107

Merged
merged 1 commit into from
Dec 14, 2020

Conversation

simensen
Copy link
Contributor

There is a bug in how the prose-{color} helpers are generated. Since this is reduce and not map, returning {} was effectively erasing any existing valid colors (usually the default colors) if someone created a custom color (by extending colors) that had no 600 value set.

Proof of concept here:

https://play.tailwindcss.com/IVTa5zHqPJ?file=config

Thanks to @RobinMalfait for helping me figure out the best way to move this issue forward.

@RobinMalfait
Copy link
Contributor

Hey! Thank you for your PR!
Much appreciated! 🙏

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.

None yet

2 participants