JSPM

glare-torch-mode

1.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 12
  • Score
    100M100P100Q53265F
  • License MIT

A Tailwind CSS plugin for make custom look to the Torch Glare components and for the deferent themes like dark, light, default themes.

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')
  ],
};