18F UI style guide

Overview

This is the user interface (UI) style guide for 18f.gsa.gov.

The site uses a custom set of styles that inherit from the U.S. Web Design Standards and 18F brand guidelines to create style that is professional, unique, and informative. The guide has a two-fold purpose:

  1. Speed up onboarding of future maintainers of the site. While most of this guide addresses content needs, there is some technical documentation for how we have extended Jekyll’s out-of-the-box functionality.
  2. Serve as a living reference for 18F brand of styles.

Adding a blog post?

If you are updating or adding a new blog post, go to Layouts to get started, or go directly to Blog components to learn more about enriching your blog post.

Adding a project page?

If you are updating or adding a new project page, go to Layouts to get started.

Overriding the Standards

While 18f.gsa.gov relies heavily on the U.S. Web Design standards, there are several instances where we have overridden styles with our own set of custom stylesheets. This is primarily to align ourselves more directly with the 18F brand set of fonts, colors, and logos. Additional overrides were made to create custom layouts or components to address user needs that are specific to the marketing of the 18F brand.