UNPKG

chessfield

Version:

A TypeScript+ThreeJS library to render a 3D chessboard

11 lines (10 loc) 366 B
import { Mode, Theme, ThemeColors } from '../resource/chessfield.types.ts'; export declare class ThemeProvider { private readonly mode; private readonly theme; constructor(mode?: Mode, theme?: Theme); getThemeColors(): ThemeColors; getModeColors(): ThemeColors; getBackgroundColor(): string | number; getInvertColor(): string | number; }