Themes

Preview and customize color themes in Yolo.

themes colors customization design

Themes

Click a pill to preview any theme. The site changes as you click. 🎭

Material Themes

material-pink material-purple material-indigo material-blue material-light-blue material-cyan material-teal material-brown material-gray material-blue-gray

Matrix Themes

matrix-green matrix-red matrix-orange matrix-yellow matrix-blue matrix-indigo matrix-violet matrix-neon

Chroma Themes

chroma-red chroma-orange chroma-yellow chroma-green chroma-blue chroma-indigo chroma-violet

Corbs Themes

star-lord corbs-cosmic abyssal amethyst berry bluebonnet cotton-candy cyan-pulse glacial graphite-bloom horizon minio mongo monochrome neon-reef news orbit reef reveal-redux snazzy solar-pop stock sunset tideglass vice winter-is-coming yolo-flux

Original Yolo Themes

corbs yolo reveal grape pentax bleu neon dusk cream meemaw newspaper summer domino zoot term mini

Custom Themes

Create a custom theme in three steps:

  1. Add an entry to a group in src/_data/themes.json.
  2. Set colors for light and dark modes.
  3. Set brand.theme in src/_data/settings.yml.

Color Variables

Three main colors define a theme:

  1. primary-color - Page background
  2. secondary-color - Headers
  3. tertiary-color - Accents

Pick these first. The other colors should complement them.

Set values for both light β˜€οΈ and dark πŸŒ™ modes.

On Colors

β€œOn” colors sit on top of main colors. They need contrast for readability.

Container Colors

Container colors fill nested elements within primary or secondary sections.

There is no tertiary-container-color. Tertiary stands alone as an accent.

Link Color

Links get their own color. Pick something distinct and use it everywhere.


Color Swatches

Theme Colors

primary-color
on-primary-color
primary-container-color
on-primary-container-color
secondary-color
on-secondary-color
secondary-container-color
on-secondary-container-color
tertiary-color
on-tertiary-color

General Colors

neutral-color
on-neutral-color
error-color
on-error-color
warn-color
on-warn-color
info-color
on-info-color