Themes
Preview and customize color themes in Yolo.
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:
- Add an entry to a group in
src/_data/themes.json. - Set colors for light and dark modes.
- Set
brand.themeinsrc/_data/settings.yml.
Color Variables
Three main colors define a theme:
primary-color- Page backgroundsecondary-color- Headerstertiary-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
link-color
General Colors
neutral-color
on-neutral-color
error-color
on-error-color
warn-color
on-warn-color
info-color
on-info-color