File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " css-variables-language-server " : minor
3+ " vscode-css-variables " : minor
4+ ---
5+
6+ Add support for nested CSS variable color resolution. Variables that reference other variables using ` var() ` now display color previews correctly.
7+
8+ Features:
9+ - Resolves nested variable references up to 5 levels deep
10+ - Supports fallback values: ` var(--undefined, blue) `
11+ - Detects and handles circular references
12+ - Works across multiple files
13+ - Maintains backward compatibility
14+
15+ Example:
16+ ``` css
17+ :root {
18+ --color : rgb (0 , 0 , 0 );
19+ --color-alias : var (--color ); /* Now shows color preview! */
20+ }
21+ ```
22+
23+ Add support for OKLAB and OKLCH color spaces by upgrading Culori to v4. Modern CSS color formats are now fully supported.
24+
25+ Example:
26+ ``` css
27+ :root {
28+ --oklab-color : oklab(0.628 0.225 0.126 );
29+ --oklch-color : oklch(0.628 0.258 29.2 );
30+ --with-alpha : oklch(0.628 0.258 29.2 / 0.8 );
31+ }
32+ ```
You can’t perform that action at this time.
0 commit comments