1.1.1 • Published 6 months ago

shadow-tailwind v1.1.1

Weekly downloads
-
License
-
Repository
github
Last release
6 months ago

shadow-tailwind

A Vite plugin to use computed Tailwind styles of files in your code. Built to use within lit shadow DOM.

Example

import { LitElement, html, unsafeCSS } from "lit";
import TAILWIND_CSS from "shadow-tailwind:css";

export class Component extends LitElement {
  static styles = unsafeCSS(TAILWIND_CSS);

  render() {
    return html`
      <div class="text-xl bg-red-300">Tailwind</div>
    `;
  }
}
1.1.1

6 months ago

1.1.0

6 months ago

1.0.1

7 months ago

1.0.0

7 months ago