-
Notifications
You must be signed in to change notification settings - Fork 21
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 focus state on neutral header #3220
Fix focus state on neutral header #3220
Conversation
✅ Deploy Preview for ons-design-system-preview ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
The logo looks good but I think we need a bit more information on the other things. I'm not sure the hover line in the header links should be white. Also the sub navigation now no longer shows if it is being hovered and there isn't much differentiation between one that is selected and hovered. Is this ok? Also to me I think the hover line should be closer to the text and not be shown if the item is selected but that doesn't solve the issue in the difference between just selected and hovered and selected. Think this needs some design discussion. |
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.
I am happy to approve based on the fact that you still need to get this reviewed by Design :)
Had a chat with Joe, white line on the hover needs more investigation along with usage of neutral header. He said he will follow up with Dina on this and let me know again. He is fine with changes made in sub navigation menu items focus, hover and click. |
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.
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.
I don't think you have either your husky hooks set up and/or the EditorConfig plugin in your vscode because your css isn't formatted
Sri's comment:
This is done. Can you check it now
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.
Is this the expected behaviour?
Can you also confirm if you had your latest work reviewed by Dina or Joe?
Screen.Recording.2024-06-14.at.11.28.28.mov
Sri's Comment:
Yes, Dina asked these changes.
- White underline for menu items has been made consistent with the design system's navigational items.
- There is a double underline when focused and hovered
Co-authored-by: rmccar <42928680+rmccar@users.noreply.github.com>
Co-authored-by: rmccar <42928680+rmccar@users.noreply.github.com>
I think we should rename the example from |
What is the context of this PR?
#3204...
Three issues are addressed in this PR:
After conversations with Dina and Joe following things were changed:
How to review this PR
Go to 'components/header/example-header-neutral-for-multicoloured-logo' and focus each element to check the changes above mentioned and compare this with the original 'example-header-neutral-for-multicoloured-logo'
Checklist
This needs to be completed by the person raising the PR.