UNPKG

pdbe-molstar

Version:
16 lines (15 loc) 851 B
import { ColorTheme } from 'molstar/lib/mol-theme/color'; import { ThemeDataContext } from 'molstar/lib/mol-theme/theme'; import { ParamDefinition as PD } from 'molstar/lib/mol-util/param-definition'; export declare namespace CustomSequenceColorTheme { /** Provider name (key) for this color theme */ const Name = "custom-sequence-color"; /** Parameter definition for this color theme */ const Params: {}; type Params = typeof Params; /** Type of parameter values for this color theme */ type Props = PD.Values<Params>; function Theme(ctx: ThemeDataContext, props: Props, colorThemeRegistry: ColorTheme.Registry | undefined): ColorTheme<Props>; /** Create a provider for this color theme */ function makeProvider(colorThemeRegistry: ColorTheme.Registry | undefined): ColorTheme.Provider<Params, typeof Name>; }