Skip to content

Commit

Permalink
Set dark theme CSS string instead of an array containing the string.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcenizal committed Dec 15, 2017
1 parent 8c43cf4 commit f91b40e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/public/autoload/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit f91b40e

Please sign in to comment.