@prestashopcorp/puik-tailwind-preset
TypeScript icon, indicating that this package has built-in type declarations

2.2.0 • Public • Published
Logo

Puik Tailwind Preset

The PrestaShop UI Kit Tailwind CSS

Documentation

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

Readme

Keywords

none

Package Sidebar

Install

npm i @prestashopcorp/puik-tailwind-preset

Weekly Downloads

8

Version

2.2.0

License

MIT

Unpacked Size

15.7 kB

Total Files

9

Last publish

Collaborators

  • morraycage
  • devops-prestashop
  • claude-arnaud
  • tdaveaupresta
  • rxmat_presta
  • natsuflame