From d640c9cf51e61506a3b96bef2277ece4f97907ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberto=20And=C3=BAjar?= Date: Mon, 20 Jul 2020 15:21:22 +0200 Subject: [PATCH] Update consuming.md (#3769) * Path has changed and the wiki has not been updated. --- wiki/consuming.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/wiki/consuming.md b/wiki/consuming.md index 982deb4b4c9..a982d847455 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/theme/eui/eui_colors_light.scss'; -@import '@elastic/eui/src/theme/eui/eui_global.scss'; +@import '@elastic/eui/src/themes/eui/eui_colors_light.scss'; +@import '@elastic/eui/src/themes/eui/eui_global.scss'; ``` For the dark theme, import the dark colors file before the globals. ```scss -@import '@elastic/eui/src/theme/eui/eui_colors_dark.scss'; -@import '@elastic/eui/src/theme/eui/eui_global.scss'; +@import '@elastic/eui/src/themes/eui/eui_colors_dark.scss'; +@import '@elastic/eui/src/themes/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/theme/eui_amsterdam/eui_amsterdam_colors_light.scss'; -@import '@elastic/eui/src/theme/eui_amsterdam/eui_amsterdam_global.scss'; +@import '@elastic/eui/src/themes/eui_amsterdam/eui_amsterdam_colors_light.scss'; +@import '@elastic/eui/src/themes/eui_amsterdam/eui_amsterdam_global.scss'; ```