@xyzproject/tailwind-config
TypeScript icon, indicating that this package has built-in type declarations

3.5.6 • Public • Published

Tailwind Configuration Package Our Tailwind Configuration Package offers a custom configuration for Tailwind CSS. It comes with a set of pre-defined themes, utility classes, and all necessary Tailwind-related packages.

Installation

Follow these steps to install the Tailwind Configuration Package:

Step 1

Run the following command in your project directory:

yarn add @xyzproject/tailwind-config @latest

Step 2

Create two configuration files in your project:

Tailwind.config.js Postcss.config.js In these files, import the respective configurations from the installed package:

In Tailwind.config.js:

import { tailwindConfig } from "@xyzproject/tailwind-config ";

export default {presets:[tailwindConfig], content: [...tailwindConfig.content,'../../node_modules/@xyzproject///es/index.js']}

In Postcss.config.js:

import { postconfig } from "@xyzproject/tailwind-config ";

export default postConfig

Import Style file inside the root component

import '@xyzproject/tailwind-config /styles/tailwind.css'

Readme

Keywords

none

Package Sidebar

Install

npm i @xyzproject/tailwind-config

Weekly Downloads

4

Version

3.5.6

License

none

Unpacked Size

105 kB

Total Files

10

Last publish

Collaborators

  • z3delta
  • anusingh29
  • artgrove
  • barrett_kev_sapient
  • bhuvan.chawla