From 329c044f858fb733dc3e51fe2f50906251ca6ba3 Mon Sep 17 00:00:00 2001 From: Josh Dover Date: Mon, 20 Apr 2020 16:14:24 -0600 Subject: [PATCH] Fix mixins import --- src/core/public/index.scss | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/core/public/index.scss b/src/core/public/index.scss index 628b23d39142c..dc8dbc970452d 100644 --- a/src/core/public/index.scss +++ b/src/core/public/index.scss @@ -1,14 +1,10 @@ -// Functions need to be first, since we use them in our variables and mixin definitions -@import '@elastic/eui/src/global_styling/functions/index'; - -// Variables come next, and are used in some mixins -@import '@elastic/eui/src/global_styling/variables/index'; - -// Mixins provide generic code expansion through helpers -@import '@elastic/eui/src/global_styling/mixins/index'; +// This file is built by both the legacy and KP build systems so we need to +// import this explicitly +@import '../../legacy/ui/public/styles/_styling_constants'; @import './chrome/index'; @import './overlays/index'; @import './rendering/index'; + // Global styles need to be migrated @import '../../legacy/ui/public/styles/_legacy/_index';