vscode-language-scssIntelliSense, Diagnostics, and Code Actions for SCSS files ThemingDesign Tokens FileThe design token file should be a valid SCSS file containing variables that define your design tokens:
If you would import this theme into other files like this:
Provide the path
You can provide multiple paths if sharing the scss files in a monorepo. When passing an array, the extension will find the first path it can resolve to a file. Error DiagnosticsWhen a value in an SCSS file matches the value of a design token, the extension will highlight the value and provide an error diagnostic. Use Quick Fix to replace highlighted values with the scss variables values.
Simple mixins that have depth of one have code actions when each line in a mixin is found in a class. Use Quick Fix to replace lines of scss with supported mixins.
Theming Example |