1.0.4 • Published 3 years ago

tailwind-tools v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

tailwind-tools

Preview

Figma extension features:

  • Convert Figma CSS rules to Tailwind classes automatically right in the Figma inspector pane. Supports Tailwind JIT as well as Tailwind 2.2 opacity shorthand syntax
  • Automatically get a set of responsive Tailwind classes by clicking elements in the Figma window.

Library functions:

How to use as a bookmarklet

Clone this repository, then run:

pnpm run build-bookmarklet <path-to-your-tailwind-config-file>

Copy the built output from dist/bookmarklet.bundle.js, and paste it into a new bookmarklet (but make sure to prepend javascript: to it).

Open a Figma page and click the bookmarklet to activate the translation functionality and the responsive helper.

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago