-
Notifications
You must be signed in to change notification settings - Fork 1k
USWDS: Button - Forced colors outline #5147
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
6c2da72
Create forced-color-outline mixin
mahoneycm b66a9b1
Switch forced color outline declarations to new mixin
mahoneycm 3d4b18e
Add forced color outline mixin to buttons
mahoneycm 9514256
Override forced color button outline on search to maintain consistent…
mahoneycm 600ba38
Run prettier
mahoneycm 71ace11
Ignore focus state on forced color outline
mahoneycm c292390
Create variable for forced color outline width
mahoneycm 249357d
Search: Refactor forced color button outline to fix focus
mahoneycm 60af03d
Revert forced color outline to border
mahoneycm 60537b8
Adjust styles for components with forced color border
mahoneycm 8acc85c
Create high contrast border variable
mahoneycm 1a0dd2c
Replace forced color borders & outlines with new variable
mahoneycm ff2ac9f
Remove forced color border mixin
mahoneycm 65acbe8
Remove unused utilities import
mahoneycm 490232e
Merge branch 'develop' of github.com:uswds/uswds into cm-button-force…
mahoneycm 98005ed
Implement review notes:
mahoneycm b2f35e6
Add note about high contrast mode
mahoneycm d27c0e3
Date Picker: Change background color for calendar arrows on hover
mahoneycm bd7de74
Date Picker: Adjust month/year arrow hover states
mahoneycm adb75b1
Move high contrast border setting to system variables
mahoneycm eb3b422
Create variable for high contrast disabled border
mahoneycm 282adb4
Remove variable for high contrast disabled border
mahoneycm cb9dab5
Remove border: 0 from button-disabled
mahoneycm 264008a
Specify border-high-contrast variable call in checkbox and radio colors
mahoneycm 05ef153
Run prettier:scss
mahoneycm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Implement review notes:
- Moves and renames -high-contrast to -high-contrast-border - Switches HC range slider border to outline to resolve visual discrepency - Switches radio & checkbox border to outline to resolve visual discrepency - Removes extra line
- Loading branch information
commit 98005edaaee64bc5bd67246f2d9c440ba8989f1a
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Wondering if it would be helpful to specify that this is for High contrast mode, possibly with a short description explaining HC mode/CSS forced-color mode is and how to activate it.
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.
Resolved in b2f35e6