@simpli-route/tailwind-preset
v0.0.3
Published
Main Tailwind theme config file/preset to share between SimpliRoute Design System and any app build using the Design System.
Downloads
753
Maintainers
Readme
@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-presetor
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>