-
-
Notifications
You must be signed in to change notification settings - Fork 681
Improve visual styling of mobile menu toggle when menu is open #2727
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
Conversation
🦋 Changeset detectedLatest commit: a6f1749 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ Deploy Preview for astro-starlight ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Nice addition!👌 I wonder why the Netlify production performance is down that much though... Not that much CSS and HTML changes... |
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 @techfg for your contribution!
I looked over your modifications, but I didn't see any issues. Additionally, I like the new changes you've made on the mobile button.
LGTM!!👍
Best regards,
SnowDingo
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 for this contribution @techfg! We decided not to include the changes to the colour/shadow styles in the end, but the changing icon helps a lot with the clarity of the behaviour I think 🙌
Description
close
("X") to improve the visual indication that the behavior of clicking the button is different. The current approach is to change the background color and drop the box shadow, however darkening the button gives the appearance that the button is disabled and dropping the box shadow is difficult to discern in dark theme. The state of the button is not changing when the menu opens/closes, only its behavior is which is more commonly represented with a change in icon vs. a change in style.Dark Theme
Light Theme