Template docs

Style Guide

Every color, size and space in Fresh comes from Webflow variables. Change a variable once and the whole site follows.

Colors

Base primitives. Theme variables alias these, so swap a primitive to rebrand.

Brand/Ink
#000219
--brand--ink
Brand/Paper
#FFF8F3
--brand--paper
Brand/Coral
#FF6E58
--brand--coral
Brand/Coral Deep
#C2361F
--brand--coral-deep
Brand/Coral Soft
#FFE4DD
--brand--coral-soft
Neutral/White
#FFFFFF
--neutral--white
Neutral/Grey
#5C5C5C
--neutral--grey
Neutral/Hairline
#EFE2DA
--neutral--hairline

Key Theme variables:

  • --_theme---background--primary page background (paper)
  • --_theme---background--accent menu band (coral)
  • --_theme---background--footer footer (ink)
  • --_theme---text--primary body text (ink)
  • --_theme---text--accent small accent text (coral-deep, 5.2:1 on paper)
  • --_theme---button--background primary button (coral, ink label 7.4:1)
  • --_theme---focus--ring focus outline

Typography

H1 · 4.5 / 3.75 / 2.75rem
Fresh food
H2 · 3.25 / 2.75 / 2.25rem
Made fresh, every order
H3 · 2.25 / 2 / 1.75rem
Place your order
H4 · 1.75 / 1.75 / 1.5rem
Our promise to you
H5 · 1.375rem
Burger Delight
H6 · 1.125rem
Cooked to order
Text large · 1.25rem
Seasonal plates cooked when you order them.
Text medium · 1.125rem
Seasonal plates cooked when you order them.
Text regular · 1rem
Seasonal plates cooked when you order them.
Text small · 0.875rem
Seasonal plates cooked when you order them.

Font: Plus Jakarta Display, set by --_typography---font--heading and --_typography---font--body. Sizes switch automatically in the Tablet, Mobile and Mobile Portrait modes. The sizes above are desktop, tablet and mobile. Mobile Portrait is a fourth mode for small phones, edited in the same Typography collection. Each text class sets its own line height as a percentage.

Buttons

Hover lifts the button 2px and swaps to ink. Keyboard focus shows a 2px ring.

Components

  • Global / Nav: skip link, logo, anchor links, CTA. Props: CTA label, CTA link.
  • Global / Footer: docs links, copyright and the template credit. Props: Copyright, Tagline, Template links visible.
  • Card / Review: quote, name, detail.
  • Card / FAQ: native details and summary. Props: Question, Answer.

Spacing and radius

  • --_layout---padding--global 5% side padding
  • --_layout---section--small / medium / large 3 / 5 / 7rem (tablet 3 / 4 / 6, mobile 2 / 3 / 4)
  • --_sizes---container--large / medium / small 80 / 64 / 48rem
  • --_sizes---radius--small / medium / large / round 0.5 / 0.9375 / 1.5 / 100rem
  • --_sizes---icon--small 1.25rem