From 60bd4cf2a4050d78216ae6a0928f9ce1a7a052b9 Mon Sep 17 00:00:00 2001 From: HMWCS <92188165+HMWCS@users.noreply.github.com> Date: Sun, 19 Dec 2021 01:23:14 -0700 Subject: [PATCH] fix the bug in the @use example code for @use, Variables, mixins, and functions (what Sass calls "members") that start with an underscore (_) or hyphen (-) are considered private, and not imported. --- docusaurus/docs/adding-a-sass-stylesheet.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus/docs/adding-a-sass-stylesheet.md b/docusaurus/docs/adding-a-sass-stylesheet.md index 5a287294155..c33db302fca 100644 --- a/docusaurus/docs/adding-a-sass-stylesheet.md +++ b/docusaurus/docs/adding-a-sass-stylesheet.md @@ -26,7 +26,7 @@ To share variables between Sass files, you can use Sass's [`@use` rule](https:// This will allow you to do imports like ```scss -@use 'styles/_colors.scss'; // assuming a styles directory under src/ +@use 'styles/colors.scss'; // assuming a styles directory under src/ @use '~nprogress/nprogress'; // loading a css file from the nprogress node module ```