You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Forgive me if I'm misunderstanding something, but here's my issue.
Usually I use with config.lib.stylix.colors.withHashtag to acces ${baseXX} values required by most programs.
Sometimes I use with config.lib.stylix.colors when I need to access specific RGB values like ${baseXX-rgb-r}.
However I have seen some applications take rgb() vectors in normalized/unit form, so each component is normalized from 0 - 1 instead of 0 - 255. From my initial reading of the Stylix docs, I should be able to access these values with ${baseXX-dec-r}.
The programs seem to be accepting these values, but the issue is that the same color (ie. base00) looks different when generated via dec method.
To illustrate this, I plugged the colors generated by dec into an online color picker.
The true color should be identical to the background of the webpage, which was generated with standard withHashtag${base00}.
PS: I'm also a bit confused about accessing other colors in the schema. I saw that you have a big refactor in your roadmap for the naming schemes, but how would I go about referencing additional colors as described here? I would like to access colors like ${bright-blue} that are generated by base16.nix but aren't exposed via stylix
The text was updated successfully, but these errors were encountered:
Upon messing around further with the picker website, I noticed that it isn't possible to manually enter the "correct" value output by stylix... Is it a valid color value? The value
"${base00-dec-r},${base00-dec-g},${base00-dec-b}"
generates
"0.117188,0.179688,0.179688"
But the site doesn't allow me to actually plug in those numbers, and give that green instead. Other programs seem to have the same issue, for example f3d.
Forgive me if I'm misunderstanding something, but here's my issue.
Usually I use
with config.lib.stylix.colors.withHashtag
to acces${baseXX}
values required by most programs.Sometimes I use
with config.lib.stylix.colors
when I need to access specific RGB values like${baseXX-rgb-r}
.However I have seen some applications take
rgb()
vectors in normalized/unit form, so each component is normalized from 0 - 1 instead of 0 - 255. From my initial reading of the Stylix docs, I should be able to access these values with${baseXX-dec-r}
.The programs seem to be accepting these values, but the issue is that the same color (ie.
base00
) looks different when generated viadec
method.To illustrate this, I plugged the colors generated by
dec
into an online color picker.The true color should be identical to the background of the webpage, which was generated with standard
withHashtag
${base00}
.PS: I'm also a bit confused about accessing other colors in the schema. I saw that you have a big refactor in your roadmap for the naming schemes, but how would I go about referencing additional colors as described here? I would like to access colors like
${bright-blue}
that are generated bybase16.nix
but aren't exposed viastylix
The text was updated successfully, but these errors were encountered: