-
-
Notifications
You must be signed in to change notification settings - Fork 795
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
[legacy-framework] Add Theme UI recipe (including MDX!) #1366
Conversation
Thanks @tundera! I marked this as draft for better tracking. Click "Ready for Review" when ready :) |
Hey @tundera are you able to finish this? |
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.
@flybayer hey I think this is ready to go!
@tundera Awesome, good job!! @all-contributors add @tundera for code |
I've put up a pull request to add @tundera! 🎉 |
I changed the versions to be specific major version instead of |
Awesome! |
What are the changes and their implications?
This recipe adds Theme UI support to a blitz app. The implementation is based on the material-ui and chakra recipes. I've been using Theme UI pretty often this past year, mostly in Next.js projects. I've set this up a handful of times in Blitz, and it takes about a half hour each time to update/add the necessary files and packages. This recipe does the same configuration and setup for you automatically.
Progress 🏃
Add base theme file[2020-10-19]Create injectInitializeColorMode method[2020-10-19]Import InitializeColorMode component in _document[2020-10-19]Create wrapComponentWithThemeProvider method[2020-10-19]Import base theme and ThemeProvider in _app[2020-10-19]MDX Layout components (see implementation)Status
This is a work-in-progress with a couple outstanding issues. Working with jscodeshift methods for the first time, so any input is welcome!
Any other ideas or input is much appreciated 😀
Checklist