na
NativeScript
OSS
na
Pipelines
Nx runs
Insights
Compare tasks
Analytics
Sign in
Toggle Sidebar
na
NativeScript
Pipelines
feat(core): CSS Color 4 and 5 color functions (#11532) Color reads `oklch()`, `oklab()`, `lab()`, `lch()`, `hwb()`, `color()` and relative colors (`oklch(from var(--x) calc(l * .9) c h)`) with @csstools/css-color-parser, which core already uses for `color-mix()`. Tailwind v4 and Bootstrap 6 define their whole palettes in oklch, which threw "Invalid color". The modern `rgb()`/`hsl()` syntax the fast path misread now goes the same way: a `/` alpha given as a percentage (`rgb(0 0 0 / 15%)` came out opaque), rgb percentages, and `none`. The legacy syntax keeps the fast path. The value parser behind `background` and gradients recognises the new functions too, and nested ones such as `color-mix(in srgb, rgb(0 0 0), red)`. `Color.isValid()` accepts them.
nx run-many --target=test --configuration=ci --projects=core
⌘K
feat(core): CSS Color 4 and 5 color functions (#11532)
Succeeded
in
4s
Started
macOS
6 CPU cores
read-write
access token used
Copy command
nx run-many --target=test --configuration=ci --projects=core
main
005970f
GitHub
Open on GitHub
Tasks
Resource Usage
na
NativeScript
OSS