-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Sidebar: Update appearance of active items #67318
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Unlinked AccountsThe following contributors have not linked their GitHub and WordPress.org accounts: @danielvann777. Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases. If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Size Change: +9 B (0%) Total Size: 1.83 MB
ℹ️ View Unchanged
|
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.
Works well!
Flaky tests detected in 34c52be. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/12073259227
|
It looks great ✨ |
Unlinked contributors: danielvann777. Co-authored-by: jameskoster <[email protected]> Co-authored-by: jasmussen <[email protected]> Co-authored-by: fcoveram <[email protected]> Co-authored-by: richtabor <[email protected]> Co-authored-by: ptesei <[email protected]> Co-authored-by: joedolson <[email protected]>
Unlinked contributors: danielvann777. Co-authored-by: jameskoster <[email protected]> Co-authored-by: jasmussen <[email protected]> Co-authored-by: fcoveram <[email protected]> Co-authored-by: richtabor <[email protected]> Co-authored-by: ptesei <[email protected]> Co-authored-by: joedolson <[email protected]>
Closes #66554.
What / Why?
This PR updates the appearance of active menu items in the navigation sidebar to achieve two objectives:
How
$gray-800
background to active stateThe increased font-weight is an a11y consideration, due to the contrast between the sidebar and active item backgrounds not being sufficient.
Testing Instructions
Before
befor.mp4
After
after.mp4