@osaedasia/oresume
Version:
A user-friendly library for generating complete Single Page Applications (SPAs)
10 lines (9 loc) • 486 B
TypeScript
import { PluginOption } from "vite";
import { Theme } from "./theme/Theme";
/**
* Creates a Vite plugin to generate CSS files for given themes and injects them into HTML.
* @template T The CSS properties of the theme.
* @param {Theme<T>[]} themes Array of theme configurations for CSS generation.
* @returns {PluginOption} Vite plugin for CSS file generation and HTML transformation.
*/
export declare function OresumeCSSPlugin<T extends string>(themes: Theme<T>[]): PluginOption;