This plugin generates an HTML file containing a preview of the color palette.
Compatibility: Tailwind CSS ^1.8.3, ^2.X., ^3.X
# 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
// tailwind.config.js
module.exports = {
// ...
plugins: [
require("@hexadog/tailwind-css-plugin-export-color-palette"),
],
};
Generated color palette preview is available in dist/color-palette.html
.