UNPKG

926 BTypeScriptView Raw
1import type { CurriedFunction3 } from 'lodash';
2import { StylingConfig, StylingFunction, Theme } from './types.js';
3import { base16Themes as base16 } from './themes/index.js';
4import type { Base16Theme } from './themes/index.js';
5export declare const invertBase16Theme: (base16Theme: Base16Theme) => Base16Theme;
6interface Options {
7 defaultBase16?: Base16Theme;
8 base16Themes?: {
9 [themeName: string]: Base16Theme;
10 };
11}
12export declare const createStyling: CurriedFunction3<(base16Theme: Base16Theme) => StylingConfig, Options | undefined, Theme | undefined, StylingFunction>;
13export declare const getBase16Theme: (theme: Theme, base16Themes?: {
14 [themeName: string]: Base16Theme;
15} | null | undefined) => Base16Theme | undefined;
16export declare const invertTheme: (theme: Theme | undefined) => Theme | undefined;
17export type { Base16Theme };
18export { base16 as base16Themes };
19export * from './types.js';