mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user