2.2.0 • Published 10 months ago
@prestashopcorp/puik-tailwind-preset v2.2.0
About The Project
Puik Tailwind Preset is a Tailwind CSS preset that aims to provide all the design tokens based on the PrestaShop Design System for all the PrestaShop ecosystem.
Prerequisites
- Tailwind Css 3+
Installation
# NPM
$ npm install @prestashopcorp/puik-tailwind-preset --save
# Yarn
$ yarn add @prestashopcorp/puik-tailwind-preset
# pnpm
$ pnpm install @prestashopcorp/puik-tailwind-preset
Usage
If you want to use the Tailwind CSS preset used for this library you can import the configuration in your project.
Require the puikTailwindPreset in your tailwind.config.{js|ts}
file
const { puikTailwindPreset } = require('@prestashopcorp/puik-tailwind-preset')
/** @type {import('tailwindcss').Config} */
module.exports = {
presets: [puikTailwindPreset],
}
Available tokens
You can find all the available tokens here
2.2.0
10 months ago
2.1.0
12 months ago
2.0.1
1 year ago
2.0.0
1 year ago
2.0.0-beta.4
1 year ago
2.0.0-beta.3
1 year ago
2.0.0-beta.2
1 year ago
2.0.0-beta.0
1 year ago
0.0.1
2 years ago