UNPKG

@awal-solution/tailwind-theming

Version:

<div align="left"> <h1>Tailwind theming</h1> <p>The <b>TailwindCSS Multi-Theming Plugin</b> is a utility for creating and managing multiple themes in your TailwindCSS-based projects. With this library, you can define, add, update, and remove themes dyn

6 lines (5 loc) 309 B
import { ResolvableTo, ThemeConfig } from 'tailwindcss/types/config'; export type PluginUtils = Parameters<Exclude<ResolvableTo<string>, string>>[0]; export type Theme = PluginUtils['theme']; export type ResolutionCallback<T> = (utils: PluginUtils) => T; export type TailwindExtension = Partial<ThemeConfig>;