@mayo-ui/tailwind-preset

0.10.0 • Public • Published

Mayo UI

tailwindcss ready to go preset

Installation

Install the preset first:

yarn add @mayo-ui/tailwind-preset

Then just add preset to your tailwindcss.config.js:

module.exports = {
  presets: [require('@mayo-ui/tailwind-preset')],
}

That's it! Now you're able to use all the design tokens, like .text-headline-01 or .bg-leaf-500.

Notice about mono text styles

If you wanna to use .text-mono-01 or .text-mono-02 don't forget to add .font-mono class too, because we can't apply utilities which potentially don't exist by @apply to our utilities.

Dependents (0)

Package Sidebar

Install

npm i @mayo-ui/tailwind-preset

Weekly Downloads

0

Version

0.10.0

License

MIT

Unpacked Size

8.31 kB

Total Files

7

Last publish

Collaborators

  • lamartire