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

Improve typescript support #97

Merged
merged 2 commits into from
Sep 8, 2020

Conversation

fedeci
Copy link
Contributor

@fedeci fedeci commented Sep 6, 2020

Description

This adds a new type declaration just for color spaces used in the interpolation process and a new interface declaration for colorScales parameter of generateAdaptiveTheme.

This closes #95 and closes #96

Motivation

This improves the usage of the package in typescript projects.

Screenshots

To-do list

  • This pull request is ready to merge.

@NateBaldwinDesign
Copy link
Collaborator

Thank you for this!

@NateBaldwinDesign NateBaldwinDesign merged commit e8ade27 into adobe:main Sep 8, 2020
@fedeci fedeci deleted the fix-typescript-support branch September 9, 2020 07:09
thierryc pushed a commit to thierryc/leonardo that referenced this pull request Mar 29, 2024
* fix: remove 'HEX' and 'CAM02p' from color spaces used to interpolate values

* feat: add 'NamedColorScale' interface
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants