react-base16-styling
Version:
React styling with base16 color scheme support
20 lines (19 loc) • 926 B
TypeScript
import type { CurriedFunction3 } from 'lodash';
import { StylingConfig, StylingFunction, Theme } from './types.js';
import { base16Themes as base16 } from './themes/index.js';
import type { Base16Theme } from './themes/index.js';
export declare const invertBase16Theme: (base16Theme: Base16Theme) => Base16Theme;
interface Options {
defaultBase16?: Base16Theme;
base16Themes?: {
[themeName: string]: Base16Theme;
};
}
export declare const createStyling: CurriedFunction3<(base16Theme: Base16Theme) => StylingConfig, Options | undefined, Theme | undefined, StylingFunction>;
export declare const getBase16Theme: (theme: Theme, base16Themes?: {
[themeName: string]: Base16Theme;
} | null | undefined) => Base16Theme | undefined;
export declare const invertTheme: (theme: Theme | undefined) => Theme | undefined;
export type { Base16Theme };
export { base16 as base16Themes };
export * from './types.js';