Skip to content

Commit

Permalink
Introduce USWDS theming and upgrade to USWDS 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwoldatwork authored May 23, 2024
2 parents 833a051 + ec5ac1d commit 78dadf9
Show file tree
Hide file tree
Showing 47 changed files with 3,395 additions and 37,587 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@ To run tests (TBD -- this currently does not work with selenium web driver)
- copy the file ./pre-commit to your .git/hooks/ folder within the project to ensure changed files adhere to project standards, prior to commit.
- to get a commit through without running that pre-commit hook, use the --no-verify option

## Updating USWDS
Touchpoints employs a customized version of USWDS for styling. Upgrading to a new version of USWDS requires the following steps:
1. Run `yarn upgrade @uswds/uswds --latest --exact` to get the latest version of USWDS.
2. Run `npx gulp updateUswds` to update all of our project's assets to the new version of USWDS. This update includes
a step that generates CSS from the USWDS SASS files along with our project customizations. See [uswds-compiler documentation](https://designsystem.digital.gov/documentation/getting-started/developers/phase-two-compile/#introducing-uswds-compile-2)
for more details.

## License

See [LICENSE](LICENSE.md)
2 changes: 1 addition & 1 deletion app/assets/javascripts/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
//= require jquery3
//= require jquery-ui
//= require rails-ujs
//= require uswds-init
//= require uswds-init.min
//= require heartbeat

function generateUUID() {
Expand Down
24 changes: 0 additions & 24 deletions app/assets/javascripts/uswds-init.js

This file was deleted.

2 changes: 2 additions & 0 deletions app/assets/javascripts/uswds-init.min.js

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

1 change: 1 addition & 0 deletions app/assets/javascripts/uswds-init.min.js.map

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

Loading

0 comments on commit 78dadf9

Please sign in to comment.