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

Insert isValid function as an extention for colorjs.io #8

Merged
merged 1 commit into from
Feb 9, 2025

Conversation

caoimghgin
Copy link
Owner

@caoimghgin caoimghgin commented Feb 9, 2025

I reverted all previous validate-color routines to favor an approach where we can share improvements in a PR to colorjs.io.

This PR lifts portions of code from colorjs.io npm package that was private so we could expose and add an isValid function.

Also stubbed in a test-utils/tracer-bullet.js that can be called with node test-utils/tracer-bullets.js to quickly smoke test code (rather than running and console logging from the web page every time).

Also stubbed in a tracer-bullet.js to quickly verify code rather than running and console logging from the web page.
Copy link

netlify bot commented Feb 9, 2025

Deploy Preview for prismcolor-io ready!

Name Link
🔨 Latest commit fdcafc2
🔍 Latest deploy log https://app.netlify.com/sites/prismcolor-io/deploys/67a8bfb9b667340008d650c4
😎 Deploy Preview https://deploy-preview-8--prismcolor-io.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@caoimghgin caoimghgin merged commit eef538b into main Feb 9, 2025
4 checks passed
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