Skip to content

Commit 55146ab

Browse files
committed
bump version
1 parent afd688b commit 55146ab

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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+
```

0 commit comments

Comments
 (0)