pintariching / railwind

Tailwind compiler rewritten in rust
MIT License
317 stars 9 forks source link

Add `prose`, `prose-<size>` and `prose-<color>` classes #39

Open nokome opened 1 year ago

nokome commented 1 year ago

This PR implements the prose, prose-<size> and prose-<color> classes of the Tailwind typography plugin (https://tailwindcss.com/docs/typography-plugin).

This is currently a draft PR as I'd like to get feedback on the approach I've taken before finishing it off (adding the non-default gray scales and sizes).

I haven't yet considered how to implement:

pintariching commented 1 year ago

I'm not exactly sure how to implement plugins. Generally I think they shouldn't be tied to the core compiler but somehow separated so that you can have your own plugin without needing to rewrite the core logic.