@material-vega/core
Version:
Material Design stylized themes for Vega Lite visualizations
9 lines (8 loc) • 371 B
TypeScript
import { MaterialVegaOptions } from '../options';
import { ThemeTypes } from './themes';
import { Config } from 'vega-embed';
/**
* Create a Material Vega chart theme
* The result is a Vega/Vega Lite Config object to be passed to vegaEmbed or included in a spec
*/
export declare function createTheme(options: Partial<MaterialVegaOptions>, theme: ThemeTypes): Config;