1.0.2 • Published 5 months ago
glare-torch-mode v1.0.2
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 :glare-themes package, see in this example :
import type { Config } from "tailwindcss";
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}"
],
theme: {
},
plugins: [
require('glare-themes'),// 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-mode
Or, if you're using Yarn:
yarn add glare-torch-mode
Usage
Add the plugin to your tailwind.config.js file:
module.exports = {
plugins: [
require('glare-themes'),// important
require('glare-torch-mode')
],
};