culori
culori copied to clipboard
A comprehensive color library for JavaScript.
Hi all :-) This MR is related to https://github.com/Evercoder/culori/issues/128 I'm not the user of this library. I come on call of @ai here https://cultofmartians.com/tasks/culori-types.html What has been done in the...
P3 space is widely used (any modern Apple tech) and give a lot of new color. We are using `clampChroma` to generate dynamic accent color. It would be nice to...
- [ ] `oklch()` can be used as a function without `color(--oklch, …)`. - [ ] We should normalize `l` values between `oklch()` and `lch()`. Now `oklch()` uses `0-1`, but...
Adds the following methods (names subject to change): * `inGamut(space)` — check that the color is in the gamut of `space`; fixes #161. * `toGamut(space)` — get the closest color...
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.26.0 to 1.27.0. Release notes Sourced from prismjs's releases. v1.27.0 Release 1.27.0 Changelog Sourced from prismjs's changelog. 1.27.0 (2022-02-17) New components UO Razor Script (#3309) 3f8cc5a0 Updated...
Just following up on [this comment](../pull/117#issuecomment-791770441) by @danburzo > Just to make sure you're not doing too much work upfront: if the changes are related to TypeScript, please be aware...
Fixes #153.
`displayable` now supports only sRGB, but we have many P3 screens in Apple ecosystem (and Safari support for P3 colors in CSS). Can we add `displayableP3`?
See: - https://github.com/w3c/csswg-drafts/issues/6741 Adjust the `color()` parser to map `` against that component's range (which is usually, but _not always_, `[0, 1]`), where that range is available. In each color...
As per: - https://github.com/w3c/csswg-drafts/issues/6642