Skip to content

Commit 44a402d

Browse files
committed
Implement relative color syntax
#99
1 parent 2434365 commit 44a402d

File tree

6 files changed

+2302
-158
lines changed

6 files changed

+2302
-158
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ An extremely fast CSS parser, transformer, and minifier written in Rust. Use it
2828
- Custom media queries (draft spec)
2929
- Logical properties
3030
* [Color Level 5](https://drafts.csswg.org/css-color-5/)
31-
- `color-mix()` function
31+
- `color-mix()` function
32+
- Relative color syntax, e.g. `lab(from purple calc(l * .8) a b)`
3233
- [Color Level 4](https://drafts.csswg.org/css-color-4/)
3334
- `lab()`, `lch()`, `oklab()`, and `oklch()` colors
3435
- `color()` function supporting predefined color spaces such as `display-p3` and `xyz`

0 commit comments

Comments
 (0)