0.0.3 • Published 9 months ago
@simpli-route/tailwind-preset v0.0.3
@simpli-route/tailwind-preset
This package contains the main Tailwind theme configuration file/preset to share between SimpliRoute Design System and any app built using the Design System.
Installation
To install this package, run:
pnpm @simpli-route/tailwind-preset
or
npm install @simpli-route/tailwind-preset`
Usage
To use this package, add it to your Tailwind configuration file:
module.exports = {
presets: [
require('@simpli-route/tailwind-preset') // <- Add this line
],
// ... your other configurations
}
html
<div class="bg-primary-500 text-neutral-50">
This div has a primary background color and light neutral text from the preset.
</div>