Skip to main content
Phase 1 · Design system

Texple design system

Every token, primitive and accessibility check in one place. Change a value in design/tokens.css or a typeface in design/fonts.ts, reload this page, and you can see the whole system move.

Jump to tokens

What the brand actually mandates

Extracted from the brand guidelines PDF. These are constraints, not suggestions — the review checklist tests against them.

Colour proportions

primary background50%
primary text20%
secondary background10%
primary brand10%
secondary brand each2.5%

Brand blue is a 10% accent. Large dark-blue washes are for hero and CTA bands only.

Typography

Manrope, 200–800. Bold titles, Regular body — the deck is explicit about that pairing. Self-hosted through next/font, so there is no external font request and no layout shift.

Contrast

White text on dark backgrounds, near-black on light. Never dark-on-dark or light-on-light. We hold to WCAG AA and compute every pair below.

Brand palette

Raw brand values with their sanctioned tint ramps. Components never reference these directly — they go through semantic roles.

Primary — Texple Dark Blue

200

#ccd4e9

400

#99a9d3

600

#667dbc

700

#415bc2

800

#1232b3

900

#002790

050

#f2f4f9

Secondary — Light Blue

100

#d1deff

200

#a4c6ff

300

#87aaff

400

#608dff

500

#3871ff

Secondary — Pure Orange

200

#ffebcc

300

#ffd699

400

#ffc266

500

#ff9900

Secondary — Dark cyan / lime green

100

#cceadd

200

#99d6bc

300

#66c19a

400

#33ad79

500

#009857

Secondary — Desaturated dark blue

100

#e0dfe8

200

#c1bed2

300

#a29ebb

400

#837da5

500

#645d8e

Neutrals

100

#f1f1f1

200

#dddddd

400

#969696

600

#606060

900

#222222

white

#ffffff

black

#000000

Semantic roles

What components actually consume — the token layer components read from, not a colour a component hardcodes. Light and dark side by side, since every role must carry a real value in both (design/colors.js fails the build otherwise).

light

--surface

--surface-muted

--surface-raised

--surface-sunken

--surface-inverse

--surface-brand-soft

--fg

--fg-muted

--fg-subtle

--fg-brand

--line

--line-strong

--brand

--brand-hover

--accent

--success

--warning

--info

--danger

dark

--surface

--surface-muted

--surface-raised

--surface-sunken

--surface-inverse

--surface-brand-soft

--fg

--fg-muted

--fg-subtle

--fg-brand

--line

--line-strong

--brand

--brand-hover

--accent

--success

--warning

--info

--danger

Type scale

Fluid between 375px and 1440px, so headings never need per-breakpoint overrides.

text-6xl

Technology Expertise for People

Display / hero

text-5xl

Technology Expertise for People

Page title

text-4xl

Technology Expertise for People

Section title

text-3xl

Technology Expertise for People

Sub-section

text-2xl

Technology Expertise for People

Card title

text-xl

Technology Expertise for People

Lead paragraph

text-lg

Technology Expertise for People

Large body

text-md

Technology Expertise for People

Long-form body

text-base

Technology Expertise for People

Body / UI

text-sm

Technology Expertise for People

Secondary / meta

text-xs

Technology Expertise for People

Eyebrow / caption


Weights

font-light

300 Light

font-regular

400 Regular — body

font-medium

500 Medium — UI labels

font-semibold

600 SemiBold — buttons

font-bold

700 Bold — headings

font-extrabold

800 ExtraBold — hero

Contrast audit

Computed at build time from the token values. Any pair that fails is a bug, not a note.

WCAG contrast ratios for the colour pairs used in the product
PairSampleRatioAA

Body text on page surface (--fg / --surface)

#222222 on #ffffff

Ready for digital transformation?

15.91:1

Pass

needs 4.5

Body text on muted band (--fg / --surface-muted)

#222222 on #f2f4f9

Ready for digital transformation?

14.46:1

Pass

needs 4.5

Muted text on surface (--fg-muted)

#525252 on #ffffff

Ready for digital transformation?

7.81:1

Pass

needs 4.5

