@wheatjs/windi-convert

0.0.7 • Public • Published

WindiCSS Attributify Converter

Run

npx @wheatjs/windi-convert 

Warning this is experimental. Backup your project before running this tool.

Example

Input

<input
  id="input"
  type="text"
  class="px-4 py-2 text-sm text-center bg-transparent border border-gray-200 rounded outline-none active:outline-none dark:border-gray-700"
>

Output

<input
  id="input"
  type="text"
  p="x-4 y-2"
  text="sm center"
  bg="transparent"
  border="~ gray-200 rounded dark:gray-700"
  outline="none active:none"
>

Readme

Keywords

none

Package Sidebar

Install

npm i @wheatjs/windi-convert

Weekly Downloads

1

Version

0.0.7

License

MIT

Unpacked Size

45.7 kB

Total Files

10

Last publish

Collaborators

  • wheatley