Skip to content

Commit

Permalink
sass index file
Browse files Browse the repository at this point in the history
  • Loading branch information
ppisljar committed Jan 15, 2020
1 parent 6d41654 commit d072d27
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/legacy/core_plugins/kibana/public/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

// Visualize styles
@import './visualize/index';
@import '../../visualizations/public/embeddable/index';
// Has to come after visualize because of some
// bad cascading in the Editor layout
@import 'src/legacy/ui/public/vis/index';
Expand Down
3 changes: 3 additions & 0 deletions src/legacy/core_plugins/visualizations/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ export const visualizations: LegacyPluginInitializer = kibana =>
id: 'visualizations',
publicDir: resolve(__dirname, 'public'),
require: [],
uiExports: {
styleSheetPaths: resolve(__dirname, 'public/index.scss'),
},
});

// eslint-disable-next-line import/no-default-export
Expand Down
3 changes: 3 additions & 0 deletions src/legacy/core_plugins/visualizations/public/index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@import 'src/legacy/ui/public/styles/styling_constants';

@import './embeddable/_index';

0 comments on commit d072d27

Please sign in to comment.