-
Notifications
You must be signed in to change notification settings - Fork 64
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
Fix: Add new menu header color variables (fixes #402) #423
Conversation
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.
👍
Although this issue is raised for Boxmenu, I would say this is a global header issue (would apply to page too). In either use case, we do have the The differentiation between the implementation (new menu color variables vs header color mixin class) visually is the From an AAT perspective, the color variables will be more desirable than applying classes. I think this is a long winded way of me asking two queries, 1 - should we do the same for page header? |
@kirsty-hames Thanks for the good feedback. See my thoughts below:
|
Thanks @swashbuck. Whichever is easiest.
Sounds fine to me but worth mentioning we do have a page header plugin on the horizon adaptlearning/adapt_framework#2703. I'm not sure if the intention is a replacement or alternative to the existing core menu/page headers. Either way, is this something we need to consider when reviewing this PR? I'm assuming Vanilla will need to cater for both (plugin and core) so we might need some alignment with use/naming of variables? |
@kirsty-hames Thanks for bringing this up. I think we could still move forward with the menu header and page header color variables and then possibly incorporate them into a new page header plugin (if and when that plugin is released). My assumption is that the current menu and page header implementations will still be supported if people don't want to use the new plugin(s). @oliverfoster Thoughts?
Agree, would you want to look at this and confirm the naming conventions for the variables? |
Yea, carry on working with it as it is, we'll consider the header component later, when it's all ready. |
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.
👀
🎉 This PR is included in version 9.6.13 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Fixes #402
Fix
@menu-header-background-color
,@menu-header-title-color
,@menu-header-body-color
, and@menu-header-instruction-color