Fedi UI Tailwind Theme
A TailwindCSS plugin that enables you to re-use the themed CSS classes used in the @fedibtc/ui UI library.
Getting Started
1. Set up TailwindCSS
Install and set up Tailwind CSS with PostCSS and Autoprefixer if you haven't already.
npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p
2. Install the Plugin
Install the plugin from the command line
npm install @fedibtc/tailwind-theme
3. Add it to tailwind.config.js
Import and add the plugin to the plugins
entry in tailwind.config.js
// tailwind.config.js
module.exports = {
+ plugins: [require("@fedibtc/tailwind-theme")]
}
Links