UNPKG

theme-o-rama

Version:

A TypeScript library for dynamic theme management in react + shadcn + tailwind applications

13 lines 419 B
import { Theme } from "./theme.type.js"; export declare class ThemeCache { private themesCache; constructor(); getThemeSafe(themeName: string | null): Theme; getTheme(name: string): Theme | undefined; addTheme(theme: Theme): void; addThemes(themes: Theme[]): void; getThemes(): Theme[]; removeTheme(name: string): void; invalidate(): void; } //# sourceMappingURL=theme-cache.d.ts.map