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
{{ message }}
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.
I’m inputting the primary color of my page to palx. I can access that as .base, which is great, but I’d like to get a “shades of base” array as well, with lighter and darker shades of the primary hue.
The text was updated successfully, but these errors were encountered:
Since the steps of the hue are generated from hue of your base color, to get shades of your base color all you need to do is figure out in which named hue it falls under ([0,30), [30, 60), etc.) and then your base color will be under $huename5.
For example if your base color is a green, your base color will actually be palx.green5 and the shades of your base color will be palx.green[0-9].
It would still be great to figure that out programmatically. In my use case, I want to determine that value without any input from the use, so it would be great to have easily accessible as shades of base.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I’m inputting the primary color of my page to palx. I can access that as
.base
, which is great, but I’d like to get a “shades of base” array as well, with lighter and darker shades of the primary hue.The text was updated successfully, but these errors were encountered: