mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-29 06:33:52 +03:00
19c488b378
This PR adds the `color` crate, which will be the home of a number of color-related utilities, and also acts as an interface between [`palette`](https://crates.io/crates/palette) and the way `gpui` colors work. The goal of this crate is to centralize color utilities like mixing and blending, building color ramps and sets of colors for state and more. ## Todo: - [x] hex -> Color - [x] Color mixing - [x] Color blending using blend modes (overlay, multiply, etc) - [ ] ~~Build color ramp from color~~ - [x] Build state set from color - [ ] ~~Update Theme to use the color crate~~ Release Notes: - None (Internal changes: Adds the `color` crate for working with colors.) |
||
---|---|---|
.. | ||
src | ||
util | ||
Cargo.toml | ||
theme.md |