mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
6774e042c7
# Objective - Complete compatibility with CSS Module 4 ## Solution - Added `Oklcha` which implements the Oklch color model. - Updated `Color` and `LegacyColor` accordingly. ## Migration Guide - Convert `Oklcha` to `Oklaba` using the provided `From` implementations and then handle accordingly. ## Notes This is the _last_ color space missing from the CSS Module 4 standard, and is also the one I believe we should recommend users actually work with for hand-crafting colours. It has all the uniformity benefits of Oklab combined with the intuition chroma and hue provide (when compared to a-axis and b-axis parameters). |
||
---|---|---|
.. | ||
macros | ||
src | ||
Cargo.toml |