[tui] update ColorWheel to replace Gradient with something else
Closed this issue · 0 comments
nazmulidris commented
In this file
we use Gradient
.
The latest release of this crate removes this:
- https://docs.rs/palette/0.7.3/palette/type.LinSrgb.html
- https://github.com/Ogeon/palette/blob/master/CHANGELOG.md
- https://github.com/Ogeon/palette/pull/301/files
- Ogeon/palette#156
Replace it with B-spline interpolation
While in here, do an audit of
- How does r3bl_ansi_color crate get used in r3bl_tui "properly"? Is there too much overlap between the two?
- How is the detect terminal color and color support used between these two crates? Are there ways to streamline this? Eg: get rid of some strange NotSet variant in color support?
- Clean up color conversion (consolidate this to use r3bl_ansi_color only)