diff options
Diffstat (limited to 'storybook/config')
-rw-r--r-- | storybook/config/preview.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/storybook/config/preview.js b/storybook/config/preview.js index a55d0d52a0c..6f3b8190742 100644 --- a/storybook/config/preview.js +++ b/storybook/config/preview.js @@ -6,13 +6,16 @@ import translateMixin from '~/vue_shared/translate'; const stylesheetsRequireCtx = require.context( '../../app/assets/stylesheets', true, - /(application|application_utilities)\.scss$/, + /(application|application_utilities|highlight\/themes\/white)\.scss$/, ); -window.gon = {}; +window.gon = { + user_color_scheme: 'white', +}; translateMixin(Vue); stylesheetsRequireCtx('./application.scss'); stylesheetsRequireCtx('./application_utilities.scss'); +stylesheetsRequireCtx('./highlight/themes/white.scss'); export const decorators = [withServer(createMockServer)]; |