Global AI · Design System
Components

Foundations

The tokens every component is built from: a flat cream, white and ink palette with one orange accent, two typefaces, a small set of radii and shadows, and quiet motion. Every value here is read live from css/framework/tokens.css.

Colour tokens

Always use a token, never a raw hex: DesignSystemRulesTests fails the build on hex colours in views. If a value is missing, add it to :root in tokens.css first. Orange is the one accent: one primary action, one highlight and one active state per viewport. If a section feels too orange, it is.

Surfaces

Cream--cream

Header bands, inset bands behind card groups, input fills in filter bars.

Cream warm--cream-warm

Special callouts: newsletter band, notices.

Content--content

The page body. Content is white, never cream.

Surface--surface

Cards, inputs, menus.

Ink & text

Ink--ink

Body text and dark slabs and the footer. Never pure black.

Ink inverse--ink-inverse

Text on ink.

Text muted--text-muted

Secondary text, meta, hints (5.6:1 on white).

Text subtle--text-subtle

A step lighter: the current breadcrumb (4.8:1 on white).

Inverse muted--inverse-muted

Secondary text on ink.

Orange

Orange--orange

The one accent: dots, icons, borders, large text. Never behind small white text.

Orange deep--orange-deep

Primary button fill, any fill with white text, text links, eyebrows.

Orange deeper--orange-deeper

Hover for orange-deep fills (primary button).

Orange tint--orange-tint

Orange chip fill, focus halo on inputs.

Blue

Logo blue--blue

Relief only: eyebrows on ink, illustration. Never text or focus rings on light.

Blue tint--blue-tint

Blue chip fill, placeholder art.

Blue deep--blue-deep

Text on blue tint; keyboard focus ring (--focus-ring).

States

Live--live

Live and success dots and fills only. Never decorative.

Live deep--live-deep

Green text (live chip, success notes) and fills behind white text.

Live tint--live-tint

Live chip fill.

Warn tint--warn-tint

Warning chip fill.

Warn deep--warn-deep

Warning text.

Danger--danger

Errors, destructive actions, overlap warnings.

Danger tint--danger-tint

Error fills.

Danger soft--danger-soft

Danger zone card background.

Danger border--danger-border

Danger zone card border.

Star--star

Rating and favourite star only.

Lines & veils

Border--border

Every 1px line and card outline.

Ink soft--ink-soft

Quiet hover fill on ghost controls.

Ink veil--ink-veil

Modal backdrop.

Ink shadow strong--ink-shadow-strong

Colour inside --shadow-overlay.

Ink scrim--ink-scrim

Dark veil behind controls that sit on photos.

Do
  • Reference colours as var(--token) in framework CSS.
  • Pick state colours by meaning: --live for live and success, --warn-* for attention, --danger for errors.
  • Use --blue for relief: chips, illustration, eyebrows on ink.
Don't
  • Pure black, the retired deep blue, or gradients as page backgrounds.
  • Green for anything decorative.
  • Blue as a call to action.
CSS: css/framework/tokens.cssSpec: design/globalai-styleguide.md section 3

Accessible pairings

Text must reach WCAG AA: 4.5:1 for body and small text, 3:1 for large text (24px, or 18.5px bold). Use this table before you put text on a colour. Ratios are computed from the token values.

SamplePairingRatioUse
Aa--ink on white18.5:1All body text.
Aa--ink on --cream16.8:1Text in header bands and inset bands.
Aa--ink-inverse on --ink16.8:1Dark slabs and the footer.
Aa--text-muted on white / cream5.6:1 / 5.1:1Secondary text, meta, hints.
Aa--orange-deep on white / cream5.4:1 / 4.9:1Text links, eyebrows, dates, any small orange text.
Aa--orange on white / cream4.1:1 / 3.8:1Large text, icons, dots and borders only. Small text never sits in --orange.
AaWhite on --orange-deep / --orange-deeper5.4:1 / 7.0:1Primary button, active pills, counters, badges. White on --orange is 4.1:1 and fails for small text.
Aa--live-deep on --live-tint / white5.1:1 / 5.8:1Live chip, success text. --live as text is 3.6:1 / 4.1:1 and fails.
Aa--warn-deep on --warn-tint5.5:1Warn chips and notices.
Aa--blue-deep on --blue-tint5.3:1Blue chips.
Aa--blue on --ink7.9:1Eyebrows on dark slabs.
Aa--blue on white2.4:1Never for text or focus rings on light backgrounds.
Aa--focus-ring outline on white / cream6.3:1 / 5.6:1Every :focus-visible outline (needs 3:1).
Do
  • Links in running text: --orange-deep.
  • Check contrast when you add a new token pairing, and add it here.
Don't
  • Small orange text on white or cream.
  • Logo blue text on white or cream.
  • Rely on colour alone for meaning; pair status colours with a label.

Typefaces

Two free, self-hosted typefaces. Space Grotesk carries the techy voice: headings, eyebrows, stats and dates. Instrument Sans does the reading: body copy and UI. Both load from css/fonts.css; never add a Google Fonts link or fall back to the retired Montserrat or Open Sans.

Space Grotesk 300-700

Learn, build and grow with AI.

Headings (600, -0.02em), eyebrows (500, uppercase), stats and dates (600, tabular numbers).

Instrument Sans 400-700

Every chapter is run by volunteers, with free events, talks and workshops around the world. Find yours, or put your city on the map.

Body 16.5px / 1.65 at 400, labels and buttons at 600. Running text stops at 65ch (.prose).

CSS: css/fonts.css, css/framework/base.cssCode: --font-mono (system monospace stack)

Type scale

Headings carry no size of their own: the context class sets it, so use the real container (.home-hero, .hero, .sec-head, .card) instead of picking a size. Sizes are fluid clamp() values that land on the mobile and desktop steps below.

