@vyke/tailwind-shortcuts
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

@vyke/tailwind-shortcuts

Tailwind plugin that provides and easy to create and handle shortcuts inspired by UnoCSS shortcuts.

Installation

npm i @vyke/tailwind-shortcuts

API

shortcuts

Create shortcuts for Tailwind CSS.

shortcuts([
	{
		'btn-primary': 'px-4 py-2 bg-blue-500 text-white rounded-md',
	},
	['size', (value) => `h-${value} w-${value}`, (theme) => theme('spacing')],
])

Others vyke projects

Package Sidebar

Install

npm i @vyke/tailwind-shortcuts

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

6.72 kB

Total Files

7

Last publish

Collaborators

  • albizures