Skip to content

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
Member

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.

2 participants