Typography Plugin
Radix Colors themes for Tailwind Typography
The typography plugin is an extension of the official Tailwind CSS Typography plugin, which adds color themes for each of the gray scales provided by Radix Colors.
-
Installation
Install
windy-radix-typography
and its peer dependencies using your package manager of choice.Note: This plugin relies on
windy-radix-palette
being installed and used in your Tailwind config.npm install --save-dev windy-radix-typography @tailwindcss/typography
-
Configuration
Add the plugin to your
tailwind.config.js
file.module.exports = { plugins: [ require('windy-radix-palette'), require('@tailwindcss/typography'), require('windy-radix-typography') ] };
-
Basic Usage
Prose themes for each of the Radix Colors grayscales should now be available for use!
<div class="prose prose-slate">...</div>