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/.
The primary brand color and it's variants
The color of the background for the component or page this theme is applied to.
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.
Font style rules for "heading" elements.
(i.e. <h1>
, <h2>
, <h3>
,
<h4>
, <h5>
, <h6>
).
Font style rules for general text elements such as paragraph sections.
(i.e. <p>
).
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.
The theme values for navigation sections of a page.
(i.e. <header>
, <footer>
).
NOTE:
These rules are only applicable to page level themes.
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.
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.
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…
Three success criteria in WCAG 2 address contrast: