Customizing Plugins
Explore how to customize Tailwind CSS plugins, focusing on the Typography plugin to style article elements individually. Learn the rules for using prose classes and how to apply utilities to create a clean and maintainable article design.
We'll cover the following...
We'll cover the following...
In this lesson, we’ll learn how to customize plugins so that they can be used in an article. Moving forward, we’ll use the default version, i.e., light theme, so we remove the dark:prose-invert class and set the container background back to bg-sky-50.
Typographic elements
The real power of the Typography plugin is that it provides modifiers for the typographic elements so that we ...