Skip to main content

getChartsTheme

@elastic/chartsExports


@elastic/charts / getChartsTheme

Function: getChartsTheme()

getChartsTheme(__namedParameters)

getChartsTheme(__namedParameters): Theme

Returns charts Theme given theme name and darkMode

Parameters

__namedParameters: Object

__namedParameters.darkMode: boolean

__namedParameters.name: string

Returns

Theme

Source

packages/charts/src/utils/themes/get_charts_theme.ts:34

getChartsTheme(themeName, colorMode)

getChartsTheme(themeName, colorMode): Theme

Returns charts Theme given theme themeName and colorMode

Parameters

themeName: string

colorMode: "DARK" | "LIGHT"

Returns

Theme

Source

packages/charts/src/utils/themes/get_charts_theme.ts:39


Generated using typedoc-plugin-markdown and TypeDoc