UNPKG

themer

Version:

Customizable theme creator for editors, terminals, wallpaper, and more.

9 lines (8 loc) 552 B
import { ColorSet } from './color-set/index.js'; import { BuiltInColorSet } from './color-set/all.js'; import type { Template, OutputFile, RenderOptions } from './template/index.js'; import { BuiltInTemplate } from './template/all.js'; import { OutputFileTransform } from './transform/index.js'; export declare function themer<T extends { path: string; } = OutputFile>(colorSets: (BuiltInColorSet | ColorSet)[], templates: (BuiltInTemplate | Template)[], options: RenderOptions, transform?: OutputFileTransform<T>): AsyncGenerator<T | OutputFile>;