From 9351860da0ed076d5adf2393d5d63a770ee00c91 Mon Sep 17 00:00:00 2001 From: Anish Aggarwal Date: Mon, 20 Jul 2020 23:08:18 +0530 Subject: [PATCH] Revert "Update consuming.md (#3769)" This reverts commit 1a2175f2790889bde03b7488a6c6521c35ff38a5. --- wiki/consuming.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/wiki/consuming.md b/wiki/consuming.md index a982d847455..982deb4b4c9 100644 --- a/wiki/consuming.md +++ b/wiki/consuming.md @@ -62,22 +62,22 @@ import '@elastic/eui/dist/eui_theme_light.css'; If you want access to the Sass variables, functions, and mixins in EUI then you'll need to import the Sass files. This will require `style`, `css`, `postcss`, and `sass` loaders. You'll also want to import the Sass file into one of your own Sass files, to gain access to these variables, functions, and mixins. ```scss -@import '@elastic/eui/src/themes/eui/eui_colors_light.scss'; -@import '@elastic/eui/src/themes/eui/eui_global.scss'; +@import '@elastic/eui/src/theme/eui/eui_colors_light.scss'; +@import '@elastic/eui/src/theme/eui/eui_global.scss'; ``` For the dark theme, import the dark colors file before the globals. ```scss -@import '@elastic/eui/src/themes/eui/eui_colors_dark.scss'; -@import '@elastic/eui/src/themes/eui/eui_global.scss'; +@import '@elastic/eui/src/theme/eui/eui_colors_dark.scss'; +@import '@elastic/eui/src/theme/eui/eui_global.scss'; ``` If you want to use new, but in progress Amsterdam theme, you can import it similarly. ```scss -@import '@elastic/eui/src/themes/eui_amsterdam/eui_amsterdam_colors_light.scss'; -@import '@elastic/eui/src/themes/eui_amsterdam/eui_amsterdam_global.scss'; +@import '@elastic/eui/src/theme/eui_amsterdam/eui_amsterdam_colors_light.scss'; +@import '@elastic/eui/src/theme/eui_amsterdam/eui_amsterdam_global.scss'; ```