-
Notifications
You must be signed in to change notification settings - Fork 13
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
Styling: Hover/Focus on TextInputs utilize dark colors #1886
Conversation
Changes: - Added new dark hover/focus colors to variables.md - Added new dark hover/focus colors to text-inputs.md - Updated text-inputs.md with the new dark hover/focus color stories
✅ Thanks for the improvements! Browse a preview of your changes using the link below.
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
@shindigira
When I reviewed this with the design team we had only discussed changing the hover state to the darker color. Changing the focus state (or hover + focus) to the darker color was not the intent and would require further exploration/consideration. Perhaps as a first step we can change the hover to red (instead of blue) and put this additional change aside until I have time to discuss with the team next week?
Or we can pause on this and focus on the checkbox Error status states as a first step.
I'd like to proceed as follows:
The only visual change here should be changing Hover from Pacific to Dark Red. Focus+Hover and Focus should remain as Red. |
Changed where only Hover has the dark variant. See the screenshot and test via the preview link. |
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.
Looks great! Nice work @shindigira.
I'll merge this after #1973 goes in. |
closes #1881
Changes
How to Test
text-inputs.less
and ensure no unintended styling changes affect other componentsVariables
story section to view the new styling variables.TextInputs
story section and view the new dark hover/focus styles. Hover and focus in the three normal status sections (success/error/warning)Screenshot(s)
Subtle dark colors -- only visible during hover (not focus)