nixos-config/subprojects/bahaghari/lib/colors
Gabriel Arazas 35873462f3
bahaghari/lib: update and refactor colors.rgb
Now the RGB colorspace object doesn't have the methods built into the
set as that basically screws a lot of things when exporting it to the
output.

Also, the alpha component should be handled nicely now.
2024-06-04 20:40:29 +08:00
..
README.adoc bahaghari/lib: init colors.rgb subset 2024-05-21 20:42:08 +08:00
rgb.nix bahaghari/lib: update and refactor colors.rgb 2024-06-04 20:40:29 +08:00

The colors subset of the Bahaghari library. Its not on the level of Color Science for Python or palette library for Rust where it gives you a complete toolkit for manipulating a lot of aspects of colors. Rather, this is only in relation to generating them colors to be pressed onto a template like program configurations from Nix modules and even some light templating for some. Its API should only limit on that aspect. No way in hell were trying to reimplment that in Nix, lol.