USAJOBS Design System
This repository houses the design system for the next generation of USAJOBS. A design system describes the base visual language, using UI elements and style guidelines, upon which the site can be built. It will also include examples and usage guidelines of new components.
The USAJOBS design system starts with the The U.S. Web Design Standards and extends them to meet the needs of the USAJOBS next generation project. This repo allows the team working on USAJOBS to:
Document where we have intentionally deviated from an existing guildeline in the U.S. Web Design Standards and provide a platform for contributing back to those standards.
Document where we have unintentionally deviated from an existing guideline in the U.S. Web Design Standards and want to track getting back inline with the standards.
Design new components or elements that are not yet a part of the U.S. Web Design Standards. These components or elements may or may not be appropriate to contribute back to the standards given their potential for reuse elsewhere.
Setup for your local environment
On OS X, you can also use Homebrew to install Ruby in
/usr/local/bin, which may require you to update your
variable. Here are the commands to follow to install via homebrew:
$ brew update$ brew install ruby$ brew install node
If you do use rbenv it is important to set your global Ruby version to 2.2.3 or higher so that you can install gems properly:
$ rbenv global
Now that you have verified that you have Ruby and Node installed, run the following commands to install the packages that the design system depends upon:
$ bundle install$ npm install -g gulp$ npm install -g gulp-cli$ npm install$ npm run build
The post-install step should run bundle install.
To view and work on the site run:
$ npm start
This will perform the necessary Jekyll build, generate concatenated CSS and JS files, serve the site, and watch for changes to Sass and JS files. You should now be able to visit
http://127.0.0.1:4001/ and view the design system locally.
Questions or need help with setup? Feel free to open an issue here https://github.com/USAJOBS/design-system/issues.
How to use this repo in projects
We will create a new repo for each project that will incrementally redesign a portion of the USAJOBS site. Those project repos will depend on the usajobs-design-system node module.
If you have node installed on your machine, you can use npm to install the design system. Add usajobs-design-system to your project's package.json as a dependency:
npm install usajobs-design-system --save
The package will be installed in
The main Sass (SCSS) source file is here:
Please create a GitHub Issue.
Contributing to the code base
Licenses and attribution
Please refer to the LICENSE page.