Package Exports
- glare-torch-mode
- glare-torch-mode/index.cjs
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (glare-torch-mode) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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 :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')
],
};