Global AI Community

Learn, build and grow with AI.

Free events, courses and a community of 199 chapters in 76 countries.

What's on

Find your next event.

Talks, workshops and full-day conferences, hosted by chapters around the world.

Upcoming

Events near you

AgentCon - London

Sep 8 · London South Bank University

Body text sits at 16.5px with a 1.65 line height, in ink on white.

StepDesktop / mobileRendered byUse
Display64 / 38px, 650.home-hero h1The homepage headline only.
h148 / 30px, 600.hero h1Page titles, one per page.
h234 / 26px, 600.sec-head h2Section titles.
h319px, 600.card h3 and friendsCard and block titles.
Body16.5px, 400bodyDefault text. Hero sublines use .hero-sub (about 18px, muted).
Small14px, 500.crumbs, .stat-miniCaptions and meta.
Eyebrow13px, 500, uppercase.eyebrowSection labels.
Do
  • Keep heading levels in order: one h1, then h2 per section.
  • Write headings in sentence case.
Don't
  • Pick a heading level for its size; change the context class instead.
  • Set font sizes inline or per page for a one-off.
CSS: css/framework/base.css, hero.css, sections.css, cards.css

Eyebrow

The signature device: every section opens with a short uppercase label above its heading. Use .eyebrow on a <span>; add .eyebrow-block when it sits directly above a heading outside a .sec-head. On ink it turns logo blue automatically.

Local chapters

Your local AI crew.

Get involved

Start a chapter in your city.

Do
  • One to three words: "Upcoming", "Local chapters", "AI news".
  • Keep it a <span>; the heading below carries the meaning.
Don't
  • Use an eyebrow as the only label for a section (screen readers need the heading).
  • Stack two eyebrows.
CSS: css/framework/base.css (.eyebrow, .eyebrow-block)

Tabular numbers

Stats, dates, times, durations and counts use Space Grotesk with font-feature-settings: "tnum" so digits line up and count-ups don't jitter. The framework classes already set it: .hero-stats, .stat-big, .card-date, .stat-mini, .hero-meta, .going, .otp-input.

199chapters
76countries
148cities
Tue, Sep 8 · 09:00 - 17:30 London South Bank University
212 going · 38 spots left
Do
  • Use the existing stat and date classes; they carry tnum.
  • When you add a numeric style to the framework, include font-feature-settings: "tnum".
Don't
  • Show changing numbers in proportional figures.
CSS: css/framework/hero.css, events.css

Spacing

Space comes from a fixed scale, applied with flex and grid gap rather than margins. Section rhythm comes from two tokens: --section-gap between content sections (.home-sec, .slab-zone) and --head-gap under a section head.

StepPreview
4
8
12
16
24
32
48
64
96
128
--section-gap
--head-gap
--gutter
Do
  • Use gap on .cluster, .stack-md, .fstack and grids.
  • Use var(--section-gap) and var(--head-gap) for section rhythm so every page breathes the same.
Don't
  • Invent off-scale values like 13px or 37px.
  • Space sections with margins on their children.
CSS: css/framework/tokens.css, utilities in base.css (.mt-1 to .mt-4, .mb-1 to .mb-4)

Radii

Four radii, no sharp corners. Large surfaces get the large radius; actions are always pills.

--r-card
Cards, inset bands, dark slabs, modals.
--r-media
Images, thumbnails, notices, filter bar.
--r-input
Inputs, selects, textareas, OTP boxes.
--r-pill
Buttons, chips, segmented controls, filter inputs.
CSS: css/framework/tokens.css

Shadows & scrim

Depth is rare. --shadow-card is the only shadow allowed in the page, and nothing grows it on hover. Things that float above the page (modals, dropdowns, toasts, menus) use the overlay shadows. --ink-scrim darkens a photo just enough to put a control on it.

--shadow-card
In-page only: hero photos, toggle knobs, selected segments, suggestion lists.
--shadow-overlay
Modals and nav dropdowns.
--shadow-float
Toasts, tooltips, row menus.

Scrim on a photo

Hover or tab to the photo: the remove button sits on --ink-scrim and turns orange on hover.

Do
  • Use the tokens; never write a new box-shadow value.
  • Give overlay controls on photos an aria-label and keep them reachable by keyboard.
Don't
  • Hard or offset shadows.
  • Add or grow a shadow on hover.
CSS: css/framework/tokens.css; scrim example from report.cssRazor: Views/My/EventReport.cshtml

Motion

Motion is seasoning, not the meal. Hover feedback is colour: cards warm their border to orange, list rows tint cream, buttons darken, arrows nudge right. Nothing lifts, grows a shadow or zooms. Hover the examples.

Scroll reveal

Learn

Free, hands-on courses.

Meet

Events in 76 countries.

Build

Ship something real.

MotionTimingRule
Hover200ms ease-outColour only: border-color, background-color, color, or a small arrow translateX.
Reveal600ms cubic-bezier(0.22, 1, 0.36, 1)Add .reveal; the site script adds .in once when it enters the viewport (fade up 16px). No parallax.
Count-upAbout 1.3s.stat-big b[data-count] rolls up on load.
Reduced motion-prefers-reduced-motion: reduce shows reveals immediately, removes transitions and stops loops (marquee, logo strip, photo river, map pins).
Do
  • Animate colour on hover, at 200ms ease-out.
  • Put new keyframes in motion.css and switch them off under reduced motion.
  • Pause loops on hover; at most two per page.
Don't
  • translateY lifts, scale zooms or shadow growth on hover.
  • Zoom photos on hover.
  • Motion that carries meaning on its own.
CSS: css/framework/motion.cssJS: reveal and count-up in the site's framework script (js/home.js here)