From f91b40efa0dc87a7c1907d02fb112d3af83bb468 Mon Sep 17 00:00:00 2001 From: CJ Cenizal Date: Fri, 15 Dec 2017 11:01:35 -0800 Subject: [PATCH] Set dark theme CSS string instead of an array containing the string. --- src/ui/public/autoload/styles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/public/autoload/styles.js b/src/ui/public/autoload/styles.js index 36fe23f276fad2..abd29bf2ba5e42 100644 --- a/src/ui/public/autoload/styles.js +++ b/src/ui/public/autoload/styles.js @@ -9,7 +9,7 @@ theme.registerTheme('light', euiThemeLight); // Elastic UI Framework, dark theme const euiThemeDark = require('!!raw-loader!@elastic/eui/dist/eui_theme_k6_dark.css'); -theme.registerTheme('dark', [euiThemeDark]); +theme.registerTheme('dark', euiThemeDark); // Set default theme. theme.applyTheme('light');