@simpli-route/tailwind-preset
Version:
Main Tailwind theme config file/preset to share between SimpliRoute Design System and any app build using the Design System.
36 lines (25 loc) • 709 B
Markdown
# @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:
```bash
pnpm @simpli-route/tailwind-preset
```
or
```bash
npm install @simpli-route/tailwind-preset`
```
## Usage
To use this package, add it to your Tailwind configuration file:
```javascript
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>
```