-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Colour Shades Support #34
Conversation
Now generates shades without including it on shade palette, which results in easier development and better shade palette. Now needs more testing. |
Well, will probably find another way of mapping interpolating values since too bright or too dark values still gets lightened/darkened, to the point they're completely white or black. |
6040ba0
to
ddbcedb
Compare
This implementation is not complete and code is *probably* bad. Will improve and fix remaining issues later.
Doesn't map and include the main colour anymore, since it's already present as `DEFAULT`.
This reverts commit 8d94cc7.
ddbcedb
to
6826c70
Compare
Actually, closing this for now to get better ideas first from issues. I don't want this PR to be conflict fix challenge. |
Looks fine for now. Might need to tune some values in [src/shade.ts]
mapLightnessToShadeRange
function for better colour shade generation.