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

14 lines (13 loc) 542 B
import { MultiThemePluginOptions, ThemeConfig } from '../../types'; export declare const defaultThemeName = "__default"; /** * @param options * @throws an {@link Error} if the options are invalid */ export declare const validateOptions: ({ defaultTheme, themes }: MultiThemePluginOptions) => void; /** * @param options * @return the theme options reduced down to an array of themes * @throws an {@link Error} if the options are invalid */ export declare const getThemesFromOptions: (options: MultiThemePluginOptions) => ThemeConfig[];