-
Notifications
You must be signed in to change notification settings - Fork 23
Added deepProp, deepTheme, and deepPalette #59
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: master
Are you sure you want to change the base?
Conversation
diegohaz
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.
Thank you again @jtmthf. I made a few suggestions (a yarn lint --fix may be needed after applying them).
Also, I was thinking about, instead of separate functions, a single function resolvePaletteProps that would return { key, tone, defaultValue } and then used as:
const { key, tone, defaultValue: finalDefaultValue } = resolvePaletteProps(...);Co-Authored-By: Haz <[email protected]>
Co-Authored-By: Haz <[email protected]>
Co-Authored-By: Haz <[email protected]>
Co-Authored-By: Haz <[email protected]>
Co-Authored-By: Haz <[email protected]>
Co-Authored-By: Haz <[email protected]>
Co-Authored-By: Haz <[email protected]>
Co-Authored-By: Haz <[email protected]>
Co-Authored-By: Haz <[email protected]>
Co-Authored-By: Haz <[email protected]>
Co-Authored-By: Haz <[email protected]>
Co-Authored-By: Haz <[email protected]>
Co-Authored-By: Haz <[email protected]>
Co-Authored-By: Haz <[email protected]>
Co-Authored-By: Haz <[email protected]>
|
@diegohaz I recently had a use for this project and I forgot that I still had this PR open. I applied your suggestions and cleaned a few things up if you're still interested in this feature. |
|
I'm looking forward the new feature to solve my recent problems, will this be merged? |
|
is there something else needed to merge this pr? |
|
Hey, @jtmthf Please, can you open this PR on my fork? |
Re-closes #55. Adds
deepProp,deepTheme, anddeepPalette.