-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WNMGDS-478] Add USWDS to build scripts (#826)
* Add USWDS dep * Update includePaths to include USWDS * Only import USWDS SCSS variables * Fix CSS stats comparison * Update yarn version * Fix issue with JSON file missing comma * Move usdws into settings * Simplify css stats * Simplify font size stats and add in TODO for fixing latest font size Co-authored-by: line47 <[email protected]>
- Loading branch information
1 parent
1f362d7
commit 75edc2d
Showing
17 changed files
with
2,108 additions
and
84 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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 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,4 @@ | ||
// This file is imported by many different scss files across the design system | ||
@import 'uswds/index'; | ||
@import 'variables/index'; | ||
@import 'mixins/index'; |
68 changes: 68 additions & 0 deletions
68
packages/design-system/src/styles/settings/uswds/_index.scss
This file contains 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,68 @@ | ||
/* | ||
* * * * * ============================== | ||
* * * * * ============================== | ||
* * * * * ============================== | ||
* * * * * ============================== | ||
======================================== | ||
======================================== | ||
======================================== | ||
*/ | ||
|
||
// ------------------------------------- | ||
// Import individual theme settings | ||
|
||
@import 'uswds-theme-general'; | ||
@import 'uswds-theme-typography'; | ||
@import 'uswds-theme-spacing'; | ||
@import 'uswds-theme-color'; | ||
@import 'uswds-theme-utilities'; | ||
|
||
// components import needs to be last | ||
@import 'uswds-theme-components'; | ||
|
||
// ------------------------------------- | ||
// Import individual USWDS packages... | ||
// See https://designsystem.digital.gov/components/ | ||
|
||
// First import required and global packages... | ||
@import 'packages/required'; | ||
// @import 'packages/global'; | ||
|
||
// Then import individual component packages... | ||
// @import 'packages/form-controls'; | ||
// @import 'packages/form-templates'; | ||
// @import 'packages/layout-grid'; | ||
// @import 'packages/typography'; | ||
// @import 'packages/validation'; | ||
// @import 'packages/usa-accordion'; | ||
// @import 'packages/usa-alert'; | ||
// @import 'packages/usa-banner'; | ||
// @import 'packages/usa-breadcrumb'; | ||
// @import 'packages/usa-button'; | ||
// @import 'packages/usa-button-group'; | ||
// @import 'packages/usa-card'; | ||
// @import 'packages/usa-checklist'; | ||
// @import 'packages/usa-footer'; | ||
// @import 'packages/usa-header'; | ||
// @import 'packages/usa-hero'; | ||
// @import 'packages/usa-layout'; | ||
// @import 'packages/usa-media-block'; | ||
// @import 'packages/usa-megamenu'; | ||
// @import 'packages/usa-nav-container'; | ||
// @import 'packages/usa-nav'; | ||
// @import 'packages/usa-navbar'; | ||
// @import 'packages/usa-section'; | ||
// @import 'packages/usa-search'; | ||
// @import 'packages/usa-sidenav'; | ||
// @import 'packages/usa-skipnav'; | ||
// @import 'packages/usa-table'; | ||
// @import 'packages/usa-tag'; | ||
|
||
// or package sets... | ||
// @import 'packages/uswds-components'; | ||
// @import 'packages/uswds-utilities'; | ||
|
||
// ------------------------------------- | ||
// ...or import the complete USWDS kit | ||
|
||
// @import 'uswds'; |
Oops, something went wrong.