-
Notifications
You must be signed in to change notification settings - Fork 166
Upgrade to Login.gov Design System v7 #8093
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 all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
773882c
Upgrade to Login.gov Design System v7
aduth 9bfeb5c
Patch broken alerts
aduth 9be5192
Update usage for package overrides
aduth be3fbe8
Remove unnecessary overrides
aduth 8557efc
Use published beta
aduth c58d5c8
Optimize USWDS imports
aduth 33059ad
Import missing core functions import
aduth a7ff279
Restore subset of code styles
aduth f4a179f
Refine USWDS component imports
aduth e99c851
Remove fix overrides
aduth 683e76a
Fix mobile navigation
aduth b8f92f0
Fix singular / plural usage
aduth bf362da
Improve display of mobile footer external link icon
aduth 1368ef1
Upgrade to final release of LGDS 7
aduth e2934d3
Bump LGDS to 7.0.1-beta.1
aduth 0fec4d2
Update to LGDS 7.0.1 stable
aduth 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,50 @@ | ||
| @import 'variables/vendor'; | ||
| @use 'uswds-core' with ( | ||
| $theme-body-font-size: 'sm', | ||
| $theme-font-path: '.', | ||
| $theme-image-path: '@18f/identity-design-system/dist/assets/img', | ||
| $theme-global-border-box-sizing: true, | ||
| $theme-global-link-styles: true, | ||
| $theme-grid-container-max-width: 'tablet-lg', | ||
| $theme-header-min-width: 'tablet', | ||
| $theme-link-visited-color: 'primary', | ||
| $theme-style-body-element: true, | ||
| $output-these-utilities: ( | ||
| 'add-list-reset', | ||
| 'align-items', | ||
| 'align-self', | ||
| 'background-color', | ||
| 'border', | ||
| 'border-color', | ||
| 'border-style', | ||
| 'border-width', | ||
| 'bottom', | ||
| 'clearfix', | ||
| 'color', | ||
| 'display', | ||
| 'flex', | ||
| 'flex-direction', | ||
| 'flex-wrap', | ||
| 'float', | ||
| 'font', | ||
| 'font-family', | ||
| 'font-feature', | ||
| 'font-style', | ||
| 'font-weight', | ||
| 'height', | ||
| 'justify-content', | ||
| 'left', | ||
| 'margin', | ||
| 'margin-horizontal', | ||
| 'margin-vertical', | ||
| 'maxw', | ||
| 'padding', | ||
| 'position', | ||
| 'right', | ||
| 'text-align', | ||
| 'text-transform', | ||
| 'top', | ||
| 'vertical-align', | ||
| 'whitespace', | ||
| 'width', | ||
| ) | ||
| ); |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| @use 'uswds-core' as *; | ||
|
|
||
| @forward 'uswds-global'; | ||
| @forward 'uswds-helpers'; | ||
| @forward 'usa-accordion'; | ||
| @forward 'usa-alert'; | ||
| @forward 'usa-banner'; | ||
| @forward 'usa-button'; | ||
| @forward 'usa-collection'; | ||
| @forward 'usa-form'; | ||
| @forward 'usa-header'; | ||
| @forward 'usa-icon-list'; | ||
| @forward 'usa-icon'; | ||
| @forward 'usa-layout-grid'; | ||
| @forward 'usa-link'; | ||
| @forward 'usa-list'; | ||
| @forward 'usa-media-block'; | ||
| @forward 'usa-modal'; | ||
| @forward 'usa-nav'; | ||
| @forward 'usa-process-list'; | ||
| @forward 'usa-prose'; | ||
| @forward 'usa-sidenav'; | ||
| @forward 'usa-skipnav'; | ||
| @forward 'usa-step-indicator'; | ||
| @forward 'usa-tag'; | ||
| @forward 'usa-verification-badge'; | ||
| @forward 'uswds-form-controls'; | ||
| @forward 'uswds-utilities'; |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,6 @@ | ||
| @import 'variables/app'; | ||
| @import 'required'; | ||
| @import 'identity-style-guide/dist/assets/scss/packages/required'; | ||
| @import 'design-system-waiting-room'; | ||
| @import 'identity-style-guide/dist/assets/scss/packages/global'; | ||
| @import 'identity-style-guide/dist/assets/scss/packages/components'; | ||
| @import 'components/all'; | ||
| @import 'identity-style-guide/dist/assets/scss/packages/utilities'; | ||
| @import 'utilities/all'; | ||
| @import 'print'; | ||
| @forward 'required'; | ||
| @forward 'uswds'; | ||
| @forward 'design-system-waiting-room'; | ||
| @forward 'components/all'; | ||
| @forward 'utilities/all'; | ||
| @forward 'print'; | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| @use 'uswds-core' as *; | ||
|
|
||
| .account-header__badges { | ||
| @include at-media-max('tablet') { | ||
| @include u-pin-x; | ||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| @use 'uswds-core' as *; | ||
|
|
||
| .usa-banner__inner { | ||
| @include at-media('tablet') { | ||
| justify-content: center; | ||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| @use 'uswds-core' as *; | ||
|
|
||
| .block-link { | ||
| @include u-position('relative'); | ||
| @include u-display('block'); | ||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| @use 'uswds-core' as *; | ||
|
|
||
| code { | ||
| font-size: 0.875rem; | ||
| background-color: #fafafa; | ||
| border-radius: border-radius('sm'); | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| @use 'uswds-core' as *; | ||
|
|
||
| html, | ||
| body { | ||
| height: 100%; | ||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| @use 'uswds-core' as *; | ||
|
|
||
| .form-steps__focus-anchor[tabindex='-1']:focus { | ||
| outline: none; | ||
|
|
||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| @use 'uswds-core' as *; | ||
|
|
||
| .has-full-screen-overlay { | ||
| overflow: hidden; | ||
| } | ||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| @use 'uswds-core' as *; | ||
|
|
||
| hr { | ||
| border: 0; | ||
| border-bottom: 1px solid color('primary-light'); | ||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| @use 'uswds-core' as *; | ||
|
|
||
| .usa-memorable-date input[type='text'] { | ||
| @include u-padding-x(1); | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| @use 'uswds-core' as *; | ||
|
|
||
| lg-one-time-code-input { | ||
| display: block; | ||
|
|
||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| @use 'uswds-core' as *; | ||
|
|
||
| .page-heading { | ||
| @include u-margin-top(0); | ||
| @include u-margin-bottom(2); | ||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| @use 'uswds-core' as *; | ||
|
|
||
| lg-password-toggle { | ||
| display: block; | ||
|
|
||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| // password strength module | ||
| @use 'uswds-core' as *; | ||
|
|
||
| $weak: #e80e0e; | ||
| $average: #ffac00; | ||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| @use 'uswds-core' as *; | ||
|
|
||
| lg-phone-input { | ||
| display: block; | ||
|
|
||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,6 @@ | ||
| @use 'uswds-core' as *; | ||
| @use '../variables/app' as *; | ||
|
|
||
| .profile-info-box { | ||
| border: 0; | ||
| border-radius: 0; | ||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| @use 'uswds-core' as *; | ||
|
|
||
| lg-spinner-button { | ||
| display: block; | ||
|
|
||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| @use 'uswds-core' as *; | ||
|
|
||
| $step-indicator-current-step-border-width: 3px; | ||
| $step-indicator-line-height: 4px; | ||
|
|
||
|
|
||
This file was deleted.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
app/assets/stylesheets/components/_troubleshooting-options.scss
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,6 @@ | ||
| @use 'uswds-core' as *; | ||
| @use '../utilities/typography' as *; | ||
|
|
||
| .troubleshooting-options { | ||
| @include u-margin-y(4); | ||
|
|
||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| @import 'required'; | ||
| @import '../../javascript/packages/document-capture/styles'; | ||
| @forward 'required'; | ||
| @forward '../../javascript/packages/document-capture/styles'; |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.