Releases: vunguyentuan/vscode-css-variables
Releases · vunguyentuan/vscode-css-variables
vscode-css-variables@2.8.2
Patch Changes
- 2ad8e41: Prevent crashing when css variables have unexpected format such as
--font: var(--font-size)/var(--line-height);
css-variables-language-server@2.8.2
Patch Changes
- 2ad8e41: Prevent crashing when css variables have unexpected format such as
--font: var(--font-size)/var(--line-height);
vscode-css-variables@2.8.1
Patch Changes
- efd2ef0: Fix bundler configuration
vscode-css-variables@2.8.0
Minor Changes
-
55146ab: Add support for nested CSS variable color resolution. Variables that reference other variables using
var()now display color previews correctly.Features:
- Resolves nested variable references up to 5 levels deep
- Supports fallback values:
var(--undefined, blue) - Detects and handles circular references
- Works across multiple files
- Maintains backward compatibility
Example:
:root { --color: rgb(0, 0, 0); --color-alias: var(--color); /* Now shows color preview! */ }
Add support for OKLAB and OKLCH color spaces by upgrading Culori to v4. Modern CSS color formats are now fully supported.
Example:
:root { --oklab-color: oklab(0.628 0.225 0.126); --oklch-color: oklch(0.628 0.258 29.2); --with-alpha: oklch(0.628 0.258 29.2 / 0.8); }
css-variables-language-server@2.8.1
Patch Changes
- efd2ef0: Fix bundler configuration
css-variables-language-server@2.8.0
Minor Changes
-
55146ab: Add support for nested CSS variable color resolution. Variables that reference other variables using
var()now display color previews correctly.Features:
- Resolves nested variable references up to 5 levels deep
- Supports fallback values:
var(--undefined, blue) - Detects and handles circular references
- Works across multiple files
- Maintains backward compatibility
Example:
:root { --color: rgb(0, 0, 0); --color-alias: var(--color); /* Now shows color preview! */ }
Add support for OKLAB and OKLCH color spaces by upgrading Culori to v4. Modern CSS color formats are now fully supported.
Example:
:root { --oklab-color: oklab(0.628 0.225 0.126); --oklch-color: oklch(0.628 0.258 29.2); --with-alpha: oklch(0.628 0.258 29.2 / 0.8); }
css-variables-language-server@2.7.2
Patch Changes
- 66d4b53: Fixed LSP message pollution by URL fetch failures
vscode-css-variables@2.7.1
Patch Changes
- ee114b1: Fixed settings to only contribute this extension to files with specified languages
css-variables-language-server@2.7.0
Minor Changes
-
3a5bfa9: Add executable for language server to run from the commandline.
$ npm install -g css-variables-language-server $ css-variables-language-server --stdio
vscode-css-variables@2.6.5
Patch Changes
- d887de0: Added setting to configure languages the extension should provide suggestions