This repository was archived by the owner on Dec 13, 2025. It is now read-only.

Description
Describe the bug
I use a Theme.svelte file that includes all of the CSS variables inside of a style tag. This does not get parsed by CSSVar, and thus none of my styles are available for autocomplete.
To Reproduce
Steps to reproduce the behavior:
- In Settings, add Svelte file to CSSvar: Files
- Disable and Enable extension
- Notification pops up:
Failed to parse CSS variables in files: xx/Theme.svelte
Expected behavior
Ideally, this would be able to parse the style tag of the Svelte file, which is pure css (or SCSS, if lang is specified).
Screenshots
If applicable, add screenshots to help explain your problem.
Details (please complete the following information):
- OS: MacOS 13.6.4
- VSCode version: v1.86.2
- Extension version: v2.6.4