-
Notifications
You must be signed in to change notification settings - Fork 709
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
Theme updates feature branch (for 0.15.3) #8918
Conversation
@indirectlylit -- thanks for preparing this, it looks great. I have reviewed the code and would like to see if we can do some manual QA and get this into an upcoming patch. Do you have a suggestion of how to do some testing? Thank you! |
Hey @marcellamaki! There should not be any user-facing changes here, so some simple sanity checks checking theming behavior should suffice. In particular, I would double check that Kolibri looks right with both the default theme and at least one of the other partner theme plugins applied. More importantly, this PR adds two new functions, see:
This new functionality could be worth sharing with the team. |
@radinamatic the only issue I was able to identify is that the info sidebar is now displayed to the left of the screen instead of being displayed to the right but I'm not sure if it's caused by this PR so posting it here as FYI. The issue is observed in all supported browsers. |
when no theme is available use `tokens.text` a.k.a. `grey.v_900` a.k.a. `#212121`
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.
Overall this makes sense - the main question for me is whether the validation is going to actually ever be used, as the theme object is rarely changed in the development environment?
The main goal was to help engineers creating new themes by strictly defining the theme API |
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.
Manual QA by @pcenov was successful, good to go! 👍🏽
Summary
Feature branch for theme-related updates that would be safer to release in our first patch to avoid blocking 0.15.0 or introducing regressions.
References
See references below description
Reviewer guidance
After 0.15.0 is released we should begin testing this and preparing for 0.15.1.
Testing checklist
PR process
Reviewer checklist
yarn
andpip
)