@kematzy/tailwind v0.0.6
@kematzy/tailwind
A personal collection of Tailwind CSS plugins for faster development
Available plugins:
- Colors -
plugins/colorsprovides a range of theme colours as CSS variables together with Tailwind classes
Alerts -
plugins/alertsprovides styling for alert componentsBadges -
plugins/badgesprovides styling for badge componentsButtons -
plugins/buttonsprovides styling for button componentsScrollbars -
plugins/scrollbarsprovides better styling for scrollbars on some browsersShiki -
plugins/shikiprovides formatting for Code Blocks in the styling of VS CodeTabs -
plugins/tabsprovides easy tab formatting supportTables -
plugins/tablesprovides easy table formatting supportText-Columns -
plugins/text-columnssimple plugin that provides easy text columns supportDebug -
plugins/debugprovides some media query guides based upon the browser width
More plugins will be added
Usage
Install the NPM package first of all
pnpm add -d @kematzy/tailwindThen in top of your tailwind.config.js file extract the required plugins like this:
// import required plugins
import {
colors, // note colors must always be loaded first
alerts,
badges,
buttons,
scrollbars,
shiki,
textColumns,
tabs,
tables
debug
} from '@kematzy/tailwind'
/** @type {import('tailwindcss').Config} */
module.exports = {
// snip
}Then add the plugin to the plugins: [] array like this.
// snip
plugins: [
colors,
alerts,
badges,
buttons,
scrollbars,
shiki,
textColumns,
tabs,
tables,
debug,
],
// snip