Sophia Ho Design System
Home

Portfolio design system

The color, type, spacing and motion behind this site. Draft v0.2.

Color

Moss neutrals, navy Ink for text and one indigo accent.

Type

The system font, with quiet headings so the writing leads.

Name · 45 to 60 · 500Lorem ipsum
Title · 36 · 600Lorem ipsum dolor sit
Stat · 28 · 600Lorem ipsum dolor
Heading · 21 · 600Lorem ipsum dolor sit amet consectetur
Body · 17 · 400Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Small · 15 · 500Lorem ipsum · dolor sit amet
Tag · 13 · 500
  • Lorem ipsum
  • Dolor sit

Spacing and shape

A 4px base. Controls are 24, 32 or 40 tall, and corners grow with size.

xs · 4--radius-xs
sm · 8--radius-sm
Pill--radius-pill
md · 14--radius-md
lg · 22--radius-lg
Do 22, an 8px gap, then 14. One centre, so the band stays even.
Avoid 22 inside 22. The band swells at the corner.
Do A ring takes the radius plus the gap: 8 and 4 make 12.
Avoid 8 around 8. The ring looks too square.
  • Bigger, rounderPick by the shortest side.
  • Nested cornersInner is outer minus the gap. A ring outside adds it.
  • Siblings matchImages clip to their frame.

Glass

Only for controls that float over content. The text flips between dark and white to stay readable. Drag the pills to try it, or tune it in the glass tester.

Nav bar ← Back
  • Controls, never contentNo glass cards or text panels.
  • One layerGlass never sits on glass.
  • Falls back to solidWhen transparency is reduced.

Motion

Short, interruptible and never the only signal.

Ease out

Hover and focus.

--ease

Smooth spring

Panels and media.

--spring-smooth

Snappy spring

Switches and toggles.

--spring-snappy

Bouncy spring

Rare, one-off delight.

--spring-bouncy
  • PurposefulOnly for state changes, never on scroll.
  • BriefUnder 300ms for feedback.
  • InterruptibleNothing waits on an animation.
  • OptionalReduce Motion turns it into fades.

Cursor

A multiplayer-style cursor in the accent blue. Move your mouse to see it.

Default

Filled accent with a soft shadow.

Hover here
Link

Hollow over anything clickable.

Hover this link
Name tag

The cursor as a graphic.

Text keeps the system I-beam

Layout

Most important first, grouped by space, sized to the space it has.

CompactUnder 640px. One column, 16px margins.
Regular640px and up. 32px margins.
Wide944px and up. A nav beside the text.
  • Most important firstWho and what, before scrolling.
  • One left edgeTitles, text and media line up.
  • Group with spaceCloser means related.
  • Adapt to spaceSize classes follow the container.

Accessibility

Every text color passes WCAG AA, and the page passes an automated audit.

  • Contrast4.5:1 or more on every surface.
  • Without colorLinks in text are underlined.
  • Hit areas44px on touch screens.
  • Keyboard and screen readersReal buttons, ordered headings, visible focus.