1.0.15 • Published 5 months ago

@shakibdshy/tailwind-theme v1.0.15

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

@shakibdshy/tailwind-theme

A Tailwind CSS plugin that provides a comprehensive theme system with predefined color palettes and utilities.

Installation

npm install @shakibdshy/tailwind-theme
# or
yarn add @shakibdshy/tailwind-theme
# or
pnpm add @shakibdshy/tailwind-theme

Usage

Add the plugin to your tailwind.config.js:

module.exports = {
  content: [
    "./src/**/*.{js,ts,jsx,tsx}",
    "./node_modules/@shakibdshy/tailwind-theme/dist/**/*.{js,ts,jsx,tsx,mdx}",
  ],
  plugins: [
    require('@shakibdshy/tailwind-theme')
  ],
}

This will add the following features to your Tailwind setup:

  • Predefined color palettes (primary, secondary, neutral, success, error, warning, info)
  • Dark mode support
  • Extended typography scales
  • Custom shadow utilities

Color System

The plugin includes a comprehensive color system with the following palettes:

  • Primary: Teal-based palette
  • Secondary: Lime-based palette
  • Neutral: Cool gray palette
  • Success: Green palette
  • Error: Red palette
  • Warning: Orange palette
  • Info: Blue palette

Each color has variants from 50 to 950.

Dark Mode Support

The plugin includes built-in dark mode support. Enable it by adding the data-theme="dark" attribute to your HTML element.

License

MIT

1.0.15

5 months ago

1.0.14

5 months ago

1.0.13

5 months ago

1.0.12

5 months ago

1.0.11

6 months ago

1.0.10

6 months ago

1.0.9

6 months ago

1.0.8

6 months ago

1.0.7

6 months ago

1.0.6

6 months ago

1.0.5

6 months ago

1.0.4

6 months ago

1.0.3

6 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago

0.1.0

6 months ago