Closed lovesegfault closed 1 year ago
I was trying to add support for kmscon, but got stuck because it needs colors in RGB format, instead of Hex.
I think Stylix should provide a way to get the colors in RGB format, as opposed to Hex.
Inspiration from nix-colors: https://github.com/Misterio77/nix-colors/blob/main/lib/core/conversions.nix#L108
nix-colors
You can just reference baseXX-rgb-{r,g,b}
baseXX-rgb-{r,g,b}
I was trying to add support for kmscon, but got stuck because it needs colors in RGB format, instead of Hex.
I think Stylix should provide a way to get the colors in RGB format, as opposed to Hex.
Inspiration from
nix-colors
: https://github.com/Misterio77/nix-colors/blob/main/lib/core/conversions.nix#L108