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

More strict types #5

Merged

Conversation

thompsongl
Copy link

This will makes some impossible states impossible (via type checking). Namely,

  • text options without title values
  • fixed types using ColorStop palette values

Also a minor refactor to reduce the number of calls to local utility functions.

Copy link
Owner

@miukimiu miukimiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @thompsongl! It looks good and professional!

@miukimiu miukimiu merged commit 62dc72c into miukimiu:color-palette-picker Jun 2, 2020
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.

2 participants