From 6d4f89a3c7de4b0e9fa37b812f13bd13f7bc08b4 Mon Sep 17 00:00:00 2001 From: Guido Modarelli Date: Tue, 24 Dec 2024 12:48:34 -0300 Subject: [PATCH] Add 'wazuh' themed assets for light and dark color schemes, ensuring proper handling in the theme configuration --- src/core/server/rendering/views/theme.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/core/server/rendering/views/theme.ts b/src/core/server/rendering/views/theme.ts index ee628a856fb5..d717b14963bf 100644 --- a/src/core/server/rendering/views/theme.ts +++ b/src/core/server/rendering/views/theme.ts @@ -22,10 +22,14 @@ export const THEME_SOURCES: { [ThemeColorSchemes.LIGHT]: '@elastic/eui/dist/eui_theme_v9_light.json', [ThemeColorSchemes.DARK]: '@elastic/eui/dist/eui_theme_v9_dark.json', }, - default: { + v8: { [ThemeColorSchemes.LIGHT]: '@elastic/eui/dist/eui_theme_next_light.json', [ThemeColorSchemes.DARK]: '@elastic/eui/dist/eui_theme_next_dark.json', }, + default: { + [ThemeColorSchemes.LIGHT]: '@elastic/eui/dist/eui_theme_wazuh_light.json', + [ThemeColorSchemes.DARK]: '@elastic/eui/dist/eui_theme_wazuh_dark.json', + }, }); export const getThemeDefinitionSource = (