0.1.1 • Published 6 months ago
@vyke/tailwind-shortcuts v0.1.1
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
0.1.1
6 months ago