Skip to content

octokas/website-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,029 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

USDS website

Uploading images

  • /images: This folder contains editorial photos and other images for People cards and pages, Project cards and pages, event logos for the Events cards and page, and other areas that are likely to change semi-frequently.
  • /assets/img: Site assets and evergreen images such as page banners/headers and vector graphics should be placed in the assets/img folder here. The images in this folder typically will not be subject to change.

Adding Content

To run

$ npm install
$ bundle install
$ npm run serve (or bundle exec jekyll serve)

Updating USWDS to a later version.

There are a couple ways to update the USWDS:

Change theme settings

This site uses custom USWDS theme settings in assets/uswds-theme. Use this if you want to include or remove utilities or update utility settings.

  1. Compile usds.css gulp uswds-build-sass
  2. Run Jekylll bundle exec jekyll serve

Only update the USDS.css without getting new functions and tokens for use in usds.gov project files

Use this to patch any display bugs through updates to USWDS.

  1. Install the package npm install --save-dev *new-USWDS-version-number*
  2. Compile usds.css gulp uswds-build-sass
  3. Run Jekylll bundle exec jekyll serve

Update USDS and get new functions and tokens for use in usds.gov project files

This will will update some of the scss files in assets/uswds-sass, but will not overwrite any of your files in assets/uswds-theme.

  1. Install the package npm install --save-dev *new-USWDS-version-number*
  2. Run gulp update
  3. Compile usds.css gulp uswds-build-sass
  4. Run Jekyll bundle exec jekyll serve

About

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 72.3%
  • HTML 23.7%
  • JavaScript 2.2%
  • Ruby 1.8%