Skip to content
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

Parameter setup bugfixes #205

Merged
merged 1 commit into from
Apr 19, 2023

Conversation

NateBaldwinDesign
Copy link
Collaborator

Description

This addresses two issues encountered when loading themes via URL.

  1. Themes with lightness set to 0 do not load: Theme URL error/won't load #179
  2. Themes do not load when the first defined color scale uses OKLAB/OKLCH plus smoothing. Theme URL error/won't load #179

The first issue was due to lightness interpreted as undefined. The second was solved by ignoring the smoothing setting for the first color scale, then setting it downstream if the color space was OKLAB or OKLCH.

Motivation

Want users to be able to use the site with these parameters setup.

Screenshots

To-do list

  • This pull request is ready to merge.

@NateBaldwinDesign
Copy link
Collaborator Author

@DmitryBaranovskiy or @GarthDB sorry for the 🏓 ping but I do not have merge & release rights. The first fix is straightforward. The second fix is a bit of a workaround, but still succeeds in loading the example URLs filed in the linked issue.

@NateBaldwinDesign NateBaldwinDesign merged commit 300175b into adobe:main Apr 19, 2023
@NateBaldwinDesign NateBaldwinDesign deleted the bugfix-params branch April 19, 2023 05:20
@NateBaldwinDesign NateBaldwinDesign restored the bugfix-params branch August 1, 2023 21:07
thierryc pushed a commit to thierryc/leonardo that referenced this pull request Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant