parent
101c352221
commit
548f76e3b0
|
@ -24,8 +24,8 @@ dashboard-listing {
|
|||
// Yes, this is a hack because bootstrap will be removed and everything must move to EUI theming
|
||||
// Can't reliably remove all/any of these because of embeddables
|
||||
|
||||
.tab-dashboard.theme-dark {
|
||||
@import './../../../../../node_modules/@elastic/eui/src/themes/k6/k6_colors_dark';
|
||||
.theme-dark {
|
||||
@import '@elastic/eui/src/themes/k6/k6_colors_dark';
|
||||
|
||||
// /src/ui/public/styles/bootstrap/scaffolding.less
|
||||
a {
|
||||
|
|
|
@ -16,14 +16,14 @@
|
|||
/**
|
||||
* 1. Don't duplicate styles in dark mode
|
||||
*/
|
||||
.tab-dashboard.theme-light { /* 1 */
|
||||
.theme-light { /* 1 */
|
||||
@import 'dashboard_app';
|
||||
@import 'grid/index';
|
||||
@import 'panel/index';
|
||||
@import 'viewport/index';
|
||||
}
|
||||
|
||||
// Imports outside of .tab-dashboard selector don't change between light/dark modes
|
||||
// Imports outside of theme selector don't change between light/dark modes
|
||||
@import 'components/index';
|
||||
|
||||
// Must be outside of theme selector because it lives in a portal
|
||||
|
@ -33,7 +33,7 @@
|
|||
// EUI global scope -- dark
|
||||
@import '@elastic/eui/src/themes/k6/k6_colors_dark';
|
||||
|
||||
.tab-dashboard.theme-dark {
|
||||
.theme-dark {
|
||||
background-color: $euiColorEmptyShade;
|
||||
|
||||
@import 'dashboard_app';
|
||||
|
@ -41,6 +41,8 @@
|
|||
@import 'panel/index';
|
||||
@import 'viewport/index';
|
||||
|
||||
// Vis imports
|
||||
// Vis imports -- will have some duplicate styling
|
||||
// because they will be imported via ui/public as well
|
||||
// (without .theme-[] prefix)
|
||||
@import 'src/ui/public/vis/map/index';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue