1.0.15 • Published 10 months ago

@shakibdshy/tailwind-theme v1.0.15

Weekly downloads
-
License
MIT
Repository
-
Last release
10 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

10 months ago

1.0.14

10 months ago

1.0.13

10 months ago

1.0.12

11 months ago

1.0.11

11 months ago

1.0.10

11 months ago

1.0.9

11 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago

0.1.0

11 months ago