-
Notifications
You must be signed in to change notification settings - Fork 206
feat: add palette file, add palette tests #566
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
base: main
Are you sure you want to change the base?
Conversation
|
|
argyleink
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️ thanks for this!
you've got the files in there, and the tests look like they'll pass, but the one forgotten part was to add them to the main bundle and main JS object.
|
I've added a palette playground now! I kept it really sparse in terms of info. The basic concept is there but I mean there could be essays written, so didn't wanna do too much before you had a look at it. Sorry for some formatting changes, I wrestled with trying to get the formatter to stop but idk, it didn't change anything at least 😅 Had to edit slider.js so I could use negative values in the hue rotation slider. |
argyleink
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| import Easings from '../src/props.easing.js' | ||
| import Gradients from '../src/props.gradients.js' | ||
| import Shadows from '../src/props.shadows.js' | ||
| import SVG from '../src/props.svg.js' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how come?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, old habit 🤦 I was adding the palette and just saw it was unused. Will restore it! 👍

I'm not sure if the tests are used anymore, they are missing some stuff so I could remove that part of the PR (or fix them) - I didn't put much work into it before checking with you.
Step 2 in this PR is for sure the documentation, or it could be a completely new PR.