Alerting: Add notification policy flow chart (#49405)

* setup component add images

* add name to theme

* add root route info box

* remove unsused

* styling
This commit is contained in:
Peter Holmberg
2022-05-24 01:57:26 -07:00
committed by GitHub
parent 3ad1263097
commit 7bcc151ae6
7 changed files with 261 additions and 4 deletions

View File

@@ -23,7 +23,6 @@ export interface NewThemeOptions {
/** @internal */
export function createTheme(options: NewThemeOptions = {}): GrafanaTheme2 {
const {
name = 'Dark',
colors: colorsInput = {},
spacing: spacingInput = {},
shape: shapeInput = {},
@@ -41,7 +40,7 @@ export function createTheme(options: NewThemeOptions = {}): GrafanaTheme2 {
const visualization = createVisualizationColors(colors);
const theme = {
name,
name: colors.mode === 'dark' ? 'Dark' : 'Light',
isDark: colors.mode === 'dark',
isLight: colors.mode === 'light',
colors,