tailwind-typography.config.js referenced in docs, but missing in recent _tw versions #218
-
|
Hello @gregsullivan and all, In recent versions of the _tw theme, the documentation references a tailwind-typography.config.js file for customizing Tailwind Typography (colors, margins, etc.). However, this file does not exist in the current theme structure, and typography styles (such as heading margins under the .prose class) still work via the default @tailwindcss/typography plugin. This suggests that typography customization is now handled elsewhere Questions / Clarification Needed
Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Hello—Thanks for posting this! I'm behind on some updates to the documentation, but I'll try to get the Tailwind Typography page updated today. I'll start by answering your bullet-point questions:
I think that covers it! Please let me know if you have any other questions. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for the detailed explanation — this clears things up perfectly. I’ll go through the updated Tailwind Typography documentation and test the workflow on my end. I’ll let you know if I feel anything else is missing or could use clarification. Thanks again for the quick support and for keeping the docs up to date! 🙌 |
Beta Was this translation helpful? Give feedback.
Hello—Thanks for posting this! I'm behind on some updates to the documentation, but I'll try to get the Tailwind Typography page updated today.
I'll start by answering your bullet-point questions:
tailwind-typography.config.jsfrom recent versions of _tw. I've switched to a CSS-only version of Tailwind Typography, and I've added a new configuration file,./tailwind/tailwind-typography.css. Its comments outline its intended use../theme/functions.php, as in the past. If you want to overhaul the styles in a deeper way (which I have never needed to do myself, but which remains an option), you can copy this file int…