Deliverable 07 · Design
Design System & Style Guide
The theme.json palette, typography, block patterns, components, imagery and civic voice.
Brand foundations
A city seal, a three-line wordmark and a tagline. Everything else in the theme (color, type, photography) is chosen to support those three.
The seal · assets/img/seal.svg
A 64 × 64 SVG of under 1 KB. The dashed line shows minimum clear space.
1Leaves rising over the river, in fern and leaf greens: the “Parks” in People. Parks. Possibilities.
2A white wave and river-blue water across the base: the river that runs through town.
3A navy field inside a white ring with a navy keyline, so the seal reads on white and on navy-deep.
Wordmark & usage
- Lockup: “City of” and “Est. 1847” in tracked uppercase Source Sans 3; “Springfield” in Playfair Display 700. This is live HTML text, not an image, so it scales and translates.
- Sizes: 64px seal in the masthead, 52px in the footer, 48px on phones under 600px.
- Backgrounds: navy lockup on white; white lockup on navy-deep (footer). The seal itself never changes color.
- Never stretch the seal, recolor its greens, or set the name in the script face.
Tagline
People. Parks. Possibilities.
Set as the WordPress site tagline (blogdescription) by setup.sh, and in the hero with the three-segment gold rule from site.css.
Brand attributes
Four words every template is checked against.
Civic
Navy, a round seal and a serif wordmark: the look of a city hall, not a startup. Springfield has been here since 1847.
Trustworthy
Every demo is labelled as a demo. Contrast is calculated, not eyeballed. We never ask for data we don’t need.
Welcoming
Real photos of the river, the parks and neighbors. A script flourish on the hero, used once and only there.
Clear
Six services above the fold, plain words, one action per card. Residents come to get something done.
Color
Thirteen colors, defined once in theme.json. WordPress turns each into a --wp--preset--color--{slug} variable and a has-{slug}-color class, and editors see exactly these thirteen in the Site Editor. The default WordPress palette, gradients and duotones are switched off.
Civic navy
The color of City Hall: header, headings, links, footer and deep bands.
- 12.4:1white
navy
#1a3557
Header, headings, primary surfaces
- 14.6:1white
navy-deep
#11294a
Utility bar, footer, deep bands
- 6.6:1white
river
#2e5f93
Links and pay-bill icon
Gold
The accent. Buttons and eyebrows use gold; gold-light is for rules and decoration only.
- 5.0:1white
gold
#8a6a26
Buttons with white text (darkened for AA)
- 7.9:1ink
gold-light
#d9b86c
Decorative rules and accents only
Text & neutrals
Ink for reading, slate for secondary text, mist and line for surfaces and dividers.
- 15.0:1white
ink
#1f2733
Body text
- 5.9:1white
slate
#5b6573
Secondary text
- 13.7:1ink
mist
#f3f4f6
Section backgrounds
- 12.0:1ink
line
#e3e6ea
Borders and dividers
- 15.0:1ink
white
#ffffff
Cards and page surface
Service colors
One color per quick-service tile, so a returning resident finds “the green one” fast.
- 6.3:1white
fern
#3d6b35
Report-a-problem and parks icons
- 9.3:1white
brick
#7d2b2b
Permit icon
- 8.6:1white
pine
#1f5540
Trash & recycling icon
The gold decision
The one color decision we changed during QA.
gold #8a6a26 · 5.04:1 with white. Every core/button in theme.json is white text on gold, so gold had to pass AA for normal-size text. The QA pass darkened it to this value.
gold-light #d9b86c · 1.91:1 with white. Lovely on navy, unreadable under white text. It stays in the palette for the hero rule, footer headings and the hero eyebrow on navy, and for focus outlines on dark bands. Never as a button.
Contrast pairs
Ratios are calculated on this page from the theme.json hex values with the WCAG 2.x relative-luminance formula. AA needs 4.5:1 for body text, 3:1 for large text (24px, or 19px bold) and for UI parts like focus outlines.
| Sample | Text / background | Where it’s used | Ratio | WCAG AA |
|---|---|---|---|---|
| ink / mist | Body text on the page background (theme.json styles.color) | 13.67:1 | Pass · AAA | |
| ink / white | Card and sheet body text | 15.04:1 | Pass · AAA | |
| navy / white | Headings, links and main navigation | 12.42:1 | Pass · AAA | |
| slate / white | News dates, service-card subtitles, event meta | 5.91:1 | Pass · AA | |
| slate / mist | Secondary text on mist sections | 5.37:1 | Pass · AA | |
| white / gold | Default button (theme.json elements.button)Gold was darkened to #8a6a26 so white text passes AA. | 5.04:1 | Pass · AA | |
| white / navy | Button hover state, I Want To… on hover | 12.42:1 | Pass · AAA | |
| white / navy-deep | Utility bar and footer links | 14.58:1 | Pass · AAA | |
| gold-light / navy-deep | Footer column headings, hero eyebrow, kicker | 7.66:1 | Pass · AAA | |
| gold / white | Link hover color, form eyebrows | 5.04:1 | Pass · AA | |
| #5c4712 / #fbf3df | Demo-site banner text (site.css) | 8.03:1 | Pass · AAA | |
| white / river | Pay Utility Bill icon tile | 6.62:1 | Pass · AA | |
| white / fern | Report a Problem icon tile | 6.26:1 | Pass · AA | |
| white / brick | Apply for a Permit icon tile | 9.32:1 | Pass · AAA | |
| white / pine | Trash & Recycling icon tile | 8.64:1 | Pass · AAA | |
| river / white | Keyboard focus outline (3px, non-text) | 6.62:1 | Pass · AA | |
| white / gold-light | Ruled out: white text on gold-lightDecorative only. Never a button background. | 1.91:1 | Fail | |
| gold-light / white | Ruled out: gold-light text on whiteRules, underlines and accents only. | 1.91:1 | Fail |
The demo-banner colors (#5c4712 on #fbf3df) live in site.css rather than theme.json, because the banner is a fixed notice, not something editors restyle.
Do & don’t
Typography
Three families, all registered in theme.json and loaded from Google Fonts by functions.php: Playfair Display for the civic voice, Source Sans 3 for everything people read and act on, and Dancing Script for one hand-written line on the homepage.
Aa
Playfair Display
--wp--preset--font-family--serif
Headings and the Springfield wordmark
Weights 600 · 700
Aa
Source Sans 3
--wp--preset--font-family--sans
Body, navigation, forms
Weights 400 · 600 · 700
Aa
Dancing Script
--wp--preset--font-family--script
Hero flourish (“A vibrant community…”) only
Weight 600 · used once
Welcome to the City of
Springfield
A vibrant community
for today and tomorrow.
The hero, recreated: eyebrow in tracked Source Sans 3, the name in Playfair Display at the huge size, and the .sf-hero__script flourish, which hides on screens under 900px.
Size scale
theme.json fontSizes. Default WordPress sizes are disabled, so editors pick only from these six. The three largest are fluid.
x-small · 0.8rem
Fixed · demo bar, utility bar
Demo website. Springfield is a fictional city.
small · 0.9rem
Fixed · captions, pills
Pay My Bill · Report a Problem · View the Calendar
medium · 1.05rem
Fixed · body text (styles.typography)
Council meets the first and third Tuesday of each month at 7:00 PM in City Hall.
large · 1.35rem
Fluid 1.2 → 1.35rem · intros
Everything you need to live well in Springfield.
x-large · 2.4rem
Fluid 1.8 → 2.4rem · H1 on inner pages
City Services A – Z
huge · 5.5rem
Fluid 3 → 5.5rem · hero “Springfield”
Springfield
Element styles
theme.json styles.elements: only H1 is serif. Section headings stay in bold sans so long civic headings remain easy to scan.
| Element | Style | Where |
|---|---|---|
| h1 | Playfair Display · x-large · 700 · navy | Page titles and the hero |
| h2 | Source Sans 3 · 1.6rem · 700 · navy | Panel headings: Latest News, Upcoming Events |
| h3 | Source Sans 3 · 1.1rem · 700 · navy | News titles, card headings |
| body | Source Sans 3 · medium (1.05rem) / 1.55 · ink on mist | Everything people read |
| link | navy, no underline → gold + underline on hover | Inline links and “View All News →” |
| button | Source Sans 3 · 600 · white on gold · 8px radius | Default core/button style |
Spacing & layout
Two widths, five spacing steps and one card shadow, all in theme.json so Group, Columns and Cover blocks inherit them.
Layout widths
- contentSize
- 760px
- wideSize
- 1180px
- Root padding
- clamp(1rem, 4vw, 2rem) left and right
- Block gap
- 1.1rem between blocks
- Breakpoints (site.css)
- 1200 · 1100 · 900 · 600px
Spacing sizes
- 20XS · 0.5rem
- 30S · 1rem
- 40M · 1.5rem
- 50L · clamp(2rem, 4vw, 3rem)
- 60XL · clamp(3rem, 6vw, 5rem)
Editors see these as XS–XL in the block spacing controls. Inner pages use 50 on top and 60 below.
Corner radius
6px
Form fields, event date badge, form buttons
8px
Default button (theme.json)
10px · --sf-radius
Service cards, panels, sheets
14px
Service-form cards and asides
999px
Hero search, pills, pill buttons
Elevation
shadow · card
The only theme.json shadow preset: cards, panels, sheets.
service hover
Service tiles lift 2px with a deeper shadow on hover.
Both are tinted with navy-deep (rgba 17,41,74) rather than black. The hover lift is removed under prefers-reduced-motion.
Components
Recreated here from the theme’s real CSS (site.css and forms.css) and patterns. Labels name the class or block that produces each one on the live site.
Buttons
theme.json sets every core/button to white on gold with an 8px radius; hover turns it navy. Variants come from CSS classes on the Buttons block.
core/button · theme.json elements.button
.sf-form-primary + secondary · forms.css
.sf-pills · hero quick links on the photo
.sf-btn-pill · Our Community card
Service cards
patterns/home-services.php. Six tiles overlap the hero by 3.4rem; 6 columns on desktop, 3 under 1200px, 2 under 600px. Each service keeps its own palette color.
- Pay Utility BillQuick. Secure. Easy.
- Report a ProblemPotholes, streetlights & more.
- Apply for a PermitBuilding, zoning & more.
- Trash & RecyclingSchedules & guidelines.
- Parks & RecreationPrograms, facilities & events.
- Find a JobJoin our team.
.sf-service · icon tile .has-{color}-background-color: river · fern · brick · pine · navy · gold
Demo banner
A fixed notice above the utility bar on every page, from patterns/header.php. It is not editable in the Site Editor on purpose.
Demo website. Springfield is a fictional city created to showcase modern municipal web design. It is not a real government site. Learn more
.sf-demo-bar · #fbf3df background, #ecd9a8 rule, #5c4712 text
Form field & error
forms.css: bold labels above full-width fields, a 1px #8c9aaa border, 6px radius and a 3px gold focus outline. Today required fields use the browser’s built-in validation (reportValidity); the inline error below is the pattern we recommend adding.
In the theme today: native select, sample value.
Tell us where the problem is, for example a street address.
Recommended patternNews item
front-page.html core/query: 110 × 72 thumbnail, uppercase date, linked title.
Latest News

Sep 18, 2026
Springfield Announces Fall Community Cleanup Day
Event date badge
The [sf_events] shortcode in functions.php prints a real <time> element per event.
Upcoming Events
- City Council Meeting
7:00 PM · City Hall
- Fall Festival
10:00 AM – 4:00 PM · Downtown Springfield
Alerts & confirmations
The confirmation is in the theme today (role=“status”, focus moves to it). Service alerts are a proposed block pattern for closures and holiday schedules.
Your preview is complete
Sample reference: SF-DEMO-7K2QX9
This confirmation is a demonstration. No request was sent to the City.
In the theme · .sf-form-successRoad work: Jefferson Avenue has weekday lane closures between 9:00 AM and 3:00 PM. Detours are posted. Proposed pattern
Holiday schedule: City Hall is closed Monday. Trash pickup moves one day later this week. Proposed pattern
Focus states
Visible focus was added in the QA pass: a 3px river outline offset 4px, switching to gold-light on the navy footer and the hero photo.
:focus-visible · 3px solid #2e5f93, offset 4px
.sf-footer a:focus-visible · gold-light
Do & don’t
How it stays editable in WordPress
The design system is not a PDF. It lives in theme.json and block markup, so City staff change content in the WordPress editor without touching code, and can’t accidentally break the look.
theme.json
Palette, fonts, sizes, spacing, widths and the card shadow become Global Styles. Default WordPress colors, gradients and font sizes are off, so every color picker shows only Springfield colors.
Templates & parts
templates/*.html (front page, page, single, event archive, search, 404…) and parts/header + footer are block markup the Site Editor can open.
PHP patterns
patterns/*.php build the header, footer, hero, quick services, community card and resources strip. They are marked Inserter: no, so they stay in place rather than being copied around.
Content types
Pages, News posts, Events and Businesses are edited in the block editor. Event date, time and location are registered post meta, exposed to the REST API and the editor.
"elements": {
"button": {
"color": {
"background": "var(--wp--preset--color--gold)",
"text": "var(--wp--preset--color--white)"
},
"border": { "radius": "8px" },
":hover": {
"color": { "background": "var(--wp--preset--color--navy)" }
}
}
}1Change one value here and every button on every page follows, including buttons editors add later.
2site.css is loaded as an editor style too (add_editor_style), so what staff see in the editor matches the public site.
3Draft creation, update and block parsing were verified through the WordPress APIs. The interactive editor was not yet tested in a browser; that check is on the launch list.
Imagery & iconography
Photos of a real-feeling small city: its river, its parks, its people and its public work. All five are free-license photos recorded in assets/img/CREDITS.md.

The river and the old mill
Homepage hero, under a navy-deep overlay so white type stays readable
hero.jpg · Aaron Doucett · Unsplash

The park gazebo
Our Community card, 60% navy-deep overlay
community.jpg · Alari Tammsalu · Pexels

Neighbors at a cleanup
News: Fall Community Cleanup Day
news-cleanup.jpg · Vitaly Gariev · Unsplash

The council chamber
News: FY2027 Capital Improvement Plan
news-council.jpg · Héctor Berganza · Pexels

Road closed, detour posted
News: Jefferson Avenue Improvement Project
news-roadwork.jpg · John Cardamone · Unsplash
Choose photos that
- Show places and public life residents recognize: parks, Main Street, City Hall, work crews
- Use natural light and true color; text over photos sits on a navy-deep overlay
- Tell the story of the news item they illustrate
- Have a free license and a line in CREDITS.md
Avoid
- Real officials, real city logos or recognizable real places presented as Springfield
- Generic skylines, handshakes and stock “business” imagery
- Text baked into images; alt text carries meaning, decorative covers use alt=""
- Uploading originals: today’s JPEGs run about 120 KB to 868 KB and should be compressed before launch
Iconography
inc/icons.php: thirteen inline SVG line icons on a 24px grid, 1.8 stroke, round caps, in the Lucide style. No icon font, no extra requests. All are aria-hidden and sit next to a text label.
- search
- arrow
- chevron
- card
- wrench
- file
- trash
- tree
- people
- building
- map
- chat
- globe
In use: the resources strip
- Meet Your City Council
- City Services A – Z
- Public Records & Documents
- Interactive City Map
- Contact Us
Voice & tone
A city website is read by everyone: new residents, seniors, business owners, people in a hurry. The voice is a helpful clerk at the front desk of City Hall.
Say what to do first
“Pay your water bill online” before any history of the utility department.
Plain words for everyone
Short sentences at a 6th–8th grade reading level. City terms only when needed, explained once.
Be honest about the demo
Every preview says it is a preview. Nothing pretends to pay, file or submit.
Speak as neighbors
“We” are the City, “you” are the resident. Not “constituents are advised”.
| We say | We don’t say |
|---|---|
| Report a problem | Submit a service request |
| Trash pickup is on Monday this week because of the holiday. | Solid waste collection schedules are subject to modification. |
| Council meets the first and third Tuesday at 7:00 PM in City Hall. | Regular sessions of the governing body are convened bi-monthly. |
| This is a demo. Nothing is paid, filed or submitted. | Your transaction has been processed successfully. |
| Expect lane closures on weekdays between 9:00 AM and 3:00 PM. | Motorists may experience intermittent traffic impacts. |
| Government term | On the website |
|---|---|
| Ad valorem tax | Property tax |
| Right-of-way obstruction | Something blocking the street or sidewalk |
| Solid waste collection | Trash pickup |
| Remit payment | Pay |
| Constituent | Resident |
| Ordinance | City law (ordinance) |
| Capital Improvement Plan | Our plan for roads, parks and buildings |
Pothole on your street?
Report it online. Tell us where it is and we’ll give you a reference number.
Constituents wishing to report roadway surface deficiencies should submit a service request via the appropriate municipal portal.