Skip to content

This plugin generates an HTML file containing a preview of the color palette.

License

Notifications You must be signed in to change notification settings

hexadog/tailwind-css-plugin-export-color-palette

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tailwind CSS Export Color Palette

This plugin generates an HTML file containing a preview of the color palette.

Compatibility: Tailwind CSS ^1.8.3, ^2.X., ^3.X

Installation

1. Install the Tailwind CSS Export Color Palette plugin:

# Install using npm
npm install --save-dev @hexadog/tailwind-css-plugin-export-color-palette
# Install using yarn
yarn add -D @hexadog/tailwind-css-plugin-export-color-palette

2. Add it to your tailwind.config.js file:

// tailwind.config.js
module.exports = {
    // ...
    plugins: [
        require("@hexadog/tailwind-css-plugin-export-color-palette"),
    ],
};

3. Build your Tailwind CSS Template

Generated color palette preview is available in dist/color-palette.html.

About

This plugin generates an HTML file containing a preview of the color palette.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published