Subtle text on surface (--fg-subtle, tuned)

#696969 on #ffffff

Ready for digital transformation?

5.49:1

Pass

needs 4.5

Brand text on surface (--fg-brand)

#002790 on #ffffff

Ready for digital transformation?

12.40:1

Pass

needs 4.5

Primary button (--brand-contrast / --brand)

#ffffff on #002790

Ready for digital transformation?

12.40:1

Pass

needs 4.5

Primary button hover (--brand-hover)

#ffffff on #1232b3

Ready for digital transformation?

9.85:1

Pass

needs 4.5

Filled accent control (--accent-strong, tuned)

#ffffff on #374da5

Ready for digital transformation?

7.59:1

Pass

needs 4.5

--info on --info-soft (tuned)

#1232b3 on #d1deff

Ready for digital transformation?

7.32:1

Pass

needs 4.5

--success on --success-soft (tuned)

#006a3d on #cceadd

Ready for digital transformation?

5.24:1

Pass

needs 4.5

Text on --warning (Pure Orange)

#222222 on #ff9900

Ready for digital transformation?

7.43:1

Pass

needs 4.5

--danger on --danger-soft

#8a4f00 on #ffd699

Ready for digital transformation?

4.79:1

Pass

needs 4.5

Restricted brand pairs

These combinations come straight from the brand deck but cannot carry body text at AA. Rather than change the brand colours, we restricted where they may be used — the measurements are here so the decision stays visible.

Sample textWhite on Light Blue #3871FF4.22:1 · restricted

Decorative fills, borders and large display text only. Filled controls with body-size labels use --accent-strong (#2A5FE8).

Sample textBrand grey #969696 as text on white2.96:1 · restricted

Never used for text. Kept for dividers, borders and large decorative marks; --fg-subtle is #757575 instead.

Sample textBrand green #009857 on soft green2.91:1 · restricted

Graphics and fills only. Success text uses #00733F, which keeps the same hue family.

Buttons

CSS-only interaction states — no animation library, so a button costs zero JavaScript.

variants

sizes

states

on inverse band

Radii, elevation and motion

Fixed steps, so nothing in the product invents a one-off value.

radius

xs

sm

md

lg

xl

2xl

pill

elevation

One scale, defined in design/colors.js rather than with the other scales, because shadows are brand-tinted in light and near-black in dark and so must be theme-aware. Cards rest at sm and hover to lg.

shadow-sm

shadow-md

shadow-lg

shadow-xl

topic accents

The deck’s four secondary colours, used to tell categories apart. Always a soft tint carrying an ink glyph — never a filled colour with a white glyph, because white on the base sky, amber and green measures 4.22:1, 2.14:1 and 3.73:1. Only violet would pass, and one exception in four is worse than none.

Aa

sky

Aa

amber

Aa

green

Aa

violet

ornament

The brand deck’s §7 decorative language — square, cross and circle motifs, and a divider that is more than a rule. All aria-hidden and pointer-events-none: ornament that intercepts a tap is a bug you only find on touch devices.

grid

cross

circles

squares

corner


scroll entrance

<Reveal> — opacity and transform only, so nothing reflows. It fires once, staggers by index up to a 260ms cap, and the hidden state lives in a CSS query that can only match when we can undo it: scripting: enabled and prefers-reduced-motion: no-preference. No JS, reduced motion, or printing — content renders plainly. Verified by npm run test:motion.

0ms

55ms

110ms

165ms

motion

Durations: instant 80ms · fast 150ms · base 240ms · slow 400ms. Easing: standard, out, in-out. All transitions collapse to near-zero under prefers-reduced-motion.

hover · fasthover · basehover · slow

content widths

max-w-narrow · 44rem · reading measure

max-w-default · 90rem · standard page

max-w-wide · 96rem · wide layouts

How to change the brand

Typeface: edit design/fonts.ts — one import, one file. Nothing else references a font name.

Colour: edit design/tokens.css — layer 1 for brand values, layer 2 for what they mean per theme.

Spacing, radii, motion: same file, one scale each. Components hold no literal values, which is what keeps ~60 pages consistent.