diff --git a/proprietary/tokens/README.md b/proprietary/tokens/README.md index ed4a0f2646..4d8841916e 100644 --- a/proprietary/tokens/README.md +++ b/proprietary/tokens/README.md @@ -146,16 +146,17 @@ Note that redefining the value of a token is a much better approach than redecla ## Usage in Sass The tokens can be imported as Sass variables as well. +As they are already prefixed, the namespace that Sass would assign isn’t necessary. ```sass -@import "@amsterdam/design-system-tokens/dist/index.scss" +@use "@amsterdam/design-system-tokens/dist/index.scss" as *; ``` Import the compact tokens if you need them. Sass will override spacious values automatically. ```sass -@import "@amsterdam/design-system-tokens/dist/compact.scss" +@use "@amsterdam/design-system-tokens/dist/compact.scss" as *; ``` ## Usage in JavaScript