Pattern Paste
Subscribe

Core Patterns Features

Catalogue accessStandard

Dress code swatches

A dress code set out as a swatch card: the code's name at display size and one line of what it means, a centred row of five colour circles with their names beneath, then a Yes, please and a Perhaps not list side by side and a strip of three practical notes.

The circles wrap three and two on a phone.

All patterns

Loading patterns…

Theme
Preview size
Look

Takes your theme’s colours and type.

Twenty Twenty-Five·1280px

Manrope typefacergb(255, 255, 255) ground1280px viewport

Start here

What to change first

  1. The code's name and line.
  2. The swatches. Change each circle's overlay colour and its name.
  3. The lists and notes.

The signature moment

The dress code is a swatch card, five colour circles under the code's name

Five plain-colour circles in a centred row, each a core/cover with a square aspect ratio and a 50% radius, ringed in a hairline so a pale colour still reads on the ground, with its name beneath on the page ground, never on the circle. On a laptop they sit in one row at 5.5rem each; on a phone they wrap three and two, centred.

Theme handoff

What comes from where

From your theme

  • Typeface.
  • Palette.

Set by this pattern

  • The code's name.
  • The lists.
  • The grids.

Full pattern notes

Why it works, and how it is built

Open a topic for the complete design reasoning, editing guidance and implementation notes.

Design rationaleComposition, intent and nearest alternatives

Overview

A wedding dress code set out the way a stylist would hand it over: the code's name large, a line on what it means, a row of colour circles, a Yes, please and a Perhaps not list and three practical notes. It sits in the features section beside feature-circle-badges (four circles as a poster, text inside), loyalty-stamp-card (ten stamps) and why-choose-us-checklist (ticks): none is a palette of what to wear.

The signature moment: the dress code is a swatch card, five colour circles under the code's name

Five plain-colour circles in a centred row, each a core/cover with a square aspect ratio and a 50% radius, ringed in a hairline so a pale colour still reads on the ground, with its name beneath on the page ground, never on the circle. On a laptop they sit in one row at 5.5rem each; on a phone they wrap three and two, centred.

Make it yoursVariations and the edits to make first

What to change first

  1. The code's name and line.
  2. The swatches. Change each circle's overlay colour and its name.
  3. The lists and notes.
Theme behaviourInheritance, fixed decisions and contrast

What it inherits from your theme

  • Typeface. The base states no font family.
  • Palette. The circles are filled from your theme's accent-1 to accent-5, falling through to contrast where a theme has fewer. Accent colours have unknowable luminance, so the circles are decoration only and no text sits on them; each is ringed in currentColor. Everything else is contrast on base, labels on the label role, the strip's rule currentColor.

What it decides for itself

  • The code's name. clamp(2.5rem, 1.5rem + 4.4vw, 5.5rem), off the ladder: about 40px on a phone, 80px on a laptop.
  • The lists. The large rung for their headings, medium body.
  • The grids. Yes and no at minimumColumnWidth: 20rem, the notes at 15rem, held to 880px.
Technical notesBlock mechanics, responsive behaviour and constraints

The Vow look

Part of the Vow Pattern Set, a couple's whole wedding website in one design language: wisteria white #f7f5fb ground, midnight #1f2240 ink, dusk #555a78 muted ink, card white #ffffff on a wisteria hairline #d9d3e6, peony #a8365a labels on light grounds and pale peony #f2b8c9 on the midnight slab. Names and headings are Didot at 400 with an italic ampersand; body, labels and buttons are Gill Sans. Buttons are square midnight rectangles or underlined peony links; cards and photographs are square. Every text pair is measured on the ground it is painted on. Take the base for your theme's colours, or the look's Use my theme chip.

Notes

  • Core blocks only: group, cover, heading, paragraph, list, list item. No photograph.

Questions

Dress code swatches: common questions

Does Dress code swatches need a plugin?

No. It is built only from core WordPress blocks (cover, group, heading, list, list-item and paragraph), so it pastes into the block editor with nothing to install.

Will Dress code swatches match my theme?

Choose by variation. Swatch card takes your theme’s palette; Vow brings its own colours.

How many variations does Dress code swatches have?

2: Swatch card and Vow. Each is its own markup; choose one in the toolbar above the preview before you copy.

Can I use my own images?

Yes. Sample images stay in the copied blocks. Replace them in WordPress; pasting does not upload them to your Media Library.

Is Dress code swatches free?

It is included with a subscription, with every Core Pattern and variation. 62 Core Patterns are free to copy without one.

The markup

17KB of core-block markup, 6 blocks (cover, group, heading, list, list-item, paragraph), and nothing else: paste it into the block editor and it becomes editable blocks wearing your theme.

Subscribe to copy it, £119 a yearWhat you copy is yours forever. Not for you? We refund within 14 days.

Back to Core Patterns