Skip to content
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

Introduce USWDS theming and upgrade to USWDS 3.8. #1425

Merged
merged 3 commits into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading