linebender / color

Color in Rust.
Apache License 2.0
39 stars 5 forks source link

Add CSS color constants #44

Closed raphlinus closed 1 week ago

raphlinus commented 1 week ago

Creates public modules with the constants for colors.

Docstring syntax adapted from bevy_color. I think we should be displaying more actual colors in our doc.

Closes #23

tomcur commented 1 week ago

Looks good. I wonder what the other options are for adding colors. Manually adding colors to examples like map_lightness and map_hue is of course a possibility. (Something autogenerated would be nice to have, but maybe more trouble than just doing it manually.)