0.2.0 • Published 3 years ago

extended-twind-theme v0.2.0

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

Example using Twind

Initial Setup

import { setup } from 'twind';
import { plugins } from 'extended-twind-theme';

setup({
  plugins: {
    ...plugins,
  },
});

Now you can use these utility classes!

import { tw } from 'twind';

document.getElementById('app').innerHTML = `
  <div class="${tw(['no-scrollbar', 'h-screen', 'overflow-y-auto'])}">
    ${Array.from({ length: 1000 }, () => 'Very long content<br />')}
  </div>
`;
0.2.0

3 years ago