Skip to content

Commit

Permalink
Update to uswds 2.2.1 (#303)
Browse files Browse the repository at this point in the history
* uswds update to 2.2.1

* update font and image paths

* use $theme-image-path variable

* uncomment change used for testing

* bug fix

* update theme settings

* revert to original setting

* update for theme

* bug fix

* remove comments used for testing
  • Loading branch information
saracope committed Sep 30, 2019
1 parent 153dc0e commit 59059de
Show file tree
Hide file tree
Showing 151 changed files with 1,469 additions and 3,970 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"test-watch": "jest --watch",
"update-data": "node update-data.js",
"update-fonts": "cp -r ./node_modules/@code.gov/code-gov-style/assets/font/* ./assets/fonts/.",
"update-uswds": "cp -r ./node_modules/uswds/dist/* ./styles/uswds/.",
"update-uswds": "rm -r ./styles/uswds/* && cp -r ./node_modules/uswds/dist/* ./styles/uswds/.",
"webpack": "node ./node_modules/webpack/bin/webpack.js"
},
"husky": {
Expand Down Expand Up @@ -98,7 +98,7 @@
"sass": "^1.20.1",
"snyk": "^1.210.0",
"url-search-params-polyfill": "^5.1.0",
"uswds": "^2.1.0",
"uswds": "^2.2.1",
"webpack": "^4.39.3",
"webpack-bundle-analyzer": "^3.3.2",
"webpack-cli": "^3.3.2",
Expand Down
4 changes: 1 addition & 3 deletions styles/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@
@import '~@code.gov/code-gov-font/css/code-gov';
/*@import '~devicons/css/devicons.scss';*/

@import './styles/theme/styles.scss';

$header-height: 50px;

@import './styles/uswds/scss/theme/styles.scss';
@import '~@code.gov/code-gov-style/_sass/_all.scss';

@import './overrides.scss';
Expand Down
133 changes: 0 additions & 133 deletions styles/theme/_uswds-theme-color.scss

This file was deleted.

66 changes: 0 additions & 66 deletions styles/theme/_uswds-theme-components.scss

This file was deleted.

21 changes: 0 additions & 21 deletions styles/theme/_uswds-theme-custom-styles.scss

This file was deleted.

98 changes: 0 additions & 98 deletions styles/theme/_uswds-theme-general.scss

This file was deleted.

0 comments on commit 59059de

Please sign in to comment.