How to use tailwindcss-won - 1 common examples

To help you get started, we’ve selected a few tailwindcss-won examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github dvkndn / typed-tailwind / convert / src / index.ts View on Github external
return new Promise((resolve, reject) => {
    const config = getConfig(configStr);
    if (typeof config === "string") { return reject(config); }
    postcss([
      tailwindcss(withSafeSeparator(config))
    ])
      .process("@tailwind utilities;", { from: undefined })
      .then(getSelectors)
      .then(getClasses)
      .then(restoreSeparator(config))
      .then(getFile(config))
      .then(resolve)
      .catch(reject);
  });
}

tailwindcss-won

A utility-first CSS framework for rapidly building custom user interfaces.

MIT
Latest version published 5 years ago

Package Health Score

60 / 100
Full package analysis

Popular tailwindcss-won functions

Similar packages