glare-torch-mode
v1.2.0
Published
A Tailwind CSS plugin for make custom look to the Torch Glare components and for the deferent themes like dark, light, default themes.
Downloads
422
Readme
Glare Torch Mode
A Tailwind CSS plugin that provides custom styling for Torch Glare components, supporting different themes like dark, light, and default.
Important !!
this mode plugin must be used with themes plugin example :mapping-color-system package, see in this example :
import type { Config } from "tailwindcss";
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}"
],
theme: {
},
plugins: [
require('mapping-color-system'),// important
require('glare-torch-mode'),
],
} satisfies Config;
Installation
To use Glare Torch Mode, install it as a dependency in your project:
npm install glare-torch-modeOr, if you're using Yarn:
yarn add glare-torch-modeUsage
Add the plugin to your tailwind.config.js file:
module.exports = {
plugins: [
require('mapping-color-system'),// important
require('glare-torch-mode')
],
};