Go into your extensions folder
- macOS: ~/.vscode/extensions
- Windows: %USERPROFILE%.vscode\extensions
- Linux: ~/.vscode/extensions
then replace the index.js in vira.vsc-vira-theme-CURRENT_VERSION/build/index.js
| const { join } = require('path'); | |
| const postcss = require('postcss'); | |
| const sass = require('sass'); | |
| function extractRootVariables(scssFile) { | |
| const result = sass.renderSync({ file: scssFile }); | |
| const css = result.css.toString(); | |
| const rootVariables = {}; | |
| postcss.parse(css).walkRules(":root", (rule) => { |