Theme Settings

Colors

The base color options that will be allowed within this theme. It is important for Web Accessibility that foreground text colors properly contrast with their background colors. Acceptable contrast ratios are based on font size. Colors can be tested for contrast at https://webaim.org/resources/contrastchecker/.

  • WCAG 2.0 level AA requires a contrast ratio of at least 4.5:1 for normal size text.
  • WCAG 2.0 level AA requires a contrast ratio of at least 3:1 for large text.
  • WCAG 2.1 requires a contrast ratio of at least 3:1 for graphics and user interface components (such as form input borders).
  • WCAG Level AAA requires a contrast ratio of at least 7:1 for normal text and 4.5:1 for large text.

Primary Colors

The primary brand color and it's variants

  • 900
    No Value Set
  • 800
    No Value Set
  • 700
    No Value Set
  • 600
    No Value Set
  • 500
    No Value Set
  • 400
    No Value Set
  • 300
    No Value Set
  • 200
    No Value Set

Background Colors

The color of the background for the component or page this theme is applied to.

  • Background
    No Value Set

Fonts

Settings for each typographic element of a page or component (e.g. headings, paragraph text, etc). Google font names are allowed for each section. The font name should be entered as it appears on https://fonts.google.com/. (e.g. Roboto, Open Sans, Source Sans Pro, Arimo, Bitter etc.)
NOTE: Font Family rules are only applicable to page level themes.

Headings

Font style rules for "heading" elements. (i.e. <h1>, <h2>, <h3>, <h4>, <h5>, <h6>).

H1

No Value Set
No Value Set
No Value Set
No Value Set
Color
No Value Set

H2

No Value Set
No Value Set
No Value Set
No Value Set
Color
No Value Set

H3

No Value Set
No Value Set
No Value Set
No Value Set
Color
No Value Set

H4

No Value Set
No Value Set
No Value Set
No Value Set
Color
No Value Set

H5

No Value Set
No Value Set
No Value Set
No Value Set
Color
No Value Set

H6

No Value Set
No Value Set
No Value Set
No Value Set
Color
No Value Set

Lorem ipsum dolor sit amet, consectetur adipiscing elit.


Lorem ipsum dolor sit amet, consectetur adipiscing elit.


Lorem ipsum dolor sit amet, consectetur adipiscing elit.


Lorem ipsum dolor sit amet, consectetur adipiscing elit.


Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Body / Paragraph Text

Font style rules for general text elements such as paragraph sections. (i.e. <p>).

No Value Set
No Value Set
No Value Set
No Value Set
Color
No Value Set

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris. Fusce nec tellus sed augue semper porta. Mauris massa. Vestibulum lacinia arcu eget nulla. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur sodales ligula in libero. Sed dignissim lacinia nunc.

Praesent mauris. Curabitur tortor. Pellentesque nibh. Aenean quam. In scelerisque sem at dolor. Maecenas mattis. Sed convallis tristique sem. Proin ut ligula vel nunc egestas porttitor. Morbi lectus risus, link, suscipit quis, luctus non, massa. Fusce ac turpis quis ligula lacinia aliquet. Mauris ipsum. Nulla metus metus, ullamcorper vel, tincidunt sed, euismod in, nibh. Quisque volutpat condimentum velit. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Nam nec ante.

Navigation Text

Navigation Font

The theme values for navigation sections of a page. (i.e. <header>, <footer>).
NOTE: These rules are only applicable to page level themes.

No Value Set
No Value Set

Primary Navigation Colors

  • Primary Color
    No Value Set
  • Primary Hover Color
    No Value Set
  • Primary Background
    No Value Set

Secondary Navigation Colors

  • Secondary Color
    No Value Set
  • Secondary Hover Color
    No Value Set
  • Secondary Background
    No Value Set

Links

  • Link Color
    No Value Set
  • Link Hover/Focus Color
    No Value Set
  • Focus / Underline Color
    No Value Set
No Value Set
No Value Set
No Value Set

Buttons

Primary Button

  • Background Color
    No Value Set
  • Text Color
    No Value Set
  • Border Color
    No Value Set
  • Focus / Hover Background Color
    No Value Set
  • Focus / Hover Text Color
    No Value Set
  • Focus / Hover Border Color
    No Value Set
No Value Set
No Value Set
No Value Set

Secondary Button

  • Background Color
    No Value Set
  • Text Color
    No Value Set
  • Border Color
    No Value Set
  • Focus / Hover Background Color
    No Value Set
  • Focus / Hover Text Color
    No Value Set
  • Focus / Hover Border Color
    No Value Set
No Value Set
No Value Set
No Value Set

Tertiary Button

  • Text Color
    No Value Set
  • Focus / Hover Text Color
    No Value Set
  • Focus / Underline Color
    No Value Set
No Value Set
No Value Set
No Value Set

Sub Heading

No Value Set
No Value Set
No Value Set
No Value Set
Color
No Value Set
Text with generic links

Praesent mauris. Curabitur tortor. Pellentesque nibh Generic Link. Aenean quam. In scelerisque sem at dolor. Maecenas mattis. Sed convallis tristique sem. Proin ut ligula vel nunc egestas porttitor Generic Link. Morbi lectus risus, suscipit quis, luctus non, massa. Fusce ac turpis quis ligula lacinia aliquet Generic Link. Mauris ipsum. Nulla metus metus, ullamcorper vel, tincidunt sed, euismod in, nibh.

Buttons with text only
Buttons with text and icons
Buttons with icons only

Tabs

No Value Set
No Value Set
  • Text Color
    No Value Set
  • Background Color
    No Value Set
  • Underline Color
    No Value Set
  • Active Text Color
    No Value Set
  • Active Underline Color
    No Value Set
  • Active Background Color
    No Value Set

Web Content Accessibility Guidelines (WCAG)

Introduction

Contrast and color use are vital to accessibility. Users, including users with visual disabilities, must be able to perceive content on the page. There is a great deal of fine print and complexity within the Web Content Accessibility Guidelines (WCAG) 2 that can easily confuse web content creators and web accessibility evaluators. This article pulls together the terms and principles needed to understand WCAG 2 requirements for contrast and color.

WCAG 2 "Contrast Ratio"

In WCAG 2, contrast is a measure of the difference in perceived "luminance" or brightness between two colors (the phrase "color contrast" is never used). This brightness difference is expressed as a ratio ranging from 1:1 (e.g. white text on a white background) to 21:1 (e.g., black text on a white background). To give a frame of reference, on a white background…

  • Pure red [#FF0000 / rgb(255, 0, 0)] has a ratio of 4:1. I am red text.
  • Pure green [#00FF00/ rgb(0, 255, 0)] has a very low ratio of 1.4:1. I am green text.
  • Pure blue [#0000FF / rgb(0, 0, 255)] has a contrast ratio of 8.6:1. I am blue text.

Three success criteria in WCAG 2 address contrast:

Test Theme
Color blindness filter