UNPKG

logsdx

Version:

<div align="center"><img alt="logsdx" width="300" src="https://github.com/user-attachments/assets/cc2a3b55-5bfd-44e8-a330-bfa146b50059" /></div>

11 lines (10 loc) 917 B
import type { Theme } from "../types"; import { createTheme, createSimpleTheme, extendTheme, THEME_PRESETS, ThemeBuilder, checkWCAGCompliance, adjustThemeForAccessibility } from "./builder"; import type { ColorPalette, SimpleThemeConfig } from "./builder"; import { themeRegistry, preloadTheme, preloadAllThemes, registerThemeLoader } from "./registry"; export declare function getTheme(themeName: string): Promise<Theme>; export declare function getThemeAsync(themeName: string): Promise<Theme>; export declare function getAllThemes(): Record<string, Theme>; export declare function getThemeNames(): string[]; export declare function registerTheme(theme: Theme): void; export { createTheme, createSimpleTheme, extendTheme, THEME_PRESETS, ThemeBuilder, checkWCAGCompliance, adjustThemeForAccessibility, preloadTheme, preloadAllThemes, registerThemeLoader, themeRegistry, type ColorPalette, type SimpleThemeConfig, };