Civic theme rules
How this theme is put together, and what a site built on it must never
claim. The full spec lives in src/themes/civic/THEME.md.
Typography
Merriweather for headings, Source Sans 3 for everything else: the classic USWDS pairing.
Heading 1 · Merriweather 700 · 2.44rem
Apply for a residential parking permit
Heading 2 · Merriweather 700 · 1.73rem
Documents you need
Heading 3 · Source Sans 3 700 · 1.34rem
One proof of residency
Intro · Merriweather 400 · 1.25rem
Permits are issued by Parking Services.
Body · Source Sans 3 400 · 1.06rem / 1.5 · 68ch measure
Online applications take about 10 minutes. Pay by card, check, or money order. Cash is accepted in person only.
Color
Each palette swaps the USWDS theme tokens (primary family, base grays, accents) and keeps every component as USWDS ships it. Swatches below follow the active palette. Accent colors are for fills, rules and headings on dark, never for text on the page surface.
- Aa Primary
--primaryButtons, links, current nav (10) - Aa Primary dark
--primary-darkHover states - Aa Primary darker
--primary-darkerHero callout, dark sections, submenus (30) - Aa Primary lighter
--primary-lighterSelected tiles, icon discs - Aa Secondary
--secondarySecondary button only - Aa Accent cool
--accent-coolHeadings on dark only - Aa Accent warm
--accent-warmGraphic list rule - Aa Surface
--surfacePage and cards (60) - Aa Ink
--inkBody text - Aa Base dark
--base-darkMeta text, nav links - Aa Base lighter
--base-lighterCard borders, rules - Aa Base lightest
--base-lightestBanner, footer, accordions - Aa Visited
--visitedVisited links
- Info
--infoon--info-lighter - Warning
--warningon--warning-lighter - Success
--successon--success-lighter - Error
--erroron--error-lighter
Components
Hand-written CSS that follows USWDS 3 anatomy and class names. No USWDS package is loaded.
| Component | Where it is used |
|---|---|
usa-banner (independence variant) | Top of every page when site.disclaimerBanner is true |
usa-header--extended + usa-nav__submenu / megamenu | Every page; Services megamenu, Guides dropdown |
usa-search--small | Header secondary area and mobile drawer |
usa-site-alert / usa-alert | Home (holiday schedule), article (zone change), listing (mattress rule) |
usa-hero + usa-hero__callout | Home |
usa-card-group, usa-graphic-list, usa-section--dark | Home |
usa-collection | Home updates, services hub, related links |
usa-breadcrumb, usa-sidenav | Services hub, guide, service page |
usa-in-page-navigation | Guide, rules |
usa-summary-box | Guide and service page (Key information) |
usa-process-list | Guide (How to apply), service page (How it works) |
usa-table--striped / --borderless | Fees, accepted items, zones, corrections |
usa-step-indicator, usa-radio/checkbox tiles, usa-input, usa-hint | Service page request form, about contact form |
usa-accordion--bordered | FAQs on guide and service page |
usa-footer--medium + usa-identifier | Every page |
Page types
- Home
- Hero with callout, popular tasks, topic cards, deadlines, a dark band, latest updates, city contacts.
- Services hub
- Breadcrumb, side navigation by topic, one collection per topic with tags for how to apply.
- Guide
- Side navigation, Key information box, on-page navigation, process list, tables, FAQ accordion, last-updated line.
- Service page
- Key information first, how-it-works steps, what is accepted, the request form with a step indicator, FAQ.
- About
- Who publishes the site, how it is funded, how guides are checked, corrections, accessibility statement, contact form.
- Rules
- This page: type, color, components, page types, the disclaimer banner, do and don’t.
Do and don’t
Do
- Lead every service page with a Key information box: cost, eligibility, processing time, where to go.
- Write headings as tasks a resident would type: “Pay a water bill”, “Apply for a residential parking permit”.
- Say who publishes the site in the banner (when on) and always in the footer identifier.
- Send readers to the official office for applications, payments, and legal deadlines.
- Show a “Last updated” date under every guide and service page.
- Use real USWDS anatomy and class names so the markup can move to the official USWDS package later.
Don’t
- No U.S. flag, agency seal, lock icon, or “An official website of …” sentence.
- No .gov or .mil domains in copy or screenshots, and no USA.gov link implying official status.
- No GovernmentOrganization JSON-LD for the publisher.
- Don’t imply the site can accept applications, payments, or complaints on the city’s behalf.
- Don’t use accent-cool or accent-warm for text on white. They fail contrast.
- Don’t invent statute numbers. Name the office that publishes the rule instead.