@vyke/tailwind-shortcuts@0.1.1
latest
It is unknown whether this package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
JSR Score
82%
Published
3 months ago (0.1.1)
@vyke/tailwind-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
Add Package
deno add jsr:@vyke/tailwind-shortcuts
Import symbol
import * as mod from "@vyke/tailwind-shortcuts";
---- OR ----
Import directly with a jsr specifier
import * as mod from "jsr:@vyke/tailwind-shortcuts";
Add Package
npx jsr add @vyke/tailwind-shortcuts
Import symbol
import * as mod from "@vyke/tailwind-shortcuts";
Add Package
yarn dlx jsr add @vyke/tailwind-shortcuts
Import symbol
import * as mod from "@vyke/tailwind-shortcuts";
Add Package
pnpm dlx jsr add @vyke/tailwind-shortcuts
Import symbol
import * as mod from "@vyke/tailwind-shortcuts";
Add Package
bunx jsr add @vyke/tailwind-shortcuts
Import symbol
import * as mod from "@vyke/tailwind-shortcuts";