mirror of
https://github.com/VoltAgent/awesome-design-md.git
synced 2026-11-18 21:23:33 +08:00
Add new design md's
This commit is contained in:
parent
13be5c05c6
commit
c7c1bada4e
12
README.md
12
README.md
@ -17,7 +17,7 @@
|
|||||||
<div align="center">
|
<div align="center">
|
||||||
|
|
||||||
[](https://awesome.re)
|
[](https://awesome.re)
|
||||||

|

|
||||||
[](https://github.com/VoltAgent/awesome-design-md)
|
[](https://github.com/VoltAgent/awesome-design-md)
|
||||||
[](https://s.voltagent.dev/discord)
|
[](https://s.voltagent.dev/discord)
|
||||||
[](https://github.com/VoltAgent/official-mcp-servers)
|
[](https://github.com/VoltAgent/official-mcp-servers)
|
||||||
@ -108,6 +108,7 @@ You ship products with AI, but every launch still dies quietly because nobody po
|
|||||||
- [**Claude**](https://getdesign.md/claude/design-md) - Anthropic's AI assistant. Warm terracotta accent, clean editorial layout
|
- [**Claude**](https://getdesign.md/claude/design-md) - Anthropic's AI assistant. Warm terracotta accent, clean editorial layout
|
||||||
- [**Cohere**](https://getdesign.md/cohere/design-md) - Enterprise AI platform. Vibrant gradients, data-rich dashboard aesthetic
|
- [**Cohere**](https://getdesign.md/cohere/design-md) - Enterprise AI platform. Vibrant gradients, data-rich dashboard aesthetic
|
||||||
- [**ElevenLabs**](https://getdesign.md/elevenlabs/design-md) - AI voice platform. Dark cinematic UI, audio-waveform aesthetics
|
- [**ElevenLabs**](https://getdesign.md/elevenlabs/design-md) - AI voice platform. Dark cinematic UI, audio-waveform aesthetics
|
||||||
|
- [**Jobright**](https://getdesign.md/jobright/design-md) - AI job-hunting platform. Spring-mint green, black pill buttons, condensed Titillium headlines
|
||||||
- [**Minimax**](https://getdesign.md/minimax/design-md) - AI model provider. Bold dark interface with neon accents
|
- [**Minimax**](https://getdesign.md/minimax/design-md) - AI model provider. Bold dark interface with neon accents
|
||||||
- [**Mistral AI**](https://getdesign.md/mistral.ai/design-md) - Open-weight LLM provider. French-engineered minimalism, purple-toned
|
- [**Mistral AI**](https://getdesign.md/mistral.ai/design-md) - Open-weight LLM provider. French-engineered minimalism, purple-toned
|
||||||
- [**Ollama**](https://getdesign.md/ollama/design-md) - Run LLMs locally. Terminal-first, monochrome simplicity
|
- [**Ollama**](https://getdesign.md/ollama/design-md) - Run LLMs locally. Terminal-first, monochrome simplicity
|
||||||
@ -134,6 +135,7 @@ You ship products with AI, but every launch still dies quietly because nobody po
|
|||||||
- [**Composio**](https://getdesign.md/composio/design-md) - Tool integration platform. Modern dark with colorful integration icons
|
- [**Composio**](https://getdesign.md/composio/design-md) - Tool integration platform. Modern dark with colorful integration icons
|
||||||
- [**HashiCorp**](https://getdesign.md/hashicorp/design-md) - Infrastructure automation. Enterprise-clean, black and white
|
- [**HashiCorp**](https://getdesign.md/hashicorp/design-md) - Infrastructure automation. Enterprise-clean, black and white
|
||||||
- [**MongoDB**](https://getdesign.md/mongodb/design-md) - Document database. Green leaf branding, developer documentation focus
|
- [**MongoDB**](https://getdesign.md/mongodb/design-md) - Document database. Green leaf branding, developer documentation focus
|
||||||
|
- [**Oracle**](https://getdesign.md/oracle/design-md) - Enterprise cloud and database software. Warm neutral ladder, charcoal-only actions, red saved for the wordmark
|
||||||
- [**PostHog**](https://getdesign.md/posthog/design-md) - Product analytics. Playful hedgehog branding, developer-friendly dark UI
|
- [**PostHog**](https://getdesign.md/posthog/design-md) - Product analytics. Playful hedgehog branding, developer-friendly dark UI
|
||||||
- [**Sanity**](https://getdesign.md/sanity/design-md) - Headless content platform with a dark-first editorial marketing surface — 112px display type, IBM Plex Mono technical eyebrows, and a single coral-red accent reserved for the highest-priority CTA.
|
- [**Sanity**](https://getdesign.md/sanity/design-md) - Headless content platform with a dark-first editorial marketing surface — 112px display type, IBM Plex Mono technical eyebrows, and a single coral-red accent reserved for the highest-priority CTA.
|
||||||
- [**Sentry**](https://getdesign.md/sentry/design-md) - Error monitoring. Dark dashboard, data-dense, pink-purple accent
|
- [**Sentry**](https://getdesign.md/sentry/design-md) - Error monitoring. Dark dashboard, data-dense, pink-purple accent
|
||||||
@ -147,6 +149,7 @@ You ship products with AI, but every launch still dies quietly because nobody po
|
|||||||
- [**Mintlify**](https://getdesign.md/mintlify/design-md) - Documentation platform. Clean, green-accented, reading-optimized
|
- [**Mintlify**](https://getdesign.md/mintlify/design-md) - Documentation platform. Clean, green-accented, reading-optimized
|
||||||
- [**Notion**](https://getdesign.md/notion/design-md) - All-in-one workspace. Warm minimalism, serif headings, soft surfaces
|
- [**Notion**](https://getdesign.md/notion/design-md) - All-in-one workspace. Warm minimalism, serif headings, soft surfaces
|
||||||
- [**Resend**](https://getdesign.md/resend/design-md) - Email API for developers. Minimal dark theme, monospace accents
|
- [**Resend**](https://getdesign.md/resend/design-md) - Email API for developers. Minimal dark theme, monospace accents
|
||||||
|
- [**SAP**](https://getdesign.md/sap/design-md) - Enterprise business software. White canvas, flat blue bands, application-frame chrome
|
||||||
- [**Zapier**](https://getdesign.md/zapier/design-md) - Automation platform. Warm orange, friendly illustration-driven
|
- [**Zapier**](https://getdesign.md/zapier/design-md) - Automation platform. Warm orange, friendly illustration-driven
|
||||||
|
|
||||||
### Design & Creative Tools
|
### Design & Creative Tools
|
||||||
@ -164,6 +167,8 @@ You ship products with AI, but every launch still dies quietly because nobody po
|
|||||||
- [**Coinbase**](https://getdesign.md/coinbase/design-md) - Crypto exchange. Clean blue identity, trust-focused, institutional feel
|
- [**Coinbase**](https://getdesign.md/coinbase/design-md) - Crypto exchange. Clean blue identity, trust-focused, institutional feel
|
||||||
- [**Kraken**](https://getdesign.md/kraken/design-md) - Crypto trading platform. Purple-accented dark UI, data-dense dashboards
|
- [**Kraken**](https://getdesign.md/kraken/design-md) - Crypto trading platform. Purple-accented dark UI, data-dense dashboards
|
||||||
- [**Mastercard**](https://getdesign.md/mastercard/design-md) - Global payments network. Warm cream canvas, orbital pill shapes, editorial warmth
|
- [**Mastercard**](https://getdesign.md/mastercard/design-md) - Global payments network. Warm cream canvas, orbital pill shapes, editorial warmth
|
||||||
|
- [**Mercury**](https://getdesign.md/mercury/design-md) - Startup banking platform. Ink-violet night world, indigo action pill, light custom sans
|
||||||
|
- [**NerdWallet**](https://getdesign.md/nerdwallet/design-md) - Personal finance comparison platform. Deep spruce green, mint washes, near-square corners
|
||||||
- [**Revolut**](https://getdesign.md/revolut/design-md) - Digital banking. Sleek dark interface, gradient cards, fintech precision
|
- [**Revolut**](https://getdesign.md/revolut/design-md) - Digital banking. Sleek dark interface, gradient cards, fintech precision
|
||||||
- [**Stripe**](https://getdesign.md/stripe/design-md) - Payment infrastructure. Signature purple gradients, weight-300 elegance
|
- [**Stripe**](https://getdesign.md/stripe/design-md) - Payment infrastructure. Signature purple gradients, weight-300 elegance
|
||||||
- [**Wise**](https://getdesign.md/wise/design-md) - International money transfer. Bright green accent, friendly and clear
|
- [**Wise**](https://getdesign.md/wise/design-md) - International money transfer. Bright green accent, friendly and clear
|
||||||
@ -172,16 +177,21 @@ You ship products with AI, but every launch still dies quietly because nobody po
|
|||||||
|
|
||||||
- [**Airbnb**](https://getdesign.md/airbnb/design-md) - Travel marketplace. Warm coral accent, photography-driven, rounded UI
|
- [**Airbnb**](https://getdesign.md/airbnb/design-md) - Travel marketplace. Warm coral accent, photography-driven, rounded UI
|
||||||
- [**Meta**](https://getdesign.md/meta/design-md) - Tech retail store. Photography-first, binary light/dark surfaces, Meta Blue CTAs
|
- [**Meta**](https://getdesign.md/meta/design-md) - Tech retail store. Photography-first, binary light/dark surfaces, Meta Blue CTAs
|
||||||
|
- [**mydealz**](https://getdesign.md/mydealz/design-md) - German deals community. Dense white-card feed, hot and cold voting pill, brand green
|
||||||
- [**Nike**](https://getdesign.md/nike/design-md) - Athletic retail. Monochrome UI, massive uppercase Futura, full-bleed photography
|
- [**Nike**](https://getdesign.md/nike/design-md) - Athletic retail. Monochrome UI, massive uppercase Futura, full-bleed photography
|
||||||
- [**Shopify**](https://getdesign.md/shopify/design-md) - E-commerce platform. Dark-first cinematic, neon green accent, ultra-light display type
|
- [**Shopify**](https://getdesign.md/shopify/design-md) - E-commerce platform. Dark-first cinematic, neon green accent, ultra-light display type
|
||||||
- [**Starbucks**](https://getdesign.md/starbucks/design-md) - Coffee retail flagship. Four-tier earth-green system, warm cream canvas, proprietary SoDoSans typography
|
- [**Starbucks**](https://getdesign.md/starbucks/design-md) - Coffee retail flagship. Four-tier earth-green system, warm cream canvas, proprietary SoDoSans typography
|
||||||
|
|
||||||
### Media & Consumer Tech
|
### Media & Consumer Tech
|
||||||
|
|
||||||
|
- [**1win**](https://getdesign.md/1win/design-md) - Crypto casino and sportsbook. Near-black canvas, vivid green action color, dense game-tile rails
|
||||||
|
- [**Al Jazeera**](https://getdesign.md/aljazeera/design-md) - Global news network. Flat white paper, dense Roboto headlines, orange signature and live red
|
||||||
- [**Apple**](https://getdesign.md/apple/design-md) - Consumer electronics. Premium white space, SF Pro, cinematic imagery
|
- [**Apple**](https://getdesign.md/apple/design-md) - Consumer electronics. Premium white space, SF Pro, cinematic imagery
|
||||||
|
- [**DJI**](https://getdesign.md/dji/design-md) - Drone and camera maker. Studio product tiles, engineering-blue pills, tight Open Sans
|
||||||
- [**HP**](https://getdesign.md/hp/design-md) - PC and printer maker. Pure white canvas, HP Electric Blue signal CTA, geometric Forma DJR Micro, blue chevron decorations
|
- [**HP**](https://getdesign.md/hp/design-md) - PC and printer maker. Pure white canvas, HP Electric Blue signal CTA, geometric Forma DJR Micro, blue chevron decorations
|
||||||
- [**IBM**](https://getdesign.md/ibm/design-md) - Enterprise technology. Carbon design system, structured blue palette
|
- [**IBM**](https://getdesign.md/ibm/design-md) - Enterprise technology. Carbon design system, structured blue palette
|
||||||
- [**NVIDIA**](https://getdesign.md/nvidia/design-md) - GPU computing. Green-black energy, technical power aesthetic
|
- [**NVIDIA**](https://getdesign.md/nvidia/design-md) - GPU computing. Green-black energy, technical power aesthetic
|
||||||
|
- [**Oura**](https://getdesign.md/oura/design-md) - Smart ring wellness brand. Warm paper cream, editorial serif, earth-tone accents
|
||||||
- [**Pinterest**](https://getdesign.md/pinterest/design-md) - Visual discovery platform. Red accent, masonry grid, image-first
|
- [**Pinterest**](https://getdesign.md/pinterest/design-md) - Visual discovery platform. Red accent, masonry grid, image-first
|
||||||
- [**PlayStation**](https://getdesign.md/playstation/design-md) - Gaming console retail. Three-surface channel layout, cyan hover-scale interaction
|
- [**PlayStation**](https://getdesign.md/playstation/design-md) - Gaming console retail. Three-surface channel layout, cyan hover-scale interaction
|
||||||
- [**SpaceX**](https://getdesign.md/spacex/design-md) - Space technology. Stark black and white, full-bleed imagery, futuristic
|
- [**SpaceX**](https://getdesign.md/spacex/design-md) - Space technology. Stark black and white, full-bleed imagery, futuristic
|
||||||
|
|||||||
463
design-md/1win/DESIGN.md
Normal file
463
design-md/1win/DESIGN.md
Normal file
@ -0,0 +1,463 @@
|
|||||||
|
---
|
||||||
|
version: alpha
|
||||||
|
name: 1win Analysis
|
||||||
|
description: An analysis of 1win's design language — a near-black crypto casino and sportsbook built on Inter at heavy weights, where a vivid green action color and an electric blue secondary carry every CTA across dense, full-bleed game-tile rails, promo cards, and live betting panels on a flat dark-grey surface ladder.
|
||||||
|
|
||||||
|
colors:
|
||||||
|
primary: "#00b24b"
|
||||||
|
secondary: "#0075ff"
|
||||||
|
on-primary: "#ffffff"
|
||||||
|
canvas: "#141415"
|
||||||
|
surface: "#2e3035"
|
||||||
|
hairline: "#2d2f33"
|
||||||
|
ink: "#f0f2f5"
|
||||||
|
muted: "#9aa1b1"
|
||||||
|
faint: "#53575f"
|
||||||
|
black: "#000000"
|
||||||
|
|
||||||
|
typography:
|
||||||
|
display:
|
||||||
|
fontFamily: Inter
|
||||||
|
fontSize: 33px
|
||||||
|
fontWeight: 800
|
||||||
|
lineHeight: 1.1
|
||||||
|
letterSpacing: 0
|
||||||
|
heading:
|
||||||
|
fontFamily: Inter
|
||||||
|
fontSize: 20px
|
||||||
|
fontWeight: 800
|
||||||
|
lineHeight: 1.2
|
||||||
|
letterSpacing: 0
|
||||||
|
title:
|
||||||
|
fontFamily: Inter
|
||||||
|
fontSize: 16px
|
||||||
|
fontWeight: 600
|
||||||
|
lineHeight: 1.3
|
||||||
|
letterSpacing: 0
|
||||||
|
body:
|
||||||
|
fontFamily: Inter
|
||||||
|
fontSize: 14px
|
||||||
|
fontWeight: 600
|
||||||
|
lineHeight: 1.4
|
||||||
|
letterSpacing: 0
|
||||||
|
ui:
|
||||||
|
fontFamily: Inter
|
||||||
|
fontSize: 13px
|
||||||
|
fontWeight: 600
|
||||||
|
lineHeight: 1.3
|
||||||
|
letterSpacing: 0
|
||||||
|
caption:
|
||||||
|
fontFamily: Inter
|
||||||
|
fontSize: 12px
|
||||||
|
fontWeight: 600
|
||||||
|
lineHeight: 1.3
|
||||||
|
letterSpacing: 0
|
||||||
|
|
||||||
|
rounded:
|
||||||
|
xs: 4px
|
||||||
|
sm: 6px
|
||||||
|
md: 8px
|
||||||
|
lg: 10px
|
||||||
|
xl: 12px
|
||||||
|
card: 16px
|
||||||
|
full: 999px
|
||||||
|
|
||||||
|
spacing:
|
||||||
|
xxs: 2px
|
||||||
|
xs: 4px
|
||||||
|
sm: 8px
|
||||||
|
md: 12px
|
||||||
|
lg: 16px
|
||||||
|
xl: 20px
|
||||||
|
xxl: 24px
|
||||||
|
xxxl: 32px
|
||||||
|
|
||||||
|
components:
|
||||||
|
button-primary:
|
||||||
|
backgroundColor: "{colors.primary}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "8px 12px"
|
||||||
|
button-secondary:
|
||||||
|
backgroundColor: "{colors.secondary}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "8px 12px"
|
||||||
|
button-tertiary:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.xl}"
|
||||||
|
padding: "8px 12px"
|
||||||
|
button-ghost:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "0px 8px"
|
||||||
|
pill-badge:
|
||||||
|
backgroundColor: "{colors.secondary}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.caption}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
padding: "0px 4px"
|
||||||
|
pill-outline:
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.title}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
padding: "0px 8px"
|
||||||
|
top-nav:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
padding: "8px 16px"
|
||||||
|
sidebar-rail:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.muted}"
|
||||||
|
padding: "8px"
|
||||||
|
game-tile:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
rounded: "{rounded.card}"
|
||||||
|
hero-banner:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
rounded: "{rounded.card}"
|
||||||
|
padding: "24px"
|
||||||
|
promo-card:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
rounded: "{rounded.card}"
|
||||||
|
padding: "16px"
|
||||||
|
feature-card:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
rounded: "{rounded.card}"
|
||||||
|
padding: "16px"
|
||||||
|
feature-card-elevated:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
rounded: "{rounded.card}"
|
||||||
|
padding: "16px"
|
||||||
|
bet-odds-button:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "8px 12px"
|
||||||
|
betslip-panel:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
rounded: "{rounded.card}"
|
||||||
|
padding: "16px"
|
||||||
|
text-input:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "8px 12px"
|
||||||
|
footer:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.muted}"
|
||||||
|
padding: "24px"
|
||||||
|
|
||||||
|
# ─── Examples (illustrative) — kit-mirror surfaces ───
|
||||||
|
ex-pricing-tier:
|
||||||
|
description: "Default Pricing tier card. Re-uses feature-card chrome with brand canvas-soft surface."
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
rounded: "{rounded.card}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
ex-pricing-tier-featured:
|
||||||
|
description: "Featured/highlighted tier — polarity-flipped surface (dark fill + light text in light mode, light fill + dark text in dark mode)."
|
||||||
|
backgroundColor: "{colors.ink}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
rounded: "{rounded.card}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
ex-product-selector:
|
||||||
|
description: "What's Included summary card — re-purposed for SaaS / B2B verticals (NOT a literal product gallery)."
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
rounded: "{rounded.card}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
ex-cart-drawer:
|
||||||
|
description: "Subscription summary — re-purposed for SaaS / B2B (line items per add-on, not literal cart)."
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
rounded: "{rounded.card}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
item-divider: "{colors.hairline}"
|
||||||
|
ex-app-shell-row:
|
||||||
|
description: "Sidebar nav row inside the App Shell example. Active state uses brand primary as the indicator."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
activeIndicator: "{colors.primary}"
|
||||||
|
rounded: "{rounded.sm}"
|
||||||
|
padding: "{spacing.sm} {spacing.md}"
|
||||||
|
ex-data-table-cell:
|
||||||
|
description: "Default data-table th + td chrome. Header uses mono-caps eyebrow typography; body uses body-sm."
|
||||||
|
headerBackground: "{colors.surface}"
|
||||||
|
headerTypography: "{typography.caption}"
|
||||||
|
bodyTypography: "{typography.body}"
|
||||||
|
cellPadding: "{spacing.sm} {spacing.md}"
|
||||||
|
rowBorder: "{colors.hairline}"
|
||||||
|
ex-auth-form-card:
|
||||||
|
description: "Sign-in / sign-up card. Re-uses feature-card chrome with text-input primitives inside."
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
rounded: "{rounded.card}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
ex-modal-card:
|
||||||
|
description: "Modal dialog surface — same chrome as feature-card with elevated shadow."
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
rounded: "{rounded.card}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
ex-empty-state-card:
|
||||||
|
description: "Empty-state illustration frame."
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
rounded: "{rounded.card}"
|
||||||
|
padding: "{spacing.xxl}"
|
||||||
|
captionTypography: "{typography.body}"
|
||||||
|
ex-toast:
|
||||||
|
description: "Toast notification surface — feature-card shape + medium shadow."
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
rounded: "{rounded.card}"
|
||||||
|
padding: "{spacing.md} {spacing.lg}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
|
1win is a crypto casino and sportsbook that runs almost entirely on a near-black canvas (`{colors.canvas}` — #141415), a flat, slightly cool dark field that lets thousands of vibrant game thumbnails do the shouting. The chrome around the content is deliberately quiet: dark-grey surfaces (`{colors.surface}` — #2e3035), faint translucent hairlines, and off-white text (`{colors.ink}` — #f0f2f5). Against that restraint, two action colors carry the entire interactive layer — a vivid green (`{colors.primary}` — #00b24b) on the "Registration" CTA and every primary confirm, and an electric blue (`{colors.secondary}` — #0075ff) on "Log In", links, the "Show more" pill, active tabs, and bet highlights.
|
||||||
|
|
||||||
|
The layout is a high-density product surface, not a marketing page. A fixed left icon rail holds category navigation; the main column is a long stack of horizontally-scrolling rails — "Top games", "Slots", "Originals", game providers — each a row of full-bleed, brightly-illustrated `game-tile` thumbnails. Promotional bonuses ride in gradient-rich `hero-banner` cards at the top, and the sportsbook adds match rows with `bet-odds-button` chips and a right-hand `betslip-panel`. Typography is Inter set at heavy weights only (600 and 800) — even body copy is semibold — which gives the dense UI a punchy, app-like confidence rather than an editorial calm.
|
||||||
|
|
||||||
|
Color discipline is the key to reading this brand correctly: the loud purples, reds, ambers, and violets that fill the screen all live *inside* game artwork and bonus-card illustrations — they are content, not chrome. The system itself is monochrome dark plus exactly two signals: green for "go / win / register" and blue for "secondary / navigate / live". Everything structural is built from the dark surface ladder and those two accents.
|
||||||
|
|
||||||
|
**Key Characteristics:**
|
||||||
|
- Near-black `{colors.canvas}` foundation with a flat `{colors.surface}` card/tile ladder — depth comes from surface shifts and faint `{colors.hairline}` borders, not heavy shadow.
|
||||||
|
- Two-signal action system: green `{colors.primary}` for primary CTAs (Registration, confirm) and blue `{colors.secondary}` for secondary actions, links, and live/betting highlights.
|
||||||
|
- Inter at heavy weights only (600 / 800) — even `{typography.body}` is semibold, giving the dense UI an app-like punch.
|
||||||
|
- Content-forward game rails — full-bleed `game-tile` artwork supplies all the saturation; the surrounding frame stays monochrome dark.
|
||||||
|
- Pill language for badges and status (`{rounded.full}`), modest `{rounded.lg}`–`{rounded.xl}` on buttons, and `{rounded.card}` (16px) on tiles, promo cards, and panels.
|
||||||
|
- A left icon `sidebar-rail` + dense horizontally-scrolling rails define the shell, closer to a native app than a website.
|
||||||
|
|
||||||
|
## Colors
|
||||||
|
|
||||||
|
> Source pages analyzed: home, promotions, betting, vip-club.
|
||||||
|
|
||||||
|
### Brand & Accent
|
||||||
|
- **Action Green** (`{colors.primary}` — #00b24b): The primary action color — the "Registration" CTA, primary confirms, betslip place-bet, and section accent icons. The brand's "go / win" signal.
|
||||||
|
- **Electric Blue** (`{colors.secondary}` — #0075ff): The secondary action — "Log In", text links, the "Show more" pill, active tabs, badges, and live/betting highlights.
|
||||||
|
- **On Primary** (`{colors.on-primary}` — #ffffff): White text/icons on the green and blue fills.
|
||||||
|
|
||||||
|
### Surface
|
||||||
|
- **Canvas** (`{colors.canvas}` — #141415): The page background and the fill of the nav and `sidebar-rail` — a flat near-black.
|
||||||
|
- **Surface** (`{colors.surface}` — #2e3035): Cards, game tiles, promo cards, betslip panels, utility buttons, and input fields — the single elevated dark step.
|
||||||
|
- **Hairline** (`{colors.hairline}` — #2d2f33): The faint 1px divider/card border, a translucent cool-grey edge that reads against both canvas and surface.
|
||||||
|
|
||||||
|
### Text
|
||||||
|
- **Ink** (`{colors.ink}` — #f0f2f5): Primary text, the wordmark, and headings — a soft off-white.
|
||||||
|
- **Muted** (`{colors.muted}` — #9aa1b1): Secondary labels, inactive nav glyphs, footer text.
|
||||||
|
- **Faint** (`{colors.faint}` — #53575f): Tertiary/placeholder text and disabled labels.
|
||||||
|
- **Black** (`{colors.black}` — #000000): Maximum-contrast text used on the brightest accent fills and light promo surfaces.
|
||||||
|
|
||||||
|
## Typography
|
||||||
|
|
||||||
|
### Font Family
|
||||||
|
The entire system is set in **Inter** (`Inter, sans-serif`), and only at heavy weights — **600 (semibold)** and **800 (extrabold)**. There is no regular-weight body text; even running copy is semibold, which is what gives the dense, data-heavy interface its punchy, native-app feel. Headlines and bonus figures use 800; everything functional uses 600.
|
||||||
|
|
||||||
|
### Hierarchy
|
||||||
|
|
||||||
|
| Token | Size | Weight | Line Height | Letter Spacing | Use |
|
||||||
|
|---|---|---|---|---|---|
|
||||||
|
| `{typography.display}` | 33px | 800 | 1.1 | 0 | Hero / page headlines (bonus figures, "Promotions") |
|
||||||
|
| `{typography.heading}` | 20px | 800 | 1.2 | 0 | Section + card titles |
|
||||||
|
| `{typography.title}` | 16px | 600 | 1.3 | 0 | Game titles, row headers, outlined pills |
|
||||||
|
| `{typography.body}` | 14px | 600 | 1.4 | 0 | Default body, button labels |
|
||||||
|
| `{typography.ui}` | 13px | 600 | 1.3 | 0 | Inline UI text, odds, metadata |
|
||||||
|
| `{typography.caption}` | 12px | 600 | 1.3 | 0 | Badges, chips, micro-labels |
|
||||||
|
|
||||||
|
### Principles
|
||||||
|
Hierarchy is built from size and the 600↔800 weight jump, never from a light/regular contrast. The heavy floor keeps small UI text legible against the dark, busy backdrop and matches the high-energy gambling context.
|
||||||
|
|
||||||
|
### Note on Font Substitutes
|
||||||
|
Inter is an open-source Google Font, so no substitution is needed. If a fallback is required, any grotesque with a strong semibold (e.g. Manrope, Geist) preserves the heavy-weight character; keep body at 600+ to retain the app-like density.
|
||||||
|
|
||||||
|
## Layout
|
||||||
|
|
||||||
|
### Spacing System
|
||||||
|
- **Base unit**: 8px.
|
||||||
|
- **Tokens (front matter)**: `{spacing.xxs}` 2px · `{spacing.xs}` 4px · `{spacing.sm}` 8px · `{spacing.md}` 12px · `{spacing.lg}` 16px · `{spacing.xl}` 20px · `{spacing.xxl}` 24px · `{spacing.xxxl}` 32px
|
||||||
|
- Controls run tight — `{spacing.sm}`×`{spacing.md}` (8×12px) is the recurring button padding; cards and panels use `{spacing.lg}`–`{spacing.xxl}` (16–24px) interiors.
|
||||||
|
|
||||||
|
### Grid & Container
|
||||||
|
The shell is a fixed left icon `sidebar-rail` plus a fluid content column. Discovery uses horizontally-scrolling rails (carousels) of `game-tile` thumbnails rather than wrapping grids; the promotions page uses a 2-up card grid, and the sportsbook uses full-width match rows with a docked right-hand `betslip-panel`.
|
||||||
|
|
||||||
|
### Whitespace Philosophy
|
||||||
|
Density is the point — tiles pack close together to maximize the number of games in view, and the dark canvas itself does the separating between rails. Vertical gaps between labeled rails are modest; the brightness step between a tile and the canvas, plus a faint `{colors.hairline}`, supplies most of the structure.
|
||||||
|
|
||||||
|
### Responsive Strategy
|
||||||
|
|
||||||
|
#### Breakpoints
|
||||||
|
| Name | Width | Key Changes |
|
||||||
|
|---|---|---|
|
||||||
|
| Mobile | < 768px | Left rail collapses to a bottom/hamburger nav; rails shorten; betslip becomes a bottom sheet |
|
||||||
|
| Tablet | 768–1023px | Condensed rail; fewer tiles per rail; 2-up promo grid retained |
|
||||||
|
| Laptop | 1024–1439px | Full rail + multi-tile rails |
|
||||||
|
| Desktop | ≥ 1440px (up to 1920px) | Widest rails + persistent betslip panel |
|
||||||
|
|
||||||
|
#### Touch Targets
|
||||||
|
Buttons carry `{spacing.sm}`×`{spacing.md}` padding and pills clear comfortable tap sizes; the green `button-primary` is the largest, highest-priority tap surface. Aim for 44×44px minimum on the dense rails.
|
||||||
|
|
||||||
|
#### Collapsing Strategy
|
||||||
|
The left `sidebar-rail` collapses first (to a hamburger or bottom bar). Category tab strips and `bet-odds-button` rows become horizontally scrollable rather than wrapping. Game rails keep their carousel behavior at every width, simply showing fewer tiles. The `betslip-panel` docks to the right on desktop and becomes a bottom sheet on mobile.
|
||||||
|
|
||||||
|
#### Image Behavior
|
||||||
|
Game thumbnails are full-bleed inside `{rounded.card}` corners (no internal padding) in portrait-leaning and square ratios; the artwork supplies all the color. Promo cards carry edge-to-edge photography behind an `{colors.ink}` title. Tiles lazy-load as rails scroll into view, with the `{colors.surface}` tile color as the placeholder.
|
||||||
|
|
||||||
|
## Elevation & Depth
|
||||||
|
|
||||||
|
Depth is mostly tonal — a flat two-step surface ladder rather than layered shadows.
|
||||||
|
|
||||||
|
| Level | Treatment | Use |
|
||||||
|
|---|---|---|
|
||||||
|
| 0 | `{colors.canvas}` flat | Page background, nav, sidebar rail |
|
||||||
|
| 1 | `{colors.surface}` + `{colors.hairline}` border | Cards, tiles, promo cards, betslip, buttons, inputs |
|
||||||
|
| Floating | `{colors.surface}` + soft `rgba(0,0,0,0.4)` shadow | Modals, dropdowns, the docked betslip lifted above content |
|
||||||
|
|
||||||
|
### Decorative Depth
|
||||||
|
The brand's visual richness comes from the game and promo artwork (radial-gradient bonus banners, illustrated tiles) layered on the flat dark canvas — not from UI shadows. Selected/active states use the green or blue accent as a glow-like emphasis rather than elevation.
|
||||||
|
|
||||||
|
## Shapes
|
||||||
|
|
||||||
|
### Border Radius Scale
|
||||||
|
|
||||||
|
| Token | Value | Use |
|
||||||
|
|---|---|---|
|
||||||
|
| `{rounded.xs}` | 4px | Small chips, inner elements |
|
||||||
|
| `{rounded.sm}` | 6px | Compact cards, small media |
|
||||||
|
| `{rounded.md}` | 8px | Inputs, odds buttons, medium elements |
|
||||||
|
| `{rounded.lg}` | 10px | Primary / secondary / ghost buttons |
|
||||||
|
| `{rounded.xl}` | 12px | Utility buttons |
|
||||||
|
| `{rounded.card}` | 16px | Game tiles, promo cards, hero banners, panels |
|
||||||
|
| `{rounded.full}` | 999px | Pills, badges, avatars, circular controls |
|
||||||
|
|
||||||
|
### Photography Geometry
|
||||||
|
Game artwork is framed at `{rounded.card}` (16px) and runs full-bleed inside the tile. Promo cards use the same 16px frame with edge-to-edge imagery. Avatars, status badges, and provider chips use `{rounded.full}`. There is no exposed photography outside the gaming/promo content — the structural chrome stays geometric and flat.
|
||||||
|
|
||||||
|
## Components
|
||||||
|
|
||||||
|
> **No hover states documented.** Each spec covers Default and Active/Pressed only. Variants live as separate `components:` entries.
|
||||||
|
|
||||||
|
### Buttons
|
||||||
|
|
||||||
|
**`button-primary`** — the green "Registration" / primary-confirm CTA, the highest-visibility control.
|
||||||
|
- Background `{colors.primary}`, text `{colors.on-primary}`, type `{typography.body}`, rounded `{rounded.lg}`, padding `{spacing.sm}` `{spacing.md}` (8×12px).
|
||||||
|
|
||||||
|
**`button-secondary`** — the blue "Log In" / secondary action and the "Show more" pill.
|
||||||
|
- Background `{colors.secondary}`, text `{colors.on-primary}`, type `{typography.body}`, rounded `{rounded.lg}`, padding 8×12px.
|
||||||
|
|
||||||
|
**`button-tertiary`** — the dark-grey utility button ("More events", "Read more").
|
||||||
|
- Background `{colors.surface}`, text `{colors.ink}`, type `{typography.body}`, rounded `{rounded.xl}`, padding 8×12px.
|
||||||
|
|
||||||
|
**`button-ghost`** — a low-emphasis grey control on dense rows.
|
||||||
|
- Background `{colors.surface}`, text `{colors.ink}`, type `{typography.body}`, rounded `{rounded.lg}`, padding `0` `{spacing.sm}` (0×8px).
|
||||||
|
|
||||||
|
### Navigation
|
||||||
|
|
||||||
|
**`top-nav`** — the sticky header carrying the 1win wordmark, search, balance, and the green Registration + blue Log In CTAs.
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink}`, padding 8×16px, with a `{colors.hairline}` base edge.
|
||||||
|
|
||||||
|
**`sidebar-rail`** — the fixed left icon rail (Casino, Sports, categories).
|
||||||
|
- Background `{colors.canvas}`, glyphs `{colors.muted}`, padding `{spacing.sm}`. Active item marked in `{colors.primary}`.
|
||||||
|
|
||||||
|
### Inputs & Forms
|
||||||
|
|
||||||
|
**`text-input`** — search and betslip amount fields.
|
||||||
|
- Background `{colors.surface}`, text `{colors.ink}`, placeholder `{colors.faint}`, border `{colors.hairline}`, type `{typography.body}`, rounded `{rounded.md}`, padding 8×12px.
|
||||||
|
|
||||||
|
**`bet-odds-button`** — the odds chip in sportsbook match rows.
|
||||||
|
- Background `{colors.surface}`, text `{colors.ink}`, type `{typography.ui}`, rounded `{rounded.md}`, padding 8×12px. Selected state highlights in `{colors.secondary}`.
|
||||||
|
|
||||||
|
### Pills & Badges
|
||||||
|
|
||||||
|
**`pill-badge`** — the solid blue status/count badge.
|
||||||
|
- Background `{colors.secondary}`, text `{colors.on-primary}`, type `{typography.caption}`, rounded `{rounded.full}`, padding `0` `{spacing.xs}` (0×4px).
|
||||||
|
|
||||||
|
**`pill-outline`** — the bordered filter/category pill.
|
||||||
|
- Text `{colors.ink}`, type `{typography.title}`, rounded `{rounded.full}`, padding 0×8px, with a `{colors.hairline}` border.
|
||||||
|
|
||||||
|
### Cards & Containers
|
||||||
|
|
||||||
|
**`game-tile`** — the core discovery unit: a full-bleed game thumbnail.
|
||||||
|
- Background `{colors.surface}` (placeholder), rounded `{rounded.card}`. Artwork fills edge-to-edge with no padding.
|
||||||
|
|
||||||
|
**`hero-banner`** — the top welcome-bonus / promo banner.
|
||||||
|
- Background `{colors.surface}` with edge-to-edge gradient imagery, headline `{colors.ink}` in `{typography.display}`, rounded `{rounded.card}`, padding `{spacing.xxl}`.
|
||||||
|
|
||||||
|
**`promo-card`** — a promotions-page card (full-bleed photo + title + chips).
|
||||||
|
- Background `{colors.surface}`, title `{colors.ink}`, rounded `{rounded.card}`, padding `{spacing.lg}`.
|
||||||
|
|
||||||
|
**`feature-card`** — generic dark content card.
|
||||||
|
- Background `{colors.surface}`, text `{colors.ink}`, border `{colors.hairline}`, rounded `{rounded.card}`, padding `{spacing.lg}`.
|
||||||
|
|
||||||
|
**`feature-card-elevated`** — a feature card lifted above the page (floating shadow), base for modal/toast surfaces.
|
||||||
|
- Background `{colors.surface}`, text `{colors.ink}`, rounded `{rounded.card}`, padding `{spacing.lg}`, soft `rgba(0,0,0,0.4)` shadow.
|
||||||
|
|
||||||
|
**`betslip-panel`** — the docked sportsbook betslip / wheel-of-fortune panel.
|
||||||
|
- Background `{colors.surface}`, text `{colors.ink}`, rounded `{rounded.card}`, padding `{spacing.lg}`. Confirm action uses `button-primary`.
|
||||||
|
|
||||||
|
**`footer`** — the page footer (support, information, categories columns).
|
||||||
|
- Background `{colors.canvas}`, text `{colors.muted}`, headings `{colors.ink}`, padding `{spacing.xxl}`.
|
||||||
|
|
||||||
|
### Examples (illustrative)
|
||||||
|
|
||||||
|
> Kit-mirror demonstration surfaces. Each `ex-*` entry references 1win's brand-native primitives (`{colors.surface}`, `{colors.primary}`, `{rounded.card}`, the spacing scale) so downstream consumers re-skin the same 10 illustrative surfaces consistently. These are not extracted brand components.
|
||||||
|
|
||||||
|
**`ex-pricing-tier`** — Default Pricing tier card. Re-uses feature-card chrome with brand canvas-soft surface.
|
||||||
|
- Properties: `backgroundColor`, `textColor`, `borderColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-pricing-tier-featured`** — Featured/highlighted tier — polarity-flipped surface (dark fill + light text in light mode, light fill + dark text in dark mode).
|
||||||
|
- Properties: `backgroundColor`, `textColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-product-selector`** — What's Included summary card — re-purposed for SaaS / B2B verticals (NOT a literal product gallery).
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-cart-drawer`** — Subscription summary — re-purposed for SaaS / B2B (line items per add-on, not literal cart).
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`, `item-divider`
|
||||||
|
|
||||||
|
**`ex-app-shell-row`** — Sidebar nav row inside the App Shell example. Active state uses brand primary as the indicator.
|
||||||
|
- Properties: `backgroundColor`, `activeIndicator`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-data-table-cell`** — Default data-table th + td chrome. Header uses mono-caps eyebrow typography; body uses body-sm.
|
||||||
|
- Properties: `headerBackground`, `headerTypography`, `bodyTypography`, `cellPadding`, `rowBorder`
|
||||||
|
|
||||||
|
**`ex-auth-form-card`** — Sign-in / sign-up card. Re-uses feature-card chrome with text-input primitives inside.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-modal-card`** — Modal dialog surface — same chrome as feature-card with elevated shadow.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-empty-state-card`** — Empty-state illustration frame.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`, `captionTypography`
|
||||||
|
|
||||||
|
**`ex-toast`** — Toast notification surface — feature-card shape + medium shadow.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`, `typography`
|
||||||
|
|
||||||
|
|
||||||
|
## Do's and Don'ts
|
||||||
|
|
||||||
|
### Do
|
||||||
|
- Reserve `{colors.primary}` (green) for primary actions — Registration, confirm, place-bet — and `{colors.secondary}` (blue) for secondary actions, links, and live/betting highlights.
|
||||||
|
- Build depth with the surface ladder (`{colors.canvas}` → `{colors.surface}`) plus a faint `{colors.hairline}` edge; avoid heavy shadows.
|
||||||
|
- Set every label in Inter 600+ (`{typography.body}` / `{typography.caption}`); use the 800 weight for headlines and bonus figures.
|
||||||
|
- Let game and promo artwork supply the color — keep the surrounding chrome monochrome dark.
|
||||||
|
- Use `{rounded.lg}`–`{rounded.xl}` on buttons, `{rounded.card}` (16px) on tiles/cards/panels, and `{rounded.full}` on pills and badges.
|
||||||
|
- Pair accent fills with `{colors.on-primary}` (white) text for legibility.
|
||||||
|
|
||||||
|
### Don't
|
||||||
|
- Don't promote game-tile or bonus-banner gradient colors (the purples, reds, violets, ambers) into the UI palette — they are content, not chrome.
|
||||||
|
- Don't add a third structural accent; the system is green + blue only.
|
||||||
|
- Don't use pure-regular weights — there is no Inter 400 here; body copy is semibold.
|
||||||
|
- Don't pad game tiles — artwork is full-bleed inside `{rounded.card}` corners.
|
||||||
|
- Don't rely on drop shadows for elevation; the surface brightness step is the elevation language.
|
||||||
5
design-md/1win/README.md
Normal file
5
design-md/1win/README.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# 1win Inspired Design System Analysis
|
||||||
|
|
||||||
|
Design system details have been moved to: https://getdesign.md/1win/design-md
|
||||||
|
|
||||||
|
You can also view previews, dark mode examples, and download options on getdesign.md.
|
||||||
594
design-md/aljazeera/DESIGN.md
Normal file
594
design-md/aljazeera/DESIGN.md
Normal file
@ -0,0 +1,594 @@
|
|||||||
|
---
|
||||||
|
version: alpha
|
||||||
|
name: Al Jazeera Analysis
|
||||||
|
description: An analysis of Al Jazeera's design language — a hard-news editorial system built on flat white paper and dense Roboto headline stacks, signed by one saturated orange used as logo block and section-eyebrow bar, punctuated by a live-red that marks breaking coverage with timeline dots and LIVE badges, and interfaced through compact black pills; the corporate network pages extend the same identity onto a near-black canvas with royal-indigo hero panels, gold rules and amber links, and vivid teal and crimson section rails beside monochrome leadership portraiture.
|
||||||
|
|
||||||
|
colors:
|
||||||
|
primary: "#fa9000"
|
||||||
|
on-primary: "#ffffff"
|
||||||
|
live-red: "#c31833"
|
||||||
|
ink: "#000000"
|
||||||
|
charcoal: "#333333"
|
||||||
|
slate: "#595959"
|
||||||
|
canvas: "#ffffff"
|
||||||
|
soft: "#f0f0f0"
|
||||||
|
hairline: "#d8d8d8"
|
||||||
|
silver: "#bebebe"
|
||||||
|
indigo: "#272967"
|
||||||
|
night-navy: "#100e2f"
|
||||||
|
network-canvas: "#181818"
|
||||||
|
gold: "#dba200"
|
||||||
|
amber: "#ffa000"
|
||||||
|
select-gold: "#ffc500"
|
||||||
|
rail-teal: "#00cbca"
|
||||||
|
rail-red: "#bc0000"
|
||||||
|
mist: "#dddddd"
|
||||||
|
graphite: "#323232"
|
||||||
|
|
||||||
|
typography:
|
||||||
|
headline-xl:
|
||||||
|
fontFamily: Roboto
|
||||||
|
fontSize: 40px
|
||||||
|
fontWeight: 700
|
||||||
|
lineHeight: 1.2
|
||||||
|
letterSpacing: 0
|
||||||
|
headline-lg:
|
||||||
|
fontFamily: Roboto
|
||||||
|
fontSize: 32px
|
||||||
|
fontWeight: 700
|
||||||
|
lineHeight: 1.25
|
||||||
|
letterSpacing: 0
|
||||||
|
headline-md:
|
||||||
|
fontFamily: Roboto
|
||||||
|
fontSize: 24px
|
||||||
|
fontWeight: 700
|
||||||
|
lineHeight: 1.3
|
||||||
|
letterSpacing: 0
|
||||||
|
headline-sm:
|
||||||
|
fontFamily: Roboto
|
||||||
|
fontSize: 18px
|
||||||
|
fontWeight: 700
|
||||||
|
lineHeight: 1.35
|
||||||
|
letterSpacing: 0
|
||||||
|
network-display:
|
||||||
|
fontFamily: Roboto
|
||||||
|
fontSize: 36px
|
||||||
|
fontWeight: 700
|
||||||
|
lineHeight: 1.2
|
||||||
|
letterSpacing: 0
|
||||||
|
section-eyebrow:
|
||||||
|
fontFamily: Roboto
|
||||||
|
fontSize: 24px
|
||||||
|
fontWeight: 300
|
||||||
|
lineHeight: 1.2
|
||||||
|
letterSpacing: 0
|
||||||
|
label-black:
|
||||||
|
fontFamily: Roboto
|
||||||
|
fontSize: 14px
|
||||||
|
fontWeight: 900
|
||||||
|
lineHeight: 1
|
||||||
|
letterSpacing: 0
|
||||||
|
body:
|
||||||
|
fontFamily: Roboto
|
||||||
|
fontSize: 16px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 1.5
|
||||||
|
letterSpacing: 0
|
||||||
|
body-sm:
|
||||||
|
fontFamily: Roboto
|
||||||
|
fontSize: 14px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 1.45
|
||||||
|
letterSpacing: 0
|
||||||
|
caption:
|
||||||
|
fontFamily: Roboto
|
||||||
|
fontSize: 12px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 1.4
|
||||||
|
letterSpacing: 0
|
||||||
|
button:
|
||||||
|
fontFamily: Roboto
|
||||||
|
fontSize: 16px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 1
|
||||||
|
letterSpacing: 0
|
||||||
|
|
||||||
|
rounded:
|
||||||
|
xs: 2px
|
||||||
|
sm: 4px
|
||||||
|
md: 10px
|
||||||
|
lg: 18px
|
||||||
|
xl: 22px
|
||||||
|
full: 9999px
|
||||||
|
|
||||||
|
spacing:
|
||||||
|
xxs: 2px
|
||||||
|
xs: 4px
|
||||||
|
sm: 8px
|
||||||
|
md: 12px
|
||||||
|
lg: 16px
|
||||||
|
xl: 20px
|
||||||
|
xxl: 24px
|
||||||
|
huge: 30px
|
||||||
|
|
||||||
|
components:
|
||||||
|
nav-bar:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
padding: 0px 15px
|
||||||
|
|
||||||
|
logo-block:
|
||||||
|
backgroundColor: "{colors.primary}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
|
||||||
|
button-pill-dark:
|
||||||
|
backgroundColor: "{colors.ink}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.button}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: 6px 17px
|
||||||
|
|
||||||
|
button-pill-mini:
|
||||||
|
backgroundColor: "{colors.ink}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.caption}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
padding: 1px 6px
|
||||||
|
|
||||||
|
section-eyebrow-lockup:
|
||||||
|
textColor: "{colors.slate}"
|
||||||
|
typography: "{typography.section-eyebrow}"
|
||||||
|
borderColor: "{colors.primary}"
|
||||||
|
|
||||||
|
news-card:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.headline-md}"
|
||||||
|
|
||||||
|
media-thumb:
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
|
||||||
|
live-badge:
|
||||||
|
textColor: "{colors.live-red}"
|
||||||
|
typography: "{typography.label-black}"
|
||||||
|
rounded: "{rounded.xs}"
|
||||||
|
|
||||||
|
breaking-band:
|
||||||
|
backgroundColor: "{colors.live-red}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.headline-sm}"
|
||||||
|
|
||||||
|
live-strip-item:
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body-sm}"
|
||||||
|
borderColor: "{colors.silver}"
|
||||||
|
|
||||||
|
most-popular-row:
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.headline-sm}"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
padding: 16px 0px
|
||||||
|
|
||||||
|
popular-numeral:
|
||||||
|
textColor: "{colors.slate}"
|
||||||
|
typography: "{typography.headline-lg}"
|
||||||
|
|
||||||
|
newsletter-card:
|
||||||
|
backgroundColor: "{colors.soft}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.headline-md}"
|
||||||
|
padding: 20px
|
||||||
|
|
||||||
|
text-input:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
borderColor: "{colors.slate}"
|
||||||
|
rounded: "{rounded.xl}"
|
||||||
|
padding: 0px 15px
|
||||||
|
|
||||||
|
avatar-circle:
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
|
||||||
|
footer:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body-sm}"
|
||||||
|
|
||||||
|
network-utility-strip:
|
||||||
|
backgroundColor: "{colors.night-navy}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.body-sm}"
|
||||||
|
|
||||||
|
network-nav:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.graphite}"
|
||||||
|
typography: "{typography.body-sm}"
|
||||||
|
|
||||||
|
network-nav-active:
|
||||||
|
textColor: "{colors.amber}"
|
||||||
|
typography: "{typography.body-sm}"
|
||||||
|
|
||||||
|
network-hero-panel:
|
||||||
|
backgroundColor: "{colors.indigo}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.network-display}"
|
||||||
|
padding: 24px
|
||||||
|
|
||||||
|
leader-band:
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.network-display}"
|
||||||
|
|
||||||
|
leader-card:
|
||||||
|
backgroundColor: "{colors.network-canvas}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.headline-md}"
|
||||||
|
|
||||||
|
section-rail-teal:
|
||||||
|
backgroundColor: "{colors.rail-teal}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.body-sm}"
|
||||||
|
|
||||||
|
section-rail-red:
|
||||||
|
backgroundColor: "{colors.rail-red}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.body-sm}"
|
||||||
|
|
||||||
|
award-card:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.graphite}"
|
||||||
|
typography: "{typography.headline-sm}"
|
||||||
|
|
||||||
|
network-select:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.graphite}"
|
||||||
|
typography: "{typography.body-sm}"
|
||||||
|
borderColor: "{colors.select-gold}"
|
||||||
|
|
||||||
|
network-footer:
|
||||||
|
backgroundColor: "{colors.ink}"
|
||||||
|
textColor: "{colors.mist}"
|
||||||
|
typography: "{typography.body-sm}"
|
||||||
|
|
||||||
|
# ─── Examples (illustrative, kit-mirror) ───
|
||||||
|
ex-pricing-tier:
|
||||||
|
description: "Default Pricing tier card. Re-uses feature-card chrome with brand canvas-soft surface."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.xl}"
|
||||||
|
ex-pricing-tier-featured:
|
||||||
|
description: "Featured/highlighted tier — polarity-flipped surface (dark fill + light text in light mode, light fill + dark text in dark mode)."
|
||||||
|
backgroundColor: "{colors.ink}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.xl}"
|
||||||
|
ex-product-selector:
|
||||||
|
description: "What's Included summary card — re-purposed for SaaS / B2B verticals (NOT a literal product gallery)."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.xl}"
|
||||||
|
ex-cart-drawer:
|
||||||
|
description: "Subscription summary — re-purposed for SaaS / B2B (line items per add-on, not literal cart)."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.xl}"
|
||||||
|
item-divider: "{colors.hairline}"
|
||||||
|
ex-app-shell-row:
|
||||||
|
description: "Sidebar nav row inside the App Shell example. Active state uses brand primary as the indicator."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
activeIndicator: "{colors.primary}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.sm} {spacing.lg}"
|
||||||
|
ex-data-table-cell:
|
||||||
|
description: "Default data-table th + td chrome. Header uses mono-caps eyebrow typography; body uses body-sm."
|
||||||
|
headerBackground: "{colors.canvas}"
|
||||||
|
headerTypography: "{typography.caption}"
|
||||||
|
bodyTypography: "{typography.body-sm}"
|
||||||
|
cellPadding: "{spacing.md} {spacing.lg}"
|
||||||
|
rowBorder: "{colors.hairline}"
|
||||||
|
ex-auth-form-card:
|
||||||
|
description: "Sign-in / sign-up card. Re-uses feature-card chrome with text-input primitives inside."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.xl}"
|
||||||
|
ex-modal-card:
|
||||||
|
description: "Modal dialog surface — same chrome as feature-card with elevated shadow."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.xl}"
|
||||||
|
ex-empty-state-card:
|
||||||
|
description: "Empty-state illustration frame."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.huge}"
|
||||||
|
captionTypography: "{typography.body}"
|
||||||
|
ex-toast:
|
||||||
|
description: "Toast notification surface — feature-card shape + medium shadow."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.md} {spacing.lg}"
|
||||||
|
typography: "{typography.body-sm}"
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
|
Al Jazeera's news surface is a printing press, not a product. The page is flat `{colors.canvas}` paper packed edge-to-edge with photography and dense Roboto headline stacks; there are no shadows, no tonal card fills, no decorative gradients — hierarchy is carried entirely by type weight, rules, and the discipline of the grid. Against that severity the brand signs itself with a single saturated orange: the `{colors.primary}` logo block in the masthead and the short orange bar that fronts every section eyebrow ("MUST READ", "OPINION", "FEATURED"). Orange never fills a button and never colors a link — it is a marker pen, not a control.
|
||||||
|
|
||||||
|
Urgency has its own color. `{colors.live-red}` belongs exclusively to the live apparatus: the LIVE badge beside the masthead, the breaking-coverage band, the pulsing dots of the minute-by-minute timeline, and the LIVE UPDATES labels on running stories. Actions, by contrast, are quiet black objects — compact `{colors.ink}` pills at `{rounded.lg}` for Sign up and Subscribe, a rounded `{rounded.xl}` email capsule for the newsletter — so that nothing competes with the news imagery for attention.
|
||||||
|
|
||||||
|
The corporate network pages flip the polarity while keeping the family jewelry. On a near-black `{colors.network-canvas}` canvas, a `{colors.night-navy}` utility strip and royal `{colors.indigo}` hero panels frame monochrome leadership portraiture; `{colors.gold}` rules and `{colors.amber}` active links carry the network's gilded eagle identity; and vivid vertical rails in `{colors.rail-teal}` and `{colors.rail-red}` label whole sections from the margin. It reads as the broadcast brand's title-card language applied to the web.
|
||||||
|
|
||||||
|
**Key Characteristics:**
|
||||||
|
- Flat white paper with zero elevation — `{colors.hairline}` rules and whitespace do all the separating on news surfaces
|
||||||
|
- One-color signature: `{colors.primary}` appears only as the logo block and the 8px eyebrow bar before `{typography.section-eyebrow}` labels
|
||||||
|
- A dedicated live-news color system — `{colors.live-red}` badges, bands, and timeline dots connected by a `{colors.silver}` rail
|
||||||
|
- Compact black pill controls (`{rounded.lg}`) and a `{rounded.xl}` capsule input; media thumbnails round at `{rounded.md}` while article imagery stays square
|
||||||
|
- Roboto-only hierarchy spanning 300-weight uppercase eyebrows to 900-weight LIVE and Trending labels
|
||||||
|
- The network sub-surface: `{colors.network-canvas}` dark canvas, `{colors.indigo}` hero panels, `{colors.gold}`/`{colors.amber}` gilding, and teal/crimson section rails
|
||||||
|
- Page rhythm runs white masthead → live strip → photo-dense grids → `{colors.soft}` newsletter card → white footer; network pages run navy strip → white nav → dark portrait canvas → black footer
|
||||||
|
|
||||||
|
## Colors
|
||||||
|
|
||||||
|
Source pages — the news front page, a live blog, and the network's leadership and awards pages — share one identity across two polarities.
|
||||||
|
|
||||||
|
### Brand & Accent
|
||||||
|
- **Jazeera Orange** (`{colors.primary}` — #fa9000): the masthead logo block and the section-eyebrow bar. Identity, never interaction.
|
||||||
|
- **Live Red** (`{colors.live-red}` — #c31833): breaking bands, LIVE badges, timeline dots, live labels. The color of "happening now" and nothing else.
|
||||||
|
- **Gold** (`{colors.gold}` — #dba200): the network's rule and control-border gilding.
|
||||||
|
- **Amber** (`{colors.amber}` — #ffa000): active nav links on network pages.
|
||||||
|
- **Select Gold** (`{colors.select-gold}` — #ffc500): the network's heavy 3px control border on filters.
|
||||||
|
- **Rail Teal** (`{colors.rail-teal}`) and **Rail Crimson** (`{colors.rail-red}`): the vertical section-label rails beside leadership grids — broadcast lower-third colors standing on the page margin.
|
||||||
|
|
||||||
|
### Surface
|
||||||
|
- **Paper** (`{colors.canvas}` — #ffffff): the news canvas, the nav, the footer.
|
||||||
|
- **Soft** (`{colors.soft}` — #f0f0f0): the newsletter card fill and the faintest divider tone.
|
||||||
|
- **Night Canvas** (`{colors.network-canvas}` — #181818): the network pages' dark ground for portrait cards.
|
||||||
|
- **Royal Indigo** (`{colors.indigo}` — #272967): the network hero panel behind page titles.
|
||||||
|
- **Night Navy** (`{colors.night-navy}` — #100e2f): the network's slim utility strip.
|
||||||
|
- **Hairline** (`{colors.hairline}` — #d8d8d8) and **Silver** (`{colors.silver}` — #bebebe): rule tones — list dividers, card edges, and the live-timeline rail.
|
||||||
|
|
||||||
|
### Text
|
||||||
|
- **Ink** (`{colors.ink}`): headlines, standing labels, and the black pill fills.
|
||||||
|
- **Charcoal** (`{colors.charcoal}` — #333333): article body text.
|
||||||
|
- **Slate** (`{colors.slate}` — #595959): secondary text, eyebrow labels, the oversized Most Popular numerals, input borders, and the monochrome logo rendering.
|
||||||
|
- **Mist** (`{colors.mist}` — #dddddd): light text on the network's dark surfaces.
|
||||||
|
- **Graphite** (`{colors.graphite}` — #323232): network body text and rules on light bands.
|
||||||
|
|
||||||
|
### Semantic
|
||||||
|
- The only semantic signal is `{colors.live-red}` for live/breaking state. There are no success or warning colors — news chrome stays neutral.
|
||||||
|
|
||||||
|
### Brand Gradient
|
||||||
|
- None. Every brand surface is a flat fill; even the network's indigo panels and gold rules are solid.
|
||||||
|
|
||||||
|
## Typography
|
||||||
|
|
||||||
|
### Font Family
|
||||||
|
Roboto carries the entire system — news and corporate alike — from 300-weight uppercase eyebrows to 900-weight status labels. The only other face is the network's custom Al-Jazeera wordmark lettering, used solely as logo art. Body text on article pages sits on Roboto's neutral 400.
|
||||||
|
|
||||||
|
### Hierarchy
|
||||||
|
|
||||||
|
| Token | Size | Weight | Line Height | Letter Spacing | Use |
|
||||||
|
|---|---|---|---|---|---|
|
||||||
|
| `{typography.headline-xl}` | 40px | 700 | 1.2 | 0 | Live-blog and article lead headlines |
|
||||||
|
| `{typography.headline-lg}` | 32px | 700 | 1.25 | 0 | Front-page top stories |
|
||||||
|
| `{typography.headline-md}` | 24px | 700 | 1.3 | 0 | Card headlines, newsletter title |
|
||||||
|
| `{typography.headline-sm}` | 18px | 700 | 1.35 | 0 | List headlines, Most Popular rows |
|
||||||
|
| `{typography.network-display}` | 36px | 700 | 1.2 | 0 | Network page titles and leader names |
|
||||||
|
| `{typography.section-eyebrow}` | 24px | 300 | 1.2 | 0 | Uppercase section labels behind the orange bar |
|
||||||
|
| `{typography.label-black}` | 14px | 900 | 1 | 0 | Trending, LIVE, and status labels |
|
||||||
|
| `{typography.body}` | 16px | 400 | 1.5 | 0 | Article and interface body |
|
||||||
|
| `{typography.body-sm}` | 14px | 400 | 1.45 | 0 | Metadata, nav links, footer columns |
|
||||||
|
| `{typography.caption}` | 12px | 400 | 1.4 | 0 | Timestamps, credits, fine print |
|
||||||
|
| `{typography.button}` | 16px | 400 | 1 | 0 | Pill labels |
|
||||||
|
|
||||||
|
### Principles
|
||||||
|
- Weight is the hierarchy: 700 for every headline tier, 300 for the airy uppercase eyebrows, 900 reserved for tiny urgent labels — a deliberately wide 300↔900 spread inside one family.
|
||||||
|
- Headlines are set tight and dense; the system tolerates — and embraces — crowded news grids.
|
||||||
|
- Timestamps and wire-style metadata sit in `{typography.caption}` `{colors.slate}`, always subordinate to the headline block.
|
||||||
|
|
||||||
|
### Note on Font Substitutes
|
||||||
|
Roboto is open source — use it directly. The Al-Jazeera wordmark lettering is proprietary logo art; do not approximate it with a text face.
|
||||||
|
|
||||||
|
## Layout
|
||||||
|
|
||||||
|
### Spacing System
|
||||||
|
- **Base unit**: 8px with tight 2/4px steps for chrome and metadata.
|
||||||
|
- **Tokens (front matter)**: `{spacing.xxs}` 2px · `{spacing.xs}` 4px · `{spacing.sm}` 8px · `{spacing.md}` 12px · `{spacing.lg}` 16px · `{spacing.xl}` 20px · `{spacing.xxl}` 24px · `{spacing.huge}` 30px
|
||||||
|
- News density keeps gaps small — `{spacing.sm}`-`{spacing.lg}` between cards; the newsletter card pads at `{spacing.xl}`; network sections breathe at `{spacing.xxl}`+.
|
||||||
|
|
||||||
|
### Grid & Container
|
||||||
|
- The front page runs a packed 1100px multi-column news grid: lead story + secondary column + rail, then full-width bands (video carousel, features, galleries).
|
||||||
|
- Live blogs run a single reading column with a right rail; updates stack as timestamped blocks.
|
||||||
|
- Network pages run full-bleed bands: hero panels, then 4-up portrait grids with the vertical rail occupying the left margin.
|
||||||
|
|
||||||
|
### Whitespace Philosophy
|
||||||
|
Whitespace is rationed like column inches. The design deliberately runs dense — separation comes from hairline rules, timestamps, and weight contrast rather than air. Only the network pages allow generous dark voids around portraiture.
|
||||||
|
|
||||||
|
### Responsive Strategy
|
||||||
|
|
||||||
|
#### Breakpoints
|
||||||
|
| Name | Width | Key Changes |
|
||||||
|
|---|---|---|
|
||||||
|
| Desktop | 1280px | Full news grid with right rail |
|
||||||
|
| Laptop | 1024px | Rail folds under; grids step to 2-up |
|
||||||
|
| Tablet | 768-992px | Nav condenses; carousels show fewer cards |
|
||||||
|
| Mobile-lg | 600px | Single-column stacking; thumbnails shift beside headlines |
|
||||||
|
| Mobile | 480px and below | Full-width media; pills persist at compact size |
|
||||||
|
|
||||||
|
#### Touch Targets
|
||||||
|
The black pills pad 6px 17px around 16px labels — keep their surrounding row spacing so targets clear 44×44. Timeline items and Most Popular rows are full-width tap zones.
|
||||||
|
|
||||||
|
#### Collapsing Strategy
|
||||||
|
The nav collapses into a hamburger while the LIVE pill and logo block persist. News grids collapse column-by-column toward the single-column mobile feed; the live timeline keeps its dot rail at every width; network portrait grids step 4 → 2 → 1 with the section rails moving above the grid.
|
||||||
|
|
||||||
|
#### Image Behavior
|
||||||
|
News photography is aggressively cropped 16:9 and 4:3, square-cornered in article grids, `{rounded.md}` in video carousels and thumb rows. Network leadership portraits are consistent studio gray, displayed in tall cards with name overlays.
|
||||||
|
|
||||||
|
## Elevation & Depth
|
||||||
|
|
||||||
|
| Level | Treatment | Use |
|
||||||
|
|---|---|---|
|
||||||
|
| Flat | None — rules only | The entire news surface |
|
||||||
|
| Rule | 1px `{colors.hairline}` / `{colors.soft}` dividers; 1px `{colors.ink}` bottom rules | Lists, cards, section boundaries |
|
||||||
|
| Dropdown | 0 6px 12px rgba(0, 0, 0, 0.175) | Network menus — the system's only shadow |
|
||||||
|
|
||||||
|
Shadow philosophy: news reads flat. Photography supplies all depth on the editorial side; the network's dark canvas supplies it on the corporate side. The single dropdown shadow exists for usability, not style.
|
||||||
|
|
||||||
|
### Decorative Depth
|
||||||
|
- **Photo scrims**: leadership portrait cards fade to dark at the base so white names hold contrast.
|
||||||
|
- **Section rails**: the teal and crimson vertical bars read like broadcast side-straps, giving flat pages a stage-set depth.
|
||||||
|
- **Polarity shift**: the jump from white news paper to `{colors.network-canvas}` corporate darkness is itself the system's depth move.
|
||||||
|
|
||||||
|
## Shapes
|
||||||
|
|
||||||
|
### Border Radius Scale
|
||||||
|
|
||||||
|
| Token | Value | Use |
|
||||||
|
|---|---|---|
|
||||||
|
| `{rounded.xs}` | 2px | LIVE badges, network buttons |
|
||||||
|
| `{rounded.sm}` | 4px | Tooltips, small tags |
|
||||||
|
| `{rounded.md}` | 10px | Video-carousel cards, thumbnail images |
|
||||||
|
| `{rounded.lg}` | 18px | The black pill buttons |
|
||||||
|
| `{rounded.xl}` | 22px | The email capsule input |
|
||||||
|
| `{rounded.full}` | 9999px | Mini count pills, circular icon buttons, avatars |
|
||||||
|
|
||||||
|
The scale is bimodal: editorial imagery and badges stay near-square (2-10px) while every control is a capsule (18-22px, full circles for icons) — buttons announce themselves by shape alone on a flat page.
|
||||||
|
|
||||||
|
### Photography Geometry
|
||||||
|
- Article grids: square-cornered 16:9 and 4:3 crops, packed edge to edge.
|
||||||
|
- Video carousel: portrait cards at `{rounded.md}`.
|
||||||
|
- Thumb rows: small 130×87 stills at `{rounded.md}` beside `{typography.headline-sm}` links.
|
||||||
|
- Opinion: circular `{rounded.full}` author avatars.
|
||||||
|
- Network: tall portrait cards with base scrims, square-cornered.
|
||||||
|
|
||||||
|
## Components
|
||||||
|
|
||||||
|
### Buttons
|
||||||
|
|
||||||
|
**`button-pill-dark`** — Sign up, Subscribe, the LIVE masthead control
|
||||||
|
- Fill `{colors.ink}`, label `{colors.on-primary}` at `{typography.button}`, rounded `{rounded.lg}`, padding 6px 17px. The standing action shape across the news surface.
|
||||||
|
|
||||||
|
**`button-pill-mini`**
|
||||||
|
- The tiny `{colors.ink}` counter pill at `{rounded.full}`, padding 1px 6px — photo-count overlays and compact toggles.
|
||||||
|
|
||||||
|
### Cards & Containers
|
||||||
|
|
||||||
|
**`news-card`**
|
||||||
|
- Square photography above or beside an `{typography.headline-md}`/`{typography.headline-sm}` ink headline with `{typography.caption}` metadata; no fill, no border — position and weight define it.
|
||||||
|
|
||||||
|
**`media-thumb`**
|
||||||
|
- The `{rounded.md}` still used in video carousels and thumb-link rows.
|
||||||
|
|
||||||
|
**`newsletter-card`**
|
||||||
|
- `{colors.soft}` panel, `{typography.headline-md}` title, supporting `{typography.body-sm}`, containing `text-input` and a `button-pill-dark`, padded `{spacing.xl}`.
|
||||||
|
|
||||||
|
**`most-popular-row`** + **`popular-numeral`**
|
||||||
|
- Ranked list rows divided by `{colors.hairline}` with an oversized `{colors.slate}` numeral at `{typography.headline-lg}` beside an `{typography.headline-sm}` headline.
|
||||||
|
|
||||||
|
**`award-card`**
|
||||||
|
- Network awards grid cell: square news photo, `{typography.headline-sm}` title, `{typography.caption}` date, `{colors.graphite}` summary.
|
||||||
|
|
||||||
|
**`leader-card`** + **`leader-band`**
|
||||||
|
- Portrait cards on `{colors.network-canvas}` with base scrims and `{colors.on-primary}` name/role text; senior leaders get full-width gray studio bands with `{typography.network-display}` names over a short white rule.
|
||||||
|
|
||||||
|
### Inputs & Forms
|
||||||
|
|
||||||
|
**`text-input`** — the email capsule
|
||||||
|
- `{colors.canvas}` fill, 1px `{colors.slate}` border, rounded `{rounded.xl}`, padding 0px 15px, `{typography.body}` text.
|
||||||
|
|
||||||
|
**`network-select`**
|
||||||
|
- The network filter control: `{colors.canvas}` fill with a heavy 3px `{colors.select-gold}` border — the system's loudest control edge.
|
||||||
|
|
||||||
|
### Navigation
|
||||||
|
|
||||||
|
**`nav-bar`** — Top Nav (Desktop, news)
|
||||||
|
- White strip: `logo-block` left (the `{colors.primary}` square with the white eagle), black `{typography.body}` links with caret dropdowns, then the LIVE pill, search, and Sign up pill right. A Trending strip runs beneath with a `{typography.label-black}` label and topic links.
|
||||||
|
|
||||||
|
**`network-utility-strip`** + **`network-nav`** + **`network-nav-active`**
|
||||||
|
- The corporate header stacks a `{colors.night-navy}` utility strip (language + social) over a white caps-link nav where the active item switches to `{colors.amber}`; the gold eagle mark sits left.
|
||||||
|
|
||||||
|
**Top Nav (Mobile)**
|
||||||
|
- News nav collapses to hamburger + logo block + LIVE pill.
|
||||||
|
|
||||||
|
**`footer`** / **`network-footer`**
|
||||||
|
- News footer: white, hairline-topped link columns with the eagle mark. Network footer: `{colors.ink}` black with `{colors.mist}` links and the gold network lockup.
|
||||||
|
|
||||||
|
### Signature Components
|
||||||
|
|
||||||
|
**`section-eyebrow-lockup`**
|
||||||
|
- The system's signature: an 8px-wide `{colors.primary}` bar flush against an uppercase `{typography.section-eyebrow}` label in `{colors.slate}`. Every editorial section opens with it.
|
||||||
|
|
||||||
|
**`live-badge`** + **`breaking-band`** + **`live-strip-item`**
|
||||||
|
- The live apparatus: a `{typography.label-black}` LIVE UPDATES label in `{colors.live-red}` (badged at `{rounded.xs}`); a full-width `{colors.live-red}` breaking band with `{colors.on-primary}` headline text; and the minute-by-minute strip — `{colors.live-red}` dots on a `{colors.silver}` rail beside timestamped `{typography.body-sm}` items.
|
||||||
|
|
||||||
|
**`section-rail-teal`** / **`section-rail-red`**
|
||||||
|
- Network section rails: full-height vertical bars in `{colors.rail-teal}` and `{colors.rail-red}` carrying rotated white uppercase labels beside portrait grids.
|
||||||
|
|
||||||
|
**`network-hero-panel`**
|
||||||
|
- The `{colors.indigo}` title panel opening network pages: `{typography.network-display}` white heading over `{typography.body-sm}` copy, set beside full-bleed photography.
|
||||||
|
|
||||||
|
**`logo-block`**
|
||||||
|
- The masthead identity: a solid `{colors.primary}` square carrying the white eagle calligraphy mark beside the wordmark. The single largest orange surface in the system.
|
||||||
|
|
||||||
|
**`avatar-circle`**
|
||||||
|
- Circular `{rounded.full}` author portraits in Opinion lists.
|
||||||
|
|
||||||
|
### Examples (illustrative)
|
||||||
|
|
||||||
|
> Kit-mirror demonstration surfaces. Each `ex-*` entry references brand-native primitives via token syntax so downstream consumers re-skin the same 10 surfaces consistently — these are illustrative compositions stamped with this brand's tokens, not components extracted from the site.
|
||||||
|
|
||||||
|
**`ex-pricing-tier`** — Default Pricing tier card. Re-uses feature-card chrome with brand canvas-soft surface.
|
||||||
|
- Properties: `backgroundColor`, `textColor`, `borderColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-pricing-tier-featured`** — Featured/highlighted tier — polarity-flipped surface (dark fill + light text in light mode, light fill + dark text in dark mode).
|
||||||
|
- Properties: `backgroundColor`, `textColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-product-selector`** — What's Included summary card — re-purposed for SaaS / B2B verticals (NOT a literal product gallery).
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-cart-drawer`** — Subscription summary — re-purposed for SaaS / B2B (line items per add-on, not literal cart).
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`, `item-divider`
|
||||||
|
|
||||||
|
**`ex-app-shell-row`** — Sidebar nav row inside the App Shell example. Active state uses brand primary as the indicator.
|
||||||
|
- Properties: `backgroundColor`, `activeIndicator`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-data-table-cell`** — Default data-table th + td chrome. Header uses mono-caps eyebrow typography; body uses body-sm.
|
||||||
|
- Properties: `headerBackground`, `headerTypography`, `bodyTypography`, `cellPadding`, `rowBorder`
|
||||||
|
|
||||||
|
**`ex-auth-form-card`** — Sign-in / sign-up card. Re-uses feature-card chrome with text-input primitives inside.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-modal-card`** — Modal dialog surface — same chrome as feature-card with elevated shadow.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-empty-state-card`** — Empty-state illustration frame.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`, `captionTypography`
|
||||||
|
|
||||||
|
**`ex-toast`** — Toast notification surface — feature-card shape + medium shadow.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`, `typography`
|
||||||
|
|
||||||
|
|
||||||
|
## Do's and Don'ts
|
||||||
|
|
||||||
|
### Do
|
||||||
|
- Keep `{colors.primary}` to identity duty — the logo block and the eyebrow bar — and let black pills carry every action.
|
||||||
|
- Reserve `{colors.live-red}` strictly for live/breaking state: badges, bands, timeline dots.
|
||||||
|
- Open every editorial section with the `section-eyebrow-lockup` (orange bar + 300-weight uppercase label).
|
||||||
|
- Keep the news surface flat: hairline rules and weight contrast, never shadows or tonal cards.
|
||||||
|
- Run photography dense and square in article grids; save `{rounded.md}` for carousels and thumbs.
|
||||||
|
- On network pages, keep the gilded family — `{colors.gold}` rules, `{colors.amber}` active links — over the dark `{colors.network-canvas}`.
|
||||||
|
- Use the wide Roboto weight spread deliberately: 300 eyebrows, 700 headlines, 900 urgent labels.
|
||||||
|
|
||||||
|
### Don't
|
||||||
|
- Don't fill buttons or links with `{colors.primary}` — orange interaction chrome breaks the marker-pen rule.
|
||||||
|
- Don't use `{colors.live-red}` decoratively; if it isn't live coverage, it isn't red.
|
||||||
|
- Don't add shadows, gradients, or card fills to news grids — density and rules are the aesthetic.
|
||||||
|
- Don't round article photography; square crops are part of the wire-service voice.
|
||||||
|
- Don't mix the network's gold/amber/indigo family into the news surface, or the orange eyebrow system into corporate pages.
|
||||||
|
- Don't soften the eyebrows — they stay uppercase, light-weight, and barred.
|
||||||
|
- Don't introduce new accent hues; the palette's color budget is spent on orange, live-red, and the network's gold and rails.
|
||||||
5
design-md/aljazeera/README.md
Normal file
5
design-md/aljazeera/README.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# Al Jazeera Inspired Design System Analysis
|
||||||
|
|
||||||
|
Design system details have been moved to: https://getdesign.md/aljazeera/design-md
|
||||||
|
|
||||||
|
You can also view previews, dark mode examples, and download options on getdesign.md.
|
||||||
882
design-md/dji/DESIGN.md
Normal file
882
design-md/dji/DESIGN.md
Normal file
@ -0,0 +1,882 @@
|
|||||||
|
---
|
||||||
|
version: alpha
|
||||||
|
name: DJI Analysis
|
||||||
|
description: An analysis of DJI's design language — a product-photography showroom for drones and cameras, where full-bleed studio renders sit in square, gutter-separated tiles on a white canvas, every action is a rounded pill in a single engineering blue, type is a tightly tracked Open Sans set in near-black ink at stepped opacities, small orange tier labels mark product rank, and the store layers 8px option cards, a sticky purchase bar and pale grey panels on top of the same restrained system before closing on a charcoal footer.
|
||||||
|
|
||||||
|
colors:
|
||||||
|
primary: "#0070d5" # DJI Blue — Store pill, Buy Now pills, active selector, announcement link
|
||||||
|
store-blue: "#0060ef" # store Buy Now, Add to Cart label, selected option border, store links
|
||||||
|
store-blue-tint: "#deeafd" # Add to Cart pill fill (store blue at 13% on white)
|
||||||
|
on-primary: "#ffffff" # labels on blue and dark pills, hero text over photography
|
||||||
|
link-blue: "#1890ff" # "Learn More ›" / "Buy Now ›" text links on product cards
|
||||||
|
tier-orange: "#be4e04" # product tier eyebrows ("Flagship", "Advanced")
|
||||||
|
badge-orange: "#fa8c16" # option corner badge
|
||||||
|
error: "#f5222d" # "Out of Stock"
|
||||||
|
canvas: "#ffffff" # page canvas, cards, nav, purchase bar
|
||||||
|
canvas-soft: "#f7f9fa" # feature-link band, store panels, In the Box tiles, store footer
|
||||||
|
panel: "#f6f8f9" # product benefits panel
|
||||||
|
fog: "#f5f5f5" # Explore More band, product-card backdrop, region pill
|
||||||
|
announce: "#fafafa" # announcement bar, category icon strip
|
||||||
|
media-black: "#000000" # store feature media tiles
|
||||||
|
footer: "#272727" # brand-site footer
|
||||||
|
footer-pill: "#383838" # Download App pill on the footer
|
||||||
|
footer-divider: "#414141" # footer rules
|
||||||
|
ink: "#262626" # headings and body (black at 85%)
|
||||||
|
ink-secondary: "#595959" # secondary text, inactive tabs (black at 65%)
|
||||||
|
ink-tertiary: "#8c8c8c" # tile eyebrows (black at 45%)
|
||||||
|
store-ink: "#333333" # store product and option titles
|
||||||
|
graphite: "#3b3e40" # store body copy and section headings
|
||||||
|
nav-ink: "#303233" # nav labels on white
|
||||||
|
slate: "#6c7073" # store footer links, input text, footer field border
|
||||||
|
steel: "#9fa3a6" # spec captions
|
||||||
|
footer-link: "#b3b3b3" # brand footer links (white at 65%)
|
||||||
|
hairline: "#f0f0f0" # tab track rule
|
||||||
|
divider: "#e8e8e8" # FAQ rows, purchase-bar rule
|
||||||
|
card-border: "#d9d9d9" # option card border
|
||||||
|
dashed-border: "#dddddd" # unavailable option card (dashed)
|
||||||
|
input-border: "#d4d7d9" # store email field
|
||||||
|
control-border: "#cccccc" # quantity stepper, checkbox
|
||||||
|
|
||||||
|
typography:
|
||||||
|
display-xl:
|
||||||
|
fontFamily: Open Sans
|
||||||
|
fontSize: 48px
|
||||||
|
fontWeight: 600
|
||||||
|
lineHeight: 1.08
|
||||||
|
letterSpacing: -1.44px
|
||||||
|
display:
|
||||||
|
fontFamily: Open Sans
|
||||||
|
fontSize: 40px
|
||||||
|
fontWeight: 600
|
||||||
|
lineHeight: 1.2
|
||||||
|
letterSpacing: -1.2px
|
||||||
|
spec-value:
|
||||||
|
fontFamily: Open Sans
|
||||||
|
fontSize: 40px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 1.2
|
||||||
|
letterSpacing: -1.2px
|
||||||
|
heading:
|
||||||
|
fontFamily: Open Sans
|
||||||
|
fontSize: 32px
|
||||||
|
fontWeight: 600
|
||||||
|
lineHeight: 1.125
|
||||||
|
letterSpacing: -0.96px
|
||||||
|
card-title-lg:
|
||||||
|
fontFamily: Open Sans
|
||||||
|
fontSize: 32px
|
||||||
|
fontWeight: 500
|
||||||
|
lineHeight: 1.125
|
||||||
|
letterSpacing: 0
|
||||||
|
news-title:
|
||||||
|
fontFamily: Open Sans
|
||||||
|
fontSize: 28px
|
||||||
|
fontWeight: 600
|
||||||
|
lineHeight: 1.14
|
||||||
|
letterSpacing: 0
|
||||||
|
title-md:
|
||||||
|
fontFamily: Open Sans
|
||||||
|
fontSize: 24px
|
||||||
|
fontWeight: 600
|
||||||
|
lineHeight: 1.17
|
||||||
|
letterSpacing: -0.72px
|
||||||
|
product-name:
|
||||||
|
fontFamily: Open Sans
|
||||||
|
fontSize: 24px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 1.17
|
||||||
|
letterSpacing: -0.72px
|
||||||
|
price:
|
||||||
|
fontFamily: Open Sans
|
||||||
|
fontSize: 20px
|
||||||
|
fontWeight: 600
|
||||||
|
lineHeight: 1.2
|
||||||
|
letterSpacing: -0.4px
|
||||||
|
subhead:
|
||||||
|
fontFamily: Open Sans
|
||||||
|
fontSize: 20px
|
||||||
|
fontWeight: 600
|
||||||
|
lineHeight: 1.2
|
||||||
|
letterSpacing: -0.6px
|
||||||
|
feature-title:
|
||||||
|
fontFamily: Open Sans
|
||||||
|
fontSize: 20px
|
||||||
|
fontWeight: 500
|
||||||
|
lineHeight: 1.4
|
||||||
|
letterSpacing: 0
|
||||||
|
option-title:
|
||||||
|
fontFamily: Open Sans
|
||||||
|
fontSize: 18px
|
||||||
|
fontWeight: 600
|
||||||
|
lineHeight: 1.33
|
||||||
|
letterSpacing: -0.36px
|
||||||
|
body:
|
||||||
|
fontFamily: Open Sans
|
||||||
|
fontSize: 16px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 1.5
|
||||||
|
letterSpacing: -0.32px
|
||||||
|
button:
|
||||||
|
fontFamily: Open Sans
|
||||||
|
fontSize: 16px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 1.25
|
||||||
|
letterSpacing: -0.32px
|
||||||
|
faq:
|
||||||
|
fontFamily: Open Sans
|
||||||
|
fontSize: 16px
|
||||||
|
fontWeight: 600
|
||||||
|
lineHeight: 1.5
|
||||||
|
letterSpacing: -0.32px
|
||||||
|
ui:
|
||||||
|
fontFamily: Open Sans
|
||||||
|
fontSize: 14px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 1.43
|
||||||
|
letterSpacing: -0.28px
|
||||||
|
nav:
|
||||||
|
fontFamily: Open Sans
|
||||||
|
fontSize: 14px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 1.0
|
||||||
|
letterSpacing: -0.28px
|
||||||
|
caption:
|
||||||
|
fontFamily: Open Sans
|
||||||
|
fontSize: 12px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 1.33
|
||||||
|
letterSpacing: -0.24px
|
||||||
|
badge:
|
||||||
|
fontFamily: Open Sans
|
||||||
|
fontSize: 12px
|
||||||
|
fontWeight: 600
|
||||||
|
lineHeight: 1.33
|
||||||
|
letterSpacing: -0.24px
|
||||||
|
footer-heading:
|
||||||
|
fontFamily: Open Sans
|
||||||
|
fontSize: 12px
|
||||||
|
fontWeight: 500
|
||||||
|
lineHeight: 2.0
|
||||||
|
letterSpacing: 0
|
||||||
|
micro:
|
||||||
|
fontFamily: Open Sans
|
||||||
|
fontSize: 10px
|
||||||
|
fontWeight: 600
|
||||||
|
lineHeight: 1.8
|
||||||
|
letterSpacing: -0.2px
|
||||||
|
|
||||||
|
rounded:
|
||||||
|
none: 0px
|
||||||
|
xs: 4px
|
||||||
|
sm: 8px
|
||||||
|
xl: 60px
|
||||||
|
xxl: 64px
|
||||||
|
pill: 100px
|
||||||
|
full: 9999px
|
||||||
|
|
||||||
|
spacing:
|
||||||
|
xxs: 4px
|
||||||
|
xs: 8px
|
||||||
|
sm: 12px
|
||||||
|
md: 16px
|
||||||
|
lg: 20px
|
||||||
|
xl: 24px
|
||||||
|
xxl: 32px
|
||||||
|
xxxl: 40px
|
||||||
|
huge: 48px
|
||||||
|
section: 64px
|
||||||
|
|
||||||
|
components:
|
||||||
|
announcement-bar:
|
||||||
|
backgroundColor: "{colors.announce}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
nav-bar-overlay:
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.nav}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
height: 64px
|
||||||
|
nav-bar:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.nav-ink}"
|
||||||
|
typography: "{typography.nav}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
height: 64px
|
||||||
|
button-store-pill:
|
||||||
|
backgroundColor: "{colors.primary}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.nav}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
padding: "8px 16px 8px 34px"
|
||||||
|
height: 32px
|
||||||
|
region-pill:
|
||||||
|
backgroundColor: "{colors.fog}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.nav}"
|
||||||
|
rounded: "{rounded.pill}"
|
||||||
|
padding: "0px 12px"
|
||||||
|
height: 32px
|
||||||
|
button-hero-ghost:
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
borderColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.xxl}"
|
||||||
|
padding: "5px 16px"
|
||||||
|
height: 32px
|
||||||
|
button-primary:
|
||||||
|
backgroundColor: "{colors.primary}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.button}"
|
||||||
|
rounded: "{rounded.xl}"
|
||||||
|
padding: "0px 16px"
|
||||||
|
height: 40px
|
||||||
|
button-outline:
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
borderColor: "{colors.ink}"
|
||||||
|
typography: "{typography.button}"
|
||||||
|
rounded: "{rounded.xl}"
|
||||||
|
padding: "0px 15px"
|
||||||
|
height: 40px
|
||||||
|
button-outline-lg:
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
borderColor: "{colors.ink}"
|
||||||
|
typography: "{typography.button}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
padding: "14px 16px"
|
||||||
|
height: 48px
|
||||||
|
button-store-buy:
|
||||||
|
backgroundColor: "{colors.store-blue}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.button}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
padding: "14px 32px"
|
||||||
|
height: 48px
|
||||||
|
button-store-cart:
|
||||||
|
backgroundColor: "{colors.store-blue-tint}"
|
||||||
|
textColor: "{colors.store-blue}"
|
||||||
|
typography: "{typography.button}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
padding: "14px 32px"
|
||||||
|
height: 48px
|
||||||
|
button-dark-pill:
|
||||||
|
backgroundColor: "{colors.ink}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
padding: "6px 12px"
|
||||||
|
height: 32px
|
||||||
|
button-download-app:
|
||||||
|
backgroundColor: "{colors.footer-pill}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.button}"
|
||||||
|
rounded: "{rounded.pill}"
|
||||||
|
padding: "10px 16px"
|
||||||
|
height: 40px
|
||||||
|
compare-options-button:
|
||||||
|
backgroundColor: "{colors.canvas-soft}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.sm}"
|
||||||
|
padding: "24px"
|
||||||
|
text-link:
|
||||||
|
textColor: "{colors.primary}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
text-link-store:
|
||||||
|
textColor: "{colors.store-blue}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
card-text-link:
|
||||||
|
textColor: "{colors.link-blue}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
product-tile:
|
||||||
|
backgroundColor: "{colors.fog}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
tile-eyebrow:
|
||||||
|
textColor: "{colors.ink-tertiary}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
tier-eyebrow:
|
||||||
|
textColor: "{colors.tier-orange}"
|
||||||
|
typography: "{typography.caption}"
|
||||||
|
product-card:
|
||||||
|
backgroundColor: "{colors.fog}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.display}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
category-strip:
|
||||||
|
backgroundColor: "{colors.announce}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.caption}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
height: 124px
|
||||||
|
comparison-tabs:
|
||||||
|
textColor: "{colors.ink-secondary}"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
padding: "14px 0px"
|
||||||
|
comparison-tab-active:
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
borderColor: "{colors.ink}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
spec-column:
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.spec-value}"
|
||||||
|
spec-caption:
|
||||||
|
textColor: "{colors.steel}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
explore-card:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.title-md}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
field-card:
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.card-title-lg}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
news-card:
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.news-title}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
feature-link-band:
|
||||||
|
backgroundColor: "{colors.canvas-soft}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.feature-title}"
|
||||||
|
padding: "64px 0px"
|
||||||
|
store-nav:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
care-tag:
|
||||||
|
backgroundColor: "{colors.store-blue}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.micro}"
|
||||||
|
rounded: "{rounded.xs}"
|
||||||
|
padding: "0px 4px"
|
||||||
|
benefits-panel:
|
||||||
|
backgroundColor: "{colors.panel}"
|
||||||
|
textColor: "{colors.graphite}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.sm}"
|
||||||
|
padding: "16px"
|
||||||
|
option-card:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.store-ink}"
|
||||||
|
borderColor: "{colors.card-border}"
|
||||||
|
typography: "{typography.option-title}"
|
||||||
|
rounded: "{rounded.sm}"
|
||||||
|
padding: "24px"
|
||||||
|
option-card-active:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.store-ink}"
|
||||||
|
borderColor: "{colors.store-blue}"
|
||||||
|
typography: "{typography.option-title}"
|
||||||
|
rounded: "{rounded.sm}"
|
||||||
|
padding: "23px"
|
||||||
|
option-card-disabled:
|
||||||
|
textColor: "{colors.store-ink}"
|
||||||
|
borderColor: "{colors.dashed-border}"
|
||||||
|
typography: "{typography.option-title}"
|
||||||
|
rounded: "{rounded.sm}"
|
||||||
|
padding: "24px"
|
||||||
|
option-badge:
|
||||||
|
backgroundColor: "{colors.badge-orange}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.badge}"
|
||||||
|
padding: "2px 8px"
|
||||||
|
media-toggle:
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.pill}"
|
||||||
|
padding: "8px 16px"
|
||||||
|
height: 32px
|
||||||
|
media-toggle-active:
|
||||||
|
backgroundColor: "{colors.ink}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.pill}"
|
||||||
|
padding: "8px 16px"
|
||||||
|
height: 32px
|
||||||
|
quantity-stepper:
|
||||||
|
textColor: "{colors.store-ink}"
|
||||||
|
borderColor: "{colors.control-border}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
purchase-bar:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
borderColor: "{colors.divider}"
|
||||||
|
typography: "{typography.price}"
|
||||||
|
padding: "16px 0px"
|
||||||
|
region-banner:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.graphite}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
padding: "20px 12px"
|
||||||
|
media-tile:
|
||||||
|
backgroundColor: "{colors.media-black}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
in-box-tile:
|
||||||
|
backgroundColor: "{colors.canvas-soft}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
faq-row:
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
borderColor: "{colors.divider}"
|
||||||
|
typography: "{typography.faq}"
|
||||||
|
footnote-panel:
|
||||||
|
backgroundColor: "{colors.canvas-soft}"
|
||||||
|
textColor: "{colors.ink-secondary}"
|
||||||
|
typography: "{typography.caption}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
floating-circle-button:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
size: 40px
|
||||||
|
newsletter-input:
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
borderColor: "{colors.slate}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
padding: "4px 0px 4px 12px"
|
||||||
|
height: 32px
|
||||||
|
footer:
|
||||||
|
backgroundColor: "{colors.footer}"
|
||||||
|
textColor: "{colors.footer-link}"
|
||||||
|
borderColor: "{colors.footer-divider}"
|
||||||
|
typography: "{typography.footer-heading}"
|
||||||
|
padding: "32px 16px"
|
||||||
|
footer-store:
|
||||||
|
backgroundColor: "{colors.canvas-soft}"
|
||||||
|
textColor: "{colors.slate}"
|
||||||
|
typography: "{typography.caption}"
|
||||||
|
|
||||||
|
# ─── Examples (illustrative) — kit-mirror surfaces composed from the primitives above ───
|
||||||
|
ex-pricing-tier:
|
||||||
|
description: "Default Pricing tier card. Re-uses feature-card chrome with brand canvas-soft surface."
|
||||||
|
backgroundColor: "{colors.canvas-soft}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
borderColor: "{colors.card-border}"
|
||||||
|
rounded: "{rounded.sm}"
|
||||||
|
padding: "{spacing.xl}"
|
||||||
|
ex-pricing-tier-featured:
|
||||||
|
description: "Featured/highlighted tier — polarity-flipped surface (dark fill + light text in light mode, light fill + dark text in dark mode)."
|
||||||
|
backgroundColor: "{colors.ink}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
rounded: "{rounded.sm}"
|
||||||
|
padding: "{spacing.xl}"
|
||||||
|
ex-product-selector:
|
||||||
|
description: "Color/size picker chrome — fashion / DTC variant selector."
|
||||||
|
backgroundColor: "{colors.canvas-soft}"
|
||||||
|
rounded: "{rounded.sm}"
|
||||||
|
padding: "{spacing.md}"
|
||||||
|
ex-cart-drawer:
|
||||||
|
description: "Shopping cart drawer — DTC / fashion brand actual cart chrome."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
rounded: "{rounded.sm}"
|
||||||
|
padding: "{spacing.md}"
|
||||||
|
item-divider: "{colors.divider}"
|
||||||
|
ex-app-shell-row:
|
||||||
|
description: "Sidebar nav row inside the App Shell example. Active state uses brand primary as the indicator."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
activeIndicator: "{colors.primary}"
|
||||||
|
rounded: "{rounded.sm}"
|
||||||
|
padding: "{spacing.sm} {spacing.md}"
|
||||||
|
ex-data-table-cell:
|
||||||
|
description: "Default data-table th + td chrome. Header uses mono-caps eyebrow typography; body uses body-sm."
|
||||||
|
headerBackground: "{colors.canvas-soft}"
|
||||||
|
headerTypography: "{typography.caption}"
|
||||||
|
bodyTypography: "{typography.body}"
|
||||||
|
cellPadding: "{spacing.sm} {spacing.md}"
|
||||||
|
rowBorder: "{colors.divider}"
|
||||||
|
ex-auth-form-card:
|
||||||
|
description: "Sign-in / sign-up card. Re-uses feature-card chrome with text-input primitives inside."
|
||||||
|
backgroundColor: "{colors.canvas-soft}"
|
||||||
|
rounded: "{rounded.sm}"
|
||||||
|
padding: "{spacing.xl}"
|
||||||
|
ex-modal-card:
|
||||||
|
description: "Modal dialog surface — same chrome as feature-card with elevated shadow."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
rounded: "{rounded.sm}"
|
||||||
|
padding: "{spacing.xl}"
|
||||||
|
ex-empty-state-card:
|
||||||
|
description: "Empty-state illustration frame."
|
||||||
|
backgroundColor: "{colors.canvas-soft}"
|
||||||
|
rounded: "{rounded.sm}"
|
||||||
|
padding: "{spacing.huge}"
|
||||||
|
captionTypography: "{typography.body}"
|
||||||
|
ex-toast:
|
||||||
|
description: "Toast notification surface — feature-card shape + medium shadow."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
rounded: "{rounded.sm}"
|
||||||
|
padding: "{spacing.sm} {spacing.md}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
|
DJI's site works like a brightly lit product showroom. The page is a white canvas (`{colors.canvas}`) tiled edge to edge with studio photography: a full-height hero carousel of a single hero product over dark or sky backdrops, then a two-up grid of square-cornered product tiles separated by thin white gutters, each tile a soft grey render of a drone, gimbal or microphone with its name set as large, light-weight wordmark-style type above it. Text is never pure black; it is Open Sans in a near-black ink (`{colors.ink}`) at stepped opacities, tracked slightly tight so headings read compact and engineered.
|
||||||
|
|
||||||
|
Colour is used almost only for action. Every interactive pill (the nav Store button, "Buy Now", model selectors, "Where to Buy") is filled with a single engineering blue (`{colors.primary}`), while secondary actions are thin black-outlined pills. The store sharpens the same idea with a slightly brighter blue (`{colors.store-blue}`) and a pale tinted companion for "Add to Cart". A small burnt-orange label (`{colors.tier-orange}`) marks product rank such as "Flagship" or "Advanced"; it is the only warm accent on the brand site.
|
||||||
|
|
||||||
|
Pages share a clear rhythm: an announcement bar and white nav, photographic tiles, a centred section heading, comparison or editorial grids, a pale grey feature-link band, and a charcoal footer (`{colors.footer}`). The store keeps that skeleton but adds commerce furniture: 8px option cards with a 2px blue selection ring, an orange corner badge, a sticky white purchase bar, square black media tiles for feature storytelling, and a light grey footer.
|
||||||
|
|
||||||
|
**Key Characteristics:**
|
||||||
|
- Photography-first: full-bleed hero carousel and square, gutter-separated product tiles on `{colors.canvas}`; UI chrome stays out of the way.
|
||||||
|
- One action colour: `{colors.primary}` on the brand site and `{colors.store-blue}` in the store; every CTA is a pill (`{rounded.xl}`, `{rounded.xxl}`, `{rounded.full}`).
|
||||||
|
- Secondary actions are 1px `{colors.ink}` outline pills (`button-outline`); hero CTAs are white ghost pills over photography (`button-hero-ghost`).
|
||||||
|
- Open Sans throughout, tracked tight (about −0.02em for body, −0.03em for headings), with weight 600 for headings and 400 for everything else.
|
||||||
|
- Ink at stepped opacities: `{colors.ink}`, `{colors.ink-secondary}`, `{colors.ink-tertiary}`.
|
||||||
|
- Small `{colors.tier-orange}` eyebrows mark product rank; orange never fills a button.
|
||||||
|
- Page rhythm: announcement bar, nav, photo hero, product tiles, centred heading with grid, `{colors.canvas-soft}` feature-link band, `{colors.footer}` footer.
|
||||||
|
|
||||||
|
## Colors
|
||||||
|
|
||||||
|
Source pages: dji.com home, the camera-drones category page, and a store product page.
|
||||||
|
|
||||||
|
### Brand & Accent
|
||||||
|
- **DJI Blue** (`{colors.primary}` — #0070d5): the brand-site action colour: nav Store pill, "Buy Now" pills, the active model selector, "Where to Buy" pills and the announcement-bar link.
|
||||||
|
- **Store Blue** (`{colors.store-blue}` — #0060ef): the store's action colour: Buy Now, Add to Cart label, the selected option ring, the DJI Care tag and inline store links.
|
||||||
|
- **Store Blue Tint** (`{colors.store-blue-tint}` — #deeafd): the pale fill of Add to Cart.
|
||||||
|
- **On Blue** (`{colors.on-primary}`): white labels on blue and dark pills, and hero text over photography.
|
||||||
|
- **Link Blue** (`{colors.link-blue}` — #1890ff): "Learn More ›" and "Buy Now ›" text links on product and explore cards.
|
||||||
|
- **Tier Orange** (`{colors.tier-orange}` — #be4e04): small eyebrows that mark product rank.
|
||||||
|
- **Badge Orange** (`{colors.badge-orange}` — #fa8c16): the corner badge on a highlighted store option.
|
||||||
|
|
||||||
|
### Surface
|
||||||
|
- **Canvas** (`{colors.canvas}`): page background, nav, cards, purchase bar.
|
||||||
|
- **Canvas Soft** (`{colors.canvas-soft}` — #f7f9fa): feature-link band, store panels, In the Box tiles, footnote panel and the store footer.
|
||||||
|
- **Panel** (`{colors.panel}` — #f6f8f9): the product benefits panel.
|
||||||
|
- **Fog** (`{colors.fog}` — #f5f5f5): Explore More band, product-card backdrop and the Other Regions pill.
|
||||||
|
- **Announce** (`{colors.announce}` — #fafafa): announcement bar and the category icon strip.
|
||||||
|
- **Media Black** (`{colors.media-black}`): store feature media tiles.
|
||||||
|
- **Footer** (`{colors.footer}` — #272727), with **Footer Pill** (`{colors.footer-pill}` — #383838) and **Footer Divider** (`{colors.footer-divider}` — #414141).
|
||||||
|
- **Lines**: `{colors.hairline}` (#f0f0f0) tab track, `{colors.divider}` (#e8e8e8) FAQ and purchase-bar rules, `{colors.card-border}` (#d9d9d9) option cards, `{colors.dashed-border}` (#dddddd) unavailable option, `{colors.input-border}` (#d4d7d9) store email field, `{colors.control-border}` (#cccccc) steppers and checkboxes.
|
||||||
|
|
||||||
|
### Text
|
||||||
|
- **Ink** (`{colors.ink}` — #262626): headings and body on white.
|
||||||
|
- **Ink Secondary** (`{colors.ink-secondary}` — #595959): secondary copy, inactive tabs.
|
||||||
|
- **Ink Tertiary** (`{colors.ink-tertiary}` — #8c8c8c): product-tile eyebrows.
|
||||||
|
- **Store Ink** (`{colors.store-ink}` — #333333): store product and option titles.
|
||||||
|
- **Graphite** (`{colors.graphite}` — #3b3e40): store body copy and section headings.
|
||||||
|
- **Nav Ink** (`{colors.nav-ink}` — #303233): nav labels on the white header.
|
||||||
|
- **Slate** (`{colors.slate}` — #6c7073): store footer links and the dark footer's field border.
|
||||||
|
- **Steel** (`{colors.steel}` — #9fa3a6): spec captions in the comparison table.
|
||||||
|
- **Footer Link** (`{colors.footer-link}` — #b3b3b3): links on the charcoal footer.
|
||||||
|
|
||||||
|
### Semantic
|
||||||
|
- **Error** (`{colors.error}` — #f5222d): "Out of Stock" on unavailable store options.
|
||||||
|
|
||||||
|
## Typography
|
||||||
|
|
||||||
|
### Font Family
|
||||||
|
**Open Sans** is the single family across the brand site and the store. Hierarchy comes from size and a narrow weight range (400 for body, links and buttons; 500 for feature titles; 600 for headings and store titles). Letter-spacing is consistently negative: about −0.02em at body sizes and −0.03em at heading sizes, which gives the type a compact, technical feel. Large product names on the photo tiles appear as logotype artwork and are not part of the type scale.
|
||||||
|
|
||||||
|
### Hierarchy
|
||||||
|
|
||||||
|
| Token | Size | Weight | Line Height | Letter Spacing | Use |
|
||||||
|
|---|---|---|---|---|---|
|
||||||
|
| `{typography.display-xl}` | 48px | 600 | 1.08 | −1.44px | Category page title ("Camera Drones") |
|
||||||
|
| `{typography.display}` | 40px | 600 | 1.2 | −1.2px | Section headings ("Popular Drone Comparisons", "Explore More") |
|
||||||
|
| `{typography.spec-value}` | 40px | 400 | 1.2 | −1.2px | Comparison spec values ("1063 g", "100 MP") |
|
||||||
|
| `{typography.heading}` | 32px | 600 | 1.125 | −0.96px | Store product title, store and home section headings |
|
||||||
|
| `{typography.card-title-lg}` | 32px | 500 | 1.125 | 0 | Field-card titles over photography |
|
||||||
|
| `{typography.news-title}` | 28px | 600 | 1.14 | 0 | Editorial/news card titles |
|
||||||
|
| `{typography.title-md}` | 24px | 600 | 1.17 | −0.72px | Explore card titles |
|
||||||
|
| `{typography.product-name}` | 24px | 400 | 1.17 | −0.72px | Model names in the comparison table |
|
||||||
|
| `{typography.price}` | 20px | 600 | 1.2 | −0.4px | Purchase-bar price |
|
||||||
|
| `{typography.subhead}` | 20px | 600 | 1.2 | −0.6px | Store sub-sections ("Select Option") |
|
||||||
|
| `{typography.feature-title}` | 20px | 500 | 1.4 | 0 | Feature-link band titles |
|
||||||
|
| `{typography.option-title}` | 18px | 600 | 1.33 | −0.36px | Store option titles |
|
||||||
|
| `{typography.body}` | 16px | 400 | 1.5 | −0.32px | Body copy, card text links |
|
||||||
|
| `{typography.button}` | 16px | 400 | 1.25 | −0.32px | Pill button labels |
|
||||||
|
| `{typography.faq}` | 16px | 600 | 1.5 | −0.32px | FAQ questions |
|
||||||
|
| `{typography.ui}` | 14px | 400 | 1.43 | −0.28px | Tabs, store lists, hero ghost labels, inline links |
|
||||||
|
| `{typography.nav}` | 14px | 400 | 1.0 | −0.28px | Top navigation and nav pills |
|
||||||
|
| `{typography.caption}` | 12px | 400 | 1.33 | −0.24px | Tier eyebrows, category labels, footnotes |
|
||||||
|
| `{typography.badge}` | 12px | 600 | 1.33 | −0.24px | Option corner badge |
|
||||||
|
| `{typography.footer-heading}` | 12px | 500 | 2.0 | 0 | Footer column headings |
|
||||||
|
| `{typography.micro}` | 10px | 600 | 1.8 | −0.2px | DJI Care tag |
|
||||||
|
|
||||||
|
### Principles
|
||||||
|
- Tight tracking at every size makes long product names and spec values sit as compact blocks.
|
||||||
|
- Weight is used sparingly: headings at 600, everything functional at 400, so blue pills and photography carry the emphasis.
|
||||||
|
- Spec values use the display size at regular weight, letting numbers like "1063 g" read as large, calm data rather than shouting headlines.
|
||||||
|
|
||||||
|
### Note on Font Substitutes
|
||||||
|
Open Sans is open source on Google Fonts. Keep the negative tracking (−0.02em to −0.03em); without it the type looks noticeably looser than the brand.
|
||||||
|
|
||||||
|
## Layout
|
||||||
|
|
||||||
|
### Spacing System
|
||||||
|
- **Base unit**: 4px, mostly in 8px steps.
|
||||||
|
- **Tokens (front matter)**: `{spacing.xxs}` 4px · `{spacing.xs}` 8px · `{spacing.sm}` 12px · `{spacing.md}` 16px · `{spacing.lg}` 20px · `{spacing.xl}` 24px · `{spacing.xxl}` 32px · `{spacing.xxxl}` 40px · `{spacing.huge}` 48px · `{spacing.section}` 64px.
|
||||||
|
- Product tiles are separated by `{spacing.md}` white gutters; option cards pad `{spacing.xl}`; the feature-link band pads `{spacing.section}` vertically; the footer pads `{spacing.xxl}` by `{spacing.md}`.
|
||||||
|
|
||||||
|
### Grid & Container
|
||||||
|
- Home and category tiles run full width minus a small outer gutter, two-up below the hero; editorial and field cards run two-up and three-up.
|
||||||
|
- The comparison table is four columns; explore and support cards are two-up inside a 1200px container.
|
||||||
|
- The store product page splits into a large photo gallery on the left and a 500px purchase column on the right.
|
||||||
|
|
||||||
|
### Whitespace Philosophy
|
||||||
|
Photography fills the tiles; whitespace appears as consistent gutters and generous gaps above centred section headings. Inside the store, whitespace groups options into cards and panels rather than separating long sections.
|
||||||
|
|
||||||
|
### Responsive Strategy
|
||||||
|
|
||||||
|
#### Breakpoints
|
||||||
|
| Name | Width | Key Changes |
|
||||||
|
|---|---|---|
|
||||||
|
| Wide | ≥ 1200px | Full desktop grids, 1200px store container |
|
||||||
|
| Desktop | 1024–1199px | Store gallery and purchase column tighten |
|
||||||
|
| Tablet | 769–1023px | Nav condenses; two-up tiles remain |
|
||||||
|
| Mobile | ≤ 768px | Nav collapses to a menu; tiles, comparison columns and the store split stack to one column |
|
||||||
|
| Small | ≤ 456px | Compact type and tile heights |
|
||||||
|
|
||||||
|
#### Touch Targets
|
||||||
|
Store CTAs (`button-store-buy`, `button-store-cart`) and `button-outline-lg` are 48px tall; `button-primary` and `button-outline` are 40px; nav pills are 32px and rely on generous horizontal padding. FAQ rows are about 49px tall.
|
||||||
|
|
||||||
|
#### Collapsing Strategy
|
||||||
|
- The nav collapses to a menu; the Store pill stays visible.
|
||||||
|
- Two-up product tiles and field cards stack to one column; the comparison table becomes horizontally scrollable columns.
|
||||||
|
- The store gallery stacks above the purchase column; the sticky `purchase-bar` keeps price and both CTAs reachable.
|
||||||
|
|
||||||
|
#### Image Behavior
|
||||||
|
Hero images are full-bleed carousels with slide titles at the lower left; tile renders are centred studio cut-outs on soft grey; editorial cards use cropped landscape photography. Images load lazily as tiles scroll into view.
|
||||||
|
|
||||||
|
## Elevation & Depth
|
||||||
|
|
||||||
|
| Level | Treatment | Use |
|
||||||
|
|---|---|---|
|
||||||
|
| Flat | No shadow | Tiles, cards, bands, footer |
|
||||||
|
| Outlined | 1px border (`{colors.card-border}`, `{colors.divider}`, ink outline pills) | Option cards, FAQ rows, outline buttons |
|
||||||
|
| Selected | 2px `{colors.store-blue}` ring | Selected store option |
|
||||||
|
| Floating | Soft shadow, 0 8px 16px at 10% black | Floating circular buttons (support, back to top), the sticky purchase bar |
|
||||||
|
|
||||||
|
Elevation is rare. The site relies on photography and flat grey bands for depth, and keeps shadows for elements that genuinely float over content.
|
||||||
|
|
||||||
|
### Decorative Depth
|
||||||
|
Depth comes from the product renders themselves: soft-lit studio shots with gentle floor shadows on grey gradients, and dramatic dark hero backdrops. Store feature tiles use pure black (`{colors.media-black}`) behind product renders and lifestyle photography.
|
||||||
|
|
||||||
|
## Shapes
|
||||||
|
|
||||||
|
### Border Radius Scale
|
||||||
|
|
||||||
|
| Token | Value | Use |
|
||||||
|
|---|---|---|
|
||||||
|
| `{rounded.none}` | 0px | Photo tiles, cards, media tiles, bands |
|
||||||
|
| `{rounded.xs}` | 4px | DJI Care tag |
|
||||||
|
| `{rounded.sm}` | 8px | Store option cards, benefits panel, Compare Options |
|
||||||
|
| `{rounded.xl}` | 60px | Product-card Buy Now / Learn More pills |
|
||||||
|
| `{rounded.xxl}` | 64px | Hero ghost pills |
|
||||||
|
| `{rounded.pill}` | 100px | Region pill, media toggle, Download App |
|
||||||
|
| `{rounded.full}` | 9999px | Store pill, store CTAs, large outline pill, dark pill |
|
||||||
|
|
||||||
|
Floating support and back-to-top buttons are perfect circles. The orange option badge rounds only its bottom-left corner (8px), and email fields round only their left corners (4px) where they meet a square submit button.
|
||||||
|
|
||||||
|
### Photography Geometry
|
||||||
|
Product tiles are square-cornered and close to 1:1 on the home page; category cards are similar large squares on a grey backdrop. Field and editorial cards use landscape crops. Store galleries use a large landscape frame with thumbnail strips; In the Box tiles are square.
|
||||||
|
|
||||||
|
## Components
|
||||||
|
|
||||||
|
> **No hover states documented.** Each component below documents its resting state only.
|
||||||
|
|
||||||
|
### Navigation
|
||||||
|
|
||||||
|
**`announcement-bar`** — slim strip above the nav
|
||||||
|
- Background `{colors.announce}`, text `{colors.ink}` in `{typography.ui}`, a `text-link` ("Shop Now ›") and a close icon.
|
||||||
|
|
||||||
|
**`nav-bar-overlay`** — the home nav over the hero photo
|
||||||
|
- Transparent, white `{typography.nav}` labels, 64px tall; logo left, category links, then search, account, `region-pill` and `button-store-pill` at right.
|
||||||
|
|
||||||
|
**`nav-bar`** — the white nav on inner pages
|
||||||
|
- Background `{colors.canvas}`, labels in `{colors.nav-ink}` `{typography.nav}`, 64px tall.
|
||||||
|
|
||||||
|
**`button-store-pill`** — the blue Store button in the nav
|
||||||
|
- Background `{colors.primary}`, text `{colors.on-primary}` in `{typography.nav}`, `{rounded.full}`, padding 8px 16px 8px 34px (room for a bag icon), 32px tall.
|
||||||
|
|
||||||
|
**`region-pill`** — "Other Regions" selector
|
||||||
|
- Background `{colors.fog}`, text `{colors.ink}` in `{typography.nav}`, `{rounded.pill}`, padding 0 `{spacing.sm}`, 32px tall, with a globe icon.
|
||||||
|
|
||||||
|
**`store-nav`** — store header
|
||||||
|
- Background `{colors.canvas}`, `{typography.ui}` category links with a 2px indicator, a `care-tag` beside "Services", and search, cart and account icons.
|
||||||
|
|
||||||
|
**`category-strip`** — icon row under the category-page nav
|
||||||
|
- Background `{colors.announce}`, 124px tall, product icons over `{typography.caption}` labels.
|
||||||
|
|
||||||
|
### Buttons
|
||||||
|
|
||||||
|
**`button-primary`** — blue pill ("Buy Now", active model selector, "Where to Buy")
|
||||||
|
- Background `{colors.primary}`, text `{colors.on-primary}` in `{typography.button}`, `{rounded.xl}`, padding 0 `{spacing.md}`, 40px tall.
|
||||||
|
|
||||||
|
**`button-outline`** — outline pill ("Learn More", inactive model selector)
|
||||||
|
- Transparent, 1px `{colors.ink}` border, text `{colors.ink}` in `{typography.button}`, `{rounded.xl}`, padding 0 15px, 40px tall.
|
||||||
|
|
||||||
|
**`button-outline-lg`** — larger outline pill ("Compare DJI Camera Drones ›")
|
||||||
|
- 1px `{colors.ink}` border, `{typography.button}`, `{rounded.full}`, padding 14px `{spacing.md}`, 48px tall.
|
||||||
|
|
||||||
|
**`button-hero-ghost`** — white ghost pill over hero photography ("Learn More ›", "Buy Now ›")
|
||||||
|
- Transparent, 1px `{colors.on-primary}` border and text, `{typography.ui}`, `{rounded.xxl}`, padding 5px `{spacing.md}`, 32px tall.
|
||||||
|
|
||||||
|
**`button-store-buy`** — store Buy Now
|
||||||
|
- Background `{colors.store-blue}`, text `{colors.on-primary}` in `{typography.button}`, `{rounded.full}`, padding 14px `{spacing.xxl}`, 48px tall.
|
||||||
|
|
||||||
|
**`button-store-cart`** — store Add to Cart
|
||||||
|
- Background `{colors.store-blue-tint}`, text `{colors.store-blue}`, same shape as `button-store-buy`. The pair always sits side by side, cart first.
|
||||||
|
|
||||||
|
**`button-dark-pill`** — compact dark pill ("switch now")
|
||||||
|
- Background `{colors.ink}`, text `{colors.on-primary}` in `{typography.ui}`, `{rounded.full}`, padding 6px `{spacing.sm}`, 32px tall.
|
||||||
|
|
||||||
|
**`button-download-app`** — footer pill ("Download App")
|
||||||
|
- Background `{colors.footer-pill}`, text `{colors.on-primary}` in `{typography.button}`, `{rounded.pill}`, padding 10px `{spacing.md}`, 40px tall.
|
||||||
|
|
||||||
|
**`compare-options-button`** — full-width store panel button ("Compare Options")
|
||||||
|
- Background `{colors.canvas-soft}`, text `{colors.ink}` in `{typography.ui}`, `{rounded.sm}`, padding `{spacing.xl}`, with a blue circular chevron at right.
|
||||||
|
|
||||||
|
**`text-link`**, **`text-link-store`**, **`card-text-link`** — inline links
|
||||||
|
- `{colors.primary}` on the brand site, `{colors.store-blue}` in the store, and `{colors.link-blue}` "Learn More ›" on product and explore cards; all followed by a small chevron.
|
||||||
|
|
||||||
|
### Cards & Containers
|
||||||
|
|
||||||
|
**`product-tile`** — home and category photo tile
|
||||||
|
- `{colors.fog}`-toned studio render at `{rounded.none}`, separated by `{spacing.md}` white gutters. A centred `tile-eyebrow`, a logotype product name, a short tagline and two text links or pills sit above the render.
|
||||||
|
|
||||||
|
**`tile-eyebrow`** — tile kicker ("Beginner-Friendly Camera Drones")
|
||||||
|
- `{colors.ink-tertiary}` in `{typography.ui}`.
|
||||||
|
|
||||||
|
**`tier-eyebrow`** — product rank label ("Flagship", "Triple-Lens Flagship Camera Drone")
|
||||||
|
- `{colors.tier-orange}` in `{typography.caption}`.
|
||||||
|
|
||||||
|
**`product-card`** — category-page product card
|
||||||
|
- `{colors.fog}` backdrop, square corners, `tier-eyebrow` above the logotype name, a tagline, then `button-primary` + `button-outline` side by side over the render.
|
||||||
|
|
||||||
|
**`comparison-tabs`** + **`comparison-tab-active`** — table switcher ("Aerial Imaging", "Immersive Flight")
|
||||||
|
- Inactive tabs in `{colors.ink-secondary}`, active tab in `{colors.ink}` with an ink underline, on a 1px `{colors.hairline}` track, `{typography.ui}`.
|
||||||
|
|
||||||
|
**`spec-column`** + **`spec-caption`** — comparison column
|
||||||
|
- Product render, `tier-eyebrow`, model name in `{typography.product-name}`, a `button-primary` "Where to Buy" and a `card-text-link`, then stacked spec rows: icon, value in `{typography.spec-value}` and caption in `{colors.steel}`.
|
||||||
|
|
||||||
|
**`explore-card`** — white card on the `{colors.fog}` band
|
||||||
|
- Background `{colors.canvas}`, square corners, photo on top, centred title in `{typography.title-md}`, one-line description and a `card-text-link`.
|
||||||
|
|
||||||
|
**`field-card`** — photo card with overlaid title ("Video Production", "Enterprise")
|
||||||
|
- Full photo, white title in `{typography.card-title-lg}`, subtitle and "Learn More ›" in white, square corners.
|
||||||
|
|
||||||
|
**`news-card`** — editorial photo card
|
||||||
|
- Light photo with a `tile-eyebrow`, title in `{typography.news-title}` and a text link, square corners.
|
||||||
|
|
||||||
|
**`feature-link-band`** — "Where to Buy / Support / Fly Safe" band
|
||||||
|
- Background `{colors.canvas-soft}`, padding `{spacing.section}` vertical, three centred columns of outline icon, title in `{typography.feature-title}` and a link.
|
||||||
|
|
||||||
|
**`media-tile`** — store feature tile
|
||||||
|
- Background `{colors.media-black}`, white heading and paragraph over product renders or lifestyle photography, square corners, arranged in mixed one- and two-column rows.
|
||||||
|
|
||||||
|
**`in-box-tile`** — "In the Box" item
|
||||||
|
- Background `{colors.canvas-soft}`, square product cut-out, name below in `{typography.ui}` and a "× 1" count.
|
||||||
|
|
||||||
|
**`footnote-panel`** — numbered spec footnotes
|
||||||
|
- Background `{colors.canvas-soft}`, `{typography.caption}` in `{colors.ink-secondary}`.
|
||||||
|
|
||||||
|
### Store Purchase Components
|
||||||
|
|
||||||
|
**`benefits-panel`** — shipping and feature summary beside the title
|
||||||
|
- Background `{colors.panel}`, text `{colors.graphite}` in `{typography.ui}`, padding `{spacing.md}`, `{rounded.sm}` container, icon-led lists with a chevron.
|
||||||
|
|
||||||
|
**`option-card`** + **`option-card-active`** + **`option-card-disabled`** — selectable product option
|
||||||
|
- Background `{colors.canvas}`, `{rounded.sm}`, title in `{typography.option-title}` `{colors.store-ink}` beside a product thumbnail, price below. Default has a 1px `{colors.card-border}` border and `{spacing.xl}` padding; selected has a 2px `{colors.store-blue}` ring with 23px padding; unavailable has a 1px dashed `{colors.dashed-border}` border and a red "Out of Stock" line in `{colors.error}`.
|
||||||
|
|
||||||
|
**`option-badge`** — corner badge on a highlighted option
|
||||||
|
- Background `{colors.badge-orange}`, white `{typography.badge}`, padding 2px `{spacing.xs}`, rounded only at the bottom-left (8px), pinned to the card's top-right corner.
|
||||||
|
|
||||||
|
**`care-tag`** — small "DJI Care" tag in the store nav
|
||||||
|
- Background `{colors.store-blue}`, white `{typography.micro}`, `{rounded.xs}`, padding 0 `{spacing.xxs}`.
|
||||||
|
|
||||||
|
**`media-toggle`** + **`media-toggle-active`** — gallery switch ("Photos" / "Intro")
|
||||||
|
- `{rounded.pill}`, padding `{spacing.xs}` by `{spacing.md}`, 32px tall; active fills `{colors.ink}` with a white label, inactive is plain text.
|
||||||
|
|
||||||
|
**`quantity-stepper`** — accessory quantity control
|
||||||
|
- Minus, value and plus cells outlined in `{colors.control-border}`, `{typography.ui}`.
|
||||||
|
|
||||||
|
**`purchase-bar`** — sticky bar with delivery, price and CTAs
|
||||||
|
- Background `{colors.canvas}`, 1px `{colors.divider}` rule, soft shadow, padding `{spacing.md}` vertical; delivery selector at left, price in `{typography.price}`, then `button-store-cart` + `button-store-buy` at right.
|
||||||
|
|
||||||
|
**`region-banner`** — region suggestion bar at the top of the store
|
||||||
|
- Background `{colors.canvas}`, text `{colors.graphite}` in `{typography.ui}`, padding `{spacing.lg}` by `{spacing.sm}`, close icon at left and a `button-dark-pill` at right.
|
||||||
|
|
||||||
|
**`faq-row`** — FAQ question row
|
||||||
|
- Question in `{typography.faq}` `{colors.ink}`, chevron at right, 1px `{colors.divider}` rule beneath.
|
||||||
|
|
||||||
|
### Inputs & Forms
|
||||||
|
|
||||||
|
**`newsletter-input`** — footer email field on the dark footer
|
||||||
|
- Transparent, white `{typography.ui}` text, 1px `{colors.slate}` border rounded only on the left (4px), padding 4px 0 4px `{spacing.sm}`, 32px tall, joined to a square grey submit button.
|
||||||
|
|
||||||
|
### Signature Components
|
||||||
|
|
||||||
|
**`floating-circle-button`** — floating support and back-to-top buttons
|
||||||
|
- 40px circles in `{colors.canvas}` with an ink icon and the soft floating shadow, pinned at the right edge.
|
||||||
|
|
||||||
|
### Footer
|
||||||
|
|
||||||
|
**`footer`** — brand-site footer
|
||||||
|
- Background `{colors.footer}`, padding `{spacing.xxl}` by `{spacing.md}`. A "Only in the DJI Store App" row with `button-download-app` sits above `{colors.footer-divider}` rules, then six link columns with `{typography.footer-heading}` headings in white and links in `{colors.footer-link}`, a subscribe field, social icons and a legal row.
|
||||||
|
|
||||||
|
**`footer-store`** — store footer
|
||||||
|
- Background `{colors.canvas-soft}`, headings in `{colors.graphite}`, links in `{colors.slate}` `{typography.caption}`, a subscribe field outlined in `{colors.input-border}` and a legal row.
|
||||||
|
|
||||||
|
### Examples (illustrative)
|
||||||
|
|
||||||
|
> Illustrative demonstration surfaces. Each `ex-*` entry is composed only from the brand-native primitives above (store `option-card` shape, `button-primary` / `button-store-buy` pills, `canvas` / `canvas-soft` surfaces and the Open Sans roles), so the same ten example surfaces re-skin consistently in DJI's colours, radii and spacing.
|
||||||
|
|
||||||
|
**`ex-pricing-tier`** — Default Pricing tier card. Re-uses feature-card chrome with brand canvas-soft surface.
|
||||||
|
- Properties: `backgroundColor`, `textColor`, `borderColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-pricing-tier-featured`** — Featured/highlighted tier — polarity-flipped surface (dark fill + light text in light mode, light fill + dark text in dark mode).
|
||||||
|
- Properties: `backgroundColor`, `textColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-product-selector`** — Color/size picker chrome — fashion / DTC variant selector.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-cart-drawer`** — Shopping cart drawer — DTC / fashion brand actual cart chrome.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`, `item-divider`
|
||||||
|
|
||||||
|
**`ex-app-shell-row`** — Sidebar nav row inside the App Shell example. Active state uses brand primary as the indicator.
|
||||||
|
- Properties: `backgroundColor`, `activeIndicator`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-data-table-cell`** — Default data-table th + td chrome. Header uses mono-caps eyebrow typography; body uses body-sm.
|
||||||
|
- Properties: `headerBackground`, `headerTypography`, `bodyTypography`, `cellPadding`, `rowBorder`
|
||||||
|
|
||||||
|
**`ex-auth-form-card`** — Sign-in / sign-up card. Re-uses feature-card chrome with text-input primitives inside.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-modal-card`** — Modal dialog surface — same chrome as feature-card with elevated shadow.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-empty-state-card`** — Empty-state illustration frame.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`, `captionTypography`
|
||||||
|
|
||||||
|
**`ex-toast`** — Toast notification surface — feature-card shape + medium shadow.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`, `typography`
|
||||||
|
|
||||||
|
|
||||||
|
## Do's and Don'ts
|
||||||
|
|
||||||
|
### Do
|
||||||
|
- Let product photography fill square, gutter-separated tiles; keep text centred above the render.
|
||||||
|
- Use `{colors.primary}` (brand site) or `{colors.store-blue}` (store) for every primary action, always as a pill.
|
||||||
|
- Pair a filled blue pill with a 1px `{colors.ink}` outline pill for the secondary action.
|
||||||
|
- Use white `button-hero-ghost` pills over dark hero photography.
|
||||||
|
- Set all text in Open Sans with slight negative tracking, and use the ink opacity steps (`{colors.ink}`, `{colors.ink-secondary}`, `{colors.ink-tertiary}`) for hierarchy.
|
||||||
|
- Mark product rank with a small `tier-eyebrow` in `{colors.tier-orange}`.
|
||||||
|
- In the store, group choices into `{rounded.sm}` option cards and show selection with a 2px `{colors.store-blue}` ring.
|
||||||
|
- Close pages with the `{colors.footer}` footer on the brand site and `{colors.canvas-soft}` in the store.
|
||||||
|
|
||||||
|
### Don't
|
||||||
|
- Don't round photo tiles, cards or media tiles; only pills, option cards and small tags are rounded.
|
||||||
|
- Don't use more than one blue on the same surface; the brand site and the store each have their own.
|
||||||
|
- Don't use orange for buttons or large fills; it is reserved for small rank labels and the option badge.
|
||||||
|
- Don't use pure black for text; use `{colors.ink}`.
|
||||||
|
- Don't add drop shadows to tiles or cards; keep shadows for floating buttons and the sticky purchase bar.
|
||||||
|
- Don't set headings heavier than 600 or track type positively.
|
||||||
5
design-md/dji/README.md
Normal file
5
design-md/dji/README.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# DJI Inspired Design System Analysis
|
||||||
|
|
||||||
|
Design system details have been moved to: https://getdesign.md/dji/design-md
|
||||||
|
|
||||||
|
You can also view previews, dark mode examples, and download options on getdesign.md.
|
||||||
525
design-md/jobright/DESIGN.md
Normal file
525
design-md/jobright/DESIGN.md
Normal file
@ -0,0 +1,525 @@
|
|||||||
|
---
|
||||||
|
version: alpha
|
||||||
|
name: Jobright Analysis
|
||||||
|
description: An analysis of Jobright's design language — an AI job-hunting platform built on an energetic spring-mint green against black and white, with pale-mint section bands carrying the page rhythm. Bold condensed Titillium Web display headings pair with a clean Inter UI, and the CTA system runs on high-contrast pill buttons — black pills for primary actions, a mint-green pill for the signature accent. Rounded product-mockup cards, a scrolling black job ticker, and generous whitespace give it a friendly, high-energy startup feel.
|
||||||
|
|
||||||
|
colors:
|
||||||
|
primary: "#00f0a0"
|
||||||
|
on-primary: "#000000"
|
||||||
|
ink: "#000000"
|
||||||
|
on-dark: "#ffffff"
|
||||||
|
canvas: "#ffffff"
|
||||||
|
canvas-mint: "#ecffe0"
|
||||||
|
muted: "#86909c"
|
||||||
|
hairline: "#e5e7eb"
|
||||||
|
surface-soft: "#f2f4f5"
|
||||||
|
|
||||||
|
typography:
|
||||||
|
display:
|
||||||
|
fontFamily: Titillium Web
|
||||||
|
fontSize: 80px
|
||||||
|
fontWeight: 700
|
||||||
|
lineHeight: 1.05
|
||||||
|
letterSpacing: -1px
|
||||||
|
heading-1:
|
||||||
|
fontFamily: Titillium Web
|
||||||
|
fontSize: 60px
|
||||||
|
fontWeight: 700
|
||||||
|
lineHeight: 1.1
|
||||||
|
letterSpacing: -0.5px
|
||||||
|
heading-2:
|
||||||
|
fontFamily: Titillium Web
|
||||||
|
fontSize: 48px
|
||||||
|
fontWeight: 700
|
||||||
|
lineHeight: 1.15
|
||||||
|
letterSpacing: 0
|
||||||
|
heading-3:
|
||||||
|
fontFamily: Titillium Web
|
||||||
|
fontSize: 38px
|
||||||
|
fontWeight: 700
|
||||||
|
lineHeight: 1.2
|
||||||
|
letterSpacing: 0
|
||||||
|
heading-4:
|
||||||
|
fontFamily: Titillium Web
|
||||||
|
fontSize: 32px
|
||||||
|
fontWeight: 600
|
||||||
|
lineHeight: 1.25
|
||||||
|
letterSpacing: 0
|
||||||
|
body-lg:
|
||||||
|
fontFamily: Inter
|
||||||
|
fontSize: 18px
|
||||||
|
fontWeight: 300
|
||||||
|
lineHeight: 1.6
|
||||||
|
letterSpacing: 0
|
||||||
|
body-md:
|
||||||
|
fontFamily: Inter
|
||||||
|
fontSize: 16px
|
||||||
|
fontWeight: 500
|
||||||
|
lineHeight: 1.6
|
||||||
|
letterSpacing: 0
|
||||||
|
body-sm:
|
||||||
|
fontFamily: Inter
|
||||||
|
fontSize: 14px
|
||||||
|
fontWeight: 500
|
||||||
|
lineHeight: 1.5
|
||||||
|
letterSpacing: 0
|
||||||
|
button:
|
||||||
|
fontFamily: Inter
|
||||||
|
fontSize: 16px
|
||||||
|
fontWeight: 600
|
||||||
|
lineHeight: 1
|
||||||
|
letterSpacing: 0
|
||||||
|
nav-link:
|
||||||
|
fontFamily: Inter
|
||||||
|
fontSize: 14px
|
||||||
|
fontWeight: 600
|
||||||
|
lineHeight: 1.4
|
||||||
|
letterSpacing: 0
|
||||||
|
caption:
|
||||||
|
fontFamily: Inter
|
||||||
|
fontSize: 13px
|
||||||
|
fontWeight: 500
|
||||||
|
lineHeight: 1.4
|
||||||
|
letterSpacing: 0
|
||||||
|
|
||||||
|
rounded:
|
||||||
|
none: 0px
|
||||||
|
sm: 12px
|
||||||
|
md: 16px
|
||||||
|
lg: 24px
|
||||||
|
xl: 28px
|
||||||
|
pill-nav: 18px
|
||||||
|
pill: 36px
|
||||||
|
card: 40px
|
||||||
|
full: 9999px
|
||||||
|
|
||||||
|
spacing:
|
||||||
|
xxs: 4px
|
||||||
|
xs: 8px
|
||||||
|
sm: 12px
|
||||||
|
md: 16px
|
||||||
|
lg: 24px
|
||||||
|
xl: 32px
|
||||||
|
xxl: 48px
|
||||||
|
section: 96px
|
||||||
|
|
||||||
|
components:
|
||||||
|
nav-bar:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.nav-link}"
|
||||||
|
padding: "{spacing.md}"
|
||||||
|
button-primary:
|
||||||
|
backgroundColor: "{colors.ink}"
|
||||||
|
textColor: "{colors.on-dark}"
|
||||||
|
typography: "{typography.button}"
|
||||||
|
rounded: "{rounded.xl}"
|
||||||
|
padding: "{spacing.sm} {spacing.section}"
|
||||||
|
button-primary-sm:
|
||||||
|
backgroundColor: "{colors.ink}"
|
||||||
|
textColor: "{colors.on-dark}"
|
||||||
|
typography: "{typography.nav-link}"
|
||||||
|
rounded: "{rounded.pill-nav}"
|
||||||
|
padding: "{spacing.xxs} {spacing.md}"
|
||||||
|
button-green:
|
||||||
|
backgroundColor: "{colors.primary}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
borderColor: "{colors.ink}"
|
||||||
|
typography: "{typography.button}"
|
||||||
|
rounded: "{rounded.pill}"
|
||||||
|
padding: "{spacing.sm} {spacing.xxl}"
|
||||||
|
button-dark-square:
|
||||||
|
backgroundColor: "{colors.ink}"
|
||||||
|
textColor: "{colors.on-dark}"
|
||||||
|
typography: "{typography.button}"
|
||||||
|
rounded: "{rounded.sm}"
|
||||||
|
padding: "{spacing.sm} {spacing.md}"
|
||||||
|
text-input:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
typography: "{typography.body-md}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
padding: "{spacing.sm} {spacing.md}"
|
||||||
|
hero:
|
||||||
|
backgroundColor: "{colors.canvas-mint}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.display}"
|
||||||
|
padding: "{spacing.section}"
|
||||||
|
video-card:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
borderColor: "{colors.ink}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
stat-item:
|
||||||
|
backgroundColor: "{colors.canvas-mint}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.heading-3}"
|
||||||
|
job-ticker:
|
||||||
|
backgroundColor: "{colors.ink}"
|
||||||
|
textColor: "{colors.on-dark}"
|
||||||
|
typography: "{typography.body-sm}"
|
||||||
|
padding: "{spacing.md}"
|
||||||
|
feature-band:
|
||||||
|
backgroundColor: "{colors.canvas-mint}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.heading-2}"
|
||||||
|
padding: "{spacing.section}"
|
||||||
|
feature-card:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body-md}"
|
||||||
|
rounded: "{rounded.card}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
score-ring:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.primary}"
|
||||||
|
typography: "{typography.heading-4}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
size: 64px
|
||||||
|
testimonial-card:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
typography: "{typography.body-md}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
testimonial-band-dark:
|
||||||
|
backgroundColor: "{colors.ink}"
|
||||||
|
textColor: "{colors.on-dark}"
|
||||||
|
typography: "{typography.heading-4}"
|
||||||
|
padding: "{spacing.section}"
|
||||||
|
faq-item:
|
||||||
|
backgroundColor: "{colors.canvas-mint}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
typography: "{typography.body-md}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.md}"
|
||||||
|
cta-band:
|
||||||
|
backgroundColor: "{colors.canvas-mint}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.heading-2}"
|
||||||
|
padding: "{spacing.section}"
|
||||||
|
job-search-bar:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
typography: "{typography.body-sm}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
padding: "{spacing.xs} {spacing.md}"
|
||||||
|
footer:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.muted}"
|
||||||
|
typography: "{typography.body-sm}"
|
||||||
|
padding: "{spacing.section}"
|
||||||
|
|
||||||
|
# ─── Examples (illustrative) — auto-derived; resolve any TO_FILL markers below ───
|
||||||
|
ex-pricing-tier:
|
||||||
|
description: "Default Pricing tier card. Re-uses feature-card chrome with brand canvas-soft surface."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
ex-pricing-tier-featured:
|
||||||
|
description: "Featured/highlighted tier — polarity-flipped surface (dark fill + light text in light mode, light fill + dark text in dark mode)."
|
||||||
|
backgroundColor: "{colors.ink}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
ex-product-selector:
|
||||||
|
description: "What's Included summary card — re-purposed for SaaS / B2B verticals (NOT a literal product gallery)."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
ex-cart-drawer:
|
||||||
|
description: "Subscription summary — re-purposed for SaaS / B2B (line items per add-on, not literal cart)."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
item-divider: "{colors.hairline}"
|
||||||
|
ex-app-shell-row:
|
||||||
|
description: "Sidebar nav row inside the App Shell example. Active state uses brand primary as the indicator."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
activeIndicator: "{colors.primary}"
|
||||||
|
rounded: "{rounded.sm}"
|
||||||
|
padding: "{spacing.sm} {spacing.md}"
|
||||||
|
ex-data-table-cell:
|
||||||
|
description: "Default data-table th + td chrome. Header uses caption eyebrow typography; body uses body-sm."
|
||||||
|
headerBackground: "{colors.canvas}"
|
||||||
|
headerTypography: "{typography.caption}"
|
||||||
|
bodyTypography: "{typography.body-sm}"
|
||||||
|
cellPadding: "{spacing.sm} {spacing.md}"
|
||||||
|
rowBorder: "{colors.hairline}"
|
||||||
|
ex-auth-form-card:
|
||||||
|
description: "Sign-in / sign-up card. Re-uses feature-card chrome with text-input primitives inside."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
ex-modal-card:
|
||||||
|
description: "Modal dialog surface — same chrome as feature-card with elevated shadow."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
ex-empty-state-card:
|
||||||
|
description: "Empty-state illustration frame."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.xl}"
|
||||||
|
captionTypography: "{typography.body-md}"
|
||||||
|
ex-toast:
|
||||||
|
description: "Toast notification surface — feature-card shape + medium shadow."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.sm} {spacing.md}"
|
||||||
|
typography: "{typography.body-sm}"
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
|
Jobright is the marketing site of an AI job-hunting platform, and its design radiates startup energy. The system is anchored by a single electric accent — a spring-mint green (`{colors.primary}` — #00f0a0) — set against crisp black (`{colors.ink}`) and white (`{colors.canvas}`). The signature move is a pale-mint section band (`{colors.canvas-mint}` — #ecffe0) that carries most of the page: heroes, feature blocks, FAQ, and the closing CTA all sit on this soft green wash, punctuated by full-black bands for the scrolling job ticker and a featured testimonial.
|
||||||
|
|
||||||
|
The type system pairs a bold, slightly condensed Titillium Web (`{typography.display}`) for big confident headlines with a clean Inter (`{typography.body-md}`) for UI and body copy. Headlines run large and heavy; body stays light and readable. The overall feel is friendly and high-energy rather than corporate — rounded product-mockup cards, emoji accents, and generous whitespace keep it approachable.
|
||||||
|
|
||||||
|
The CTA system is built on high-contrast pill buttons. Primary actions use a **black pill** (`{colors.ink}` fill, white label) at a large 28px radius; the brand's signature accent button is a **mint-green pill** (`{colors.primary}` fill, black label, thin black border) at a rounder 36px. Product features are demonstrated in white mockup cards with pronounced 40px asymmetric corners, floating over the mint bands. Elevation is light — a hairline or a whisper-soft shadow, never heavy blur.
|
||||||
|
|
||||||
|
**Key Characteristics:**
|
||||||
|
- A single electric accent: spring-mint `{colors.primary}` owns the logo, links, the signature green pill, and every highlight — used against black and white with conviction.
|
||||||
|
- Pale-mint section bands (`{colors.canvas-mint}`) carry the page rhythm, alternating with white and full-black bands.
|
||||||
|
- Dual pill-button system: black pills (`{rounded.lg}`) for primary CTAs, a mint-green pill (`{rounded.pill}`) for the signature accent action.
|
||||||
|
- Bold Titillium Web display type (`{typography.display}`) over a light, clean Inter body (`{typography.body-lg}`) — confident headlines, quiet copy.
|
||||||
|
- Rounded product-mockup cards with a distinctive 40px asymmetric corner (`{rounded.card}`), floating over the mint bands to demo AI features.
|
||||||
|
- Page rhythm: mint hero → mint stats → white job-hub → black scrolling ticker → alternating mint feature bands → white testimonials → black featured quote → mint FAQ → mint CTA → white footer.
|
||||||
|
|
||||||
|
## Colors
|
||||||
|
|
||||||
|
Source pages analyzed: the homepage, the job-referral page, the employers page, the about page, and the tnt page. The palette is consistent across all five — a tightly controlled mint / black / white system.
|
||||||
|
|
||||||
|
### Brand & Accent
|
||||||
|
- **Spring Mint** (`{colors.primary}` — #00f0a0): the brand's one electric accent. Colors the logo mark, links, the signature green pill button, score highlights, and inline emphasis.
|
||||||
|
- **On-Primary** (`{colors.on-primary}` — #000000): black label used on top of the mint-green button, where dark-on-mint reads with maximum punch.
|
||||||
|
|
||||||
|
### Surface
|
||||||
|
- **Canvas** (`{colors.canvas}` — #ffffff): default page and card background.
|
||||||
|
- **Mint Canvas** (`{colors.canvas-mint}` — #ecffe0): the pale spring-mint band that carries the hero, feature blocks, FAQ, and CTA sections — the system's dominant surface.
|
||||||
|
- **Soft Surface** (`{colors.surface-soft}` — #f2f4f5): light gray utility fill for inset panels and inputs.
|
||||||
|
- **Hairline** (`{colors.hairline}` — #e5e7eb): 1px card and divider borders.
|
||||||
|
|
||||||
|
### Text
|
||||||
|
- **Ink** (`{colors.ink}` — #000000): headings, body text, and the fill of every black pill button and dark band.
|
||||||
|
- **Muted** (`{colors.muted}` — #86909c): secondary text, captions, and footer links.
|
||||||
|
- **On Dark** (`{colors.on-dark}` — #ffffff): text set on the black ticker and testimonial bands.
|
||||||
|
|
||||||
|
## Typography
|
||||||
|
|
||||||
|
### Font Family
|
||||||
|
Two families do the work. **Titillium Web** — a bold, slightly condensed humanist sans — carries every display headline and section title, giving the page its confident, high-energy voice. **Inter** handles all body copy, UI labels, buttons, and captions, keeping dense content clean and legible. The contrast between heavy condensed headlines and light, airy body copy is the system's core typographic tension.
|
||||||
|
|
||||||
|
### Hierarchy
|
||||||
|
|
||||||
|
| Token | Size | Weight | Line Height | Letter Spacing | Use |
|
||||||
|
|---|---|---|---|---|---|
|
||||||
|
| `{typography.display}` | 80px | 700 | 1.05 | -1px | Largest hero / section headline (Titillium Web) |
|
||||||
|
| `{typography.heading-1}` | 60px | 700 | 1.1 | -0.5px | Primary section headings (Titillium Web) |
|
||||||
|
| `{typography.heading-2}` | 48px | 700 | 1.15 | 0 | Feature-band headings (Titillium Web) |
|
||||||
|
| `{typography.heading-3}` | 38px | 700 | 1.2 | 0 | Stat numbers, sub-headings (Titillium Web) |
|
||||||
|
| `{typography.heading-4}` | 32px | 600 | 1.25 | 0 | Card titles, quotes (Titillium Web) |
|
||||||
|
| `{typography.body-lg}` | 18px | 300 | 1.6 | 0 | Lead paragraphs (Inter light) |
|
||||||
|
| `{typography.body-md}` | 16px | 500 | 1.6 | 0 | Default body copy (Inter) |
|
||||||
|
| `{typography.body-sm}` | 14px | 500 | 1.5 | 0 | Dense body, ticker, footer (Inter) |
|
||||||
|
| `{typography.button}` | 16px | 600 | 1 | 0 | Button labels (Inter) |
|
||||||
|
| `{typography.nav-link}` | 14px | 600 | 1.4 | 0 | Top-nav links (Inter) |
|
||||||
|
| `{typography.caption}` | 13px | 500 | 1.4 | 0 | Fine print, metadata (Inter) |
|
||||||
|
|
||||||
|
### Principles
|
||||||
|
Headlines are big, heavy, and condensed for maximum confidence; body copy stays light (Inter 300) and roomy. The pairing lets marketing headlines shout while product detail stays quiet and scannable.
|
||||||
|
|
||||||
|
### Note on Font Substitutes
|
||||||
|
Both Titillium Web and Inter are open-source Google fonts — use them directly. If a fallback is needed, Titillium Web degrades to a condensed sans (e.g. "Arial Narrow", system-ui) and Inter to Helvetica/Arial with no metric adjustment.
|
||||||
|
|
||||||
|
## Layout
|
||||||
|
|
||||||
|
### Spacing System
|
||||||
|
- **Base unit**: 8px.
|
||||||
|
- **Tokens (front matter)**: `{spacing.xxs}` 4px · `{spacing.xs}` 8px · `{spacing.sm}` 12px · `{spacing.md}` 16px · `{spacing.lg}` 24px · `{spacing.xl}` 32px · `{spacing.xxl}` 48px · `{spacing.section}` 96px.
|
||||||
|
- Feature cards sit at `{spacing.lg}`; full-width bands breathe at `{spacing.section}`; the large primary pill uses a wide `{spacing.sm} {spacing.section}` padding.
|
||||||
|
|
||||||
|
### Grid & Container
|
||||||
|
Content is centered in a ~1200px container (the dominant breakpoint in a wide 1600→575px ladder). Feature blocks run as two-column rows — copy + CTA on one side, a product-mockup card on the other — alternating sides down the page and collapsing to stacked single column on narrow screens. Testimonials run 3-up; the footer job-search bar runs as a single horizontal control row.
|
||||||
|
|
||||||
|
### Whitespace Philosophy
|
||||||
|
Whitespace is generous and band-driven. The page groups content by alternating full-width color bands — pale mint for marketing sections, white for neutral content, full black for the ticker and featured quote — with roomy vertical padding that keeps the high-energy type from feeling crowded.
|
||||||
|
|
||||||
|
### Responsive Strategy
|
||||||
|
|
||||||
|
#### Breakpoints
|
||||||
|
| Name | Width | Key Changes |
|
||||||
|
|---|---|---|
|
||||||
|
| Mobile | < 576px | Single column; nav → hamburger; feature rows stack; pills go full-width |
|
||||||
|
| Tablet | 576–991px | Two-column feature rows collapse toward stacked; testimonials drop to 1–2 up |
|
||||||
|
| Laptop | 992–1199px | Multi-column grids intact; tightened gutters |
|
||||||
|
| Desktop | ≥ 1200px | Full layout; centered ~1200px column; full-bleed bands |
|
||||||
|
|
||||||
|
#### Touch Targets
|
||||||
|
The primary (`{component.button-primary}`) and green (`{component.button-green}`) pills carry ample padding for a comfortable ≥44px tap height. Nav collapses to a hamburger under 768px while keeping the black "Join Now" pill visible.
|
||||||
|
|
||||||
|
#### Collapsing Strategy
|
||||||
|
The top nav collapses to a hamburger under 768px, keeping the black CTA pill. Two-column feature rows stack image-below-copy; the 3-up testimonial grid reflows to 1–2 up; the footer job-search bar wraps its select controls. The full-width mint and black bands stay full-bleed at every width.
|
||||||
|
|
||||||
|
#### Image Behavior
|
||||||
|
Product-mockup imagery sits inside rounded white cards (`{rounded.card}` / `{rounded.md}`), floating over the mint bands with a soft shadow. The hero leads with a rounded video card. Avatars and score rings are circular (`{rounded.full}`). Images lazy-load below the fold; the job ticker scrolls as a continuous marquee.
|
||||||
|
|
||||||
|
## Elevation & Depth
|
||||||
|
|
||||||
|
| Level | Treatment | Use |
|
||||||
|
|---|---|---|
|
||||||
|
| 0 — Flat | 1px `{colors.hairline}` border or none | Bands, list rows, inputs |
|
||||||
|
| 1 — Hairline | `rgba(0,0,0,0.5)` 0px 0px 0px 0.5px inset | Bordered chips and outlined controls |
|
||||||
|
| 2 — Soft float | whisper-soft drop shadow | Product-mockup cards floating over mint bands |
|
||||||
|
|
||||||
|
Elevation is deliberately light — the design relies on color-band contrast and rounded card shapes rather than heavy shadow. Depth comes from the mockup cards lifting off the mint bands and the full-black bands punctuating the page.
|
||||||
|
|
||||||
|
### Decorative Depth
|
||||||
|
There is no gradient system; depth is band-and-card based. Playful accents — emoji, a pink heart, hand-drawn illustration marks — add lightweight texture, and the scrolling black job ticker adds motion-based depth between static sections.
|
||||||
|
|
||||||
|
## Shapes
|
||||||
|
|
||||||
|
### Border Radius Scale
|
||||||
|
|
||||||
|
| Token | Value | Use |
|
||||||
|
|---|---|---|
|
||||||
|
| `{rounded.sm}` | 12px | Square dark button, small chips, inputs |
|
||||||
|
| `{rounded.md}` | 16px | Cards, tab lists, video card |
|
||||||
|
| `{rounded.lg}` | 24px | Testimonial and content cards |
|
||||||
|
| `{rounded.lg}` | 28px | Primary black CTA pill (large) |
|
||||||
|
| `{rounded.pill-nav}` | 18px | Compact nav pill button |
|
||||||
|
| `{rounded.pill}` | 36px | Signature mint-green pill button |
|
||||||
|
| `{rounded.card}` | 40px | Product-mockup feature cards (asymmetric 0/40/40 corner) |
|
||||||
|
| `{rounded.full}` | 9999px | Avatars, score rings, footer search bar |
|
||||||
|
|
||||||
|
### Photography Geometry
|
||||||
|
Product mockups sit inside rounded white cards at 16–40px corners (`{rounded.md}` / `{rounded.card}`), often with one asymmetric sharp corner for a distinctive silhouette. Avatars and circular score rings are fully round (`{rounded.full}`). The hero video is a rounded card (`{rounded.md}`).
|
||||||
|
|
||||||
|
## Components
|
||||||
|
|
||||||
|
### Buttons
|
||||||
|
|
||||||
|
**`button-primary`** — the large black pill CTA ("Try For Free", "Find My Matches", "Start Autofilling")
|
||||||
|
- Background `{colors.ink}`, white label `{colors.on-dark}`, type `{typography.button}`, rounded `{rounded.lg}`, wide padding `{spacing.sm} {spacing.section}`.
|
||||||
|
|
||||||
|
**`button-primary-sm`** — the compact black nav pill ("Join Now")
|
||||||
|
- Background `{colors.ink}`, white label `{colors.on-dark}`, type `{typography.nav-link}`, rounded `{rounded.pill-nav}`, padding `{spacing.xxs} {spacing.md}`.
|
||||||
|
|
||||||
|
**`button-green`** — the signature mint-green pill ("Try For Free" on the closing CTA)
|
||||||
|
- Background `{colors.primary}`, black label `{colors.on-primary}`, 1px black border `{colors.ink}`, type `{typography.button}`, rounded `{rounded.pill}`, padding `{spacing.sm} {spacing.xxl}`.
|
||||||
|
|
||||||
|
**`button-dark-square`** — a squarer black utility button
|
||||||
|
- Background `{colors.ink}`, white label `{colors.on-dark}`, type `{typography.button}`, rounded `{rounded.sm}`, padding `{spacing.sm} {spacing.md}`.
|
||||||
|
|
||||||
|
### Cards & Containers
|
||||||
|
|
||||||
|
**`feature-card`** — the white product-mockup card demoing an AI feature
|
||||||
|
- Background `{colors.canvas}`, type `{typography.body-md}`, rounded `{rounded.card}` (40px, with one asymmetric sharp corner), padding `{spacing.lg}`, floating on a soft shadow over the mint band.
|
||||||
|
|
||||||
|
**`video-card`** — the rounded hero video frame
|
||||||
|
- Background `{colors.canvas}`, 1px `{colors.ink}` border, rounded `{rounded.md}`.
|
||||||
|
|
||||||
|
**`testimonial-card`** — a user-love quote card
|
||||||
|
- Background `{colors.canvas}`, 1px `{colors.hairline}` border, rounded `{rounded.lg}`, padding `{spacing.lg}`, with an avatar, name, and quote.
|
||||||
|
|
||||||
|
**`score-ring`** — the circular AI-match score indicator
|
||||||
|
- White surface `{colors.canvas}`, mint value `{colors.primary}` in `{typography.heading-4}`, rounded `{rounded.full}`, size 64px.
|
||||||
|
|
||||||
|
### Inputs & Forms
|
||||||
|
|
||||||
|
**`text-input`** — search and form fields
|
||||||
|
- Background `{colors.canvas}`, 1px `{colors.hairline}` border, text `{colors.ink}`, type `{typography.body-md}`, rounded `{rounded.sm}`, padding `{spacing.sm} {spacing.md}`.
|
||||||
|
|
||||||
|
**`job-search-bar`** — the footer job-search control row
|
||||||
|
- White pill `{colors.canvas}`, 1px `{colors.hairline}` border, rounded `{rounded.full}`, padding `{spacing.xs} {spacing.md}`, holding Work Model / Location / Experience select controls and a submit.
|
||||||
|
|
||||||
|
### Navigation
|
||||||
|
|
||||||
|
**`nav-bar`** — top navigation (desktop)
|
||||||
|
- Background `{colors.canvas}`, links `{colors.ink}` in `{typography.nav-link}`, padding `{spacing.md}`. Logo left, link cluster center, "Sign In" plus a persistent black `{component.button-primary-sm}` "Join Now" pill right. Collapses to a hamburger under 768px.
|
||||||
|
|
||||||
|
**`footer`** — the site footer
|
||||||
|
- Background `{colors.canvas}`, muted `{colors.muted}` links in `{typography.body-sm}`, padding `{spacing.section}`. Multi-column link groups, logo, social icons, and the `{component.job-search-bar}` above it.
|
||||||
|
|
||||||
|
### Signature Components
|
||||||
|
|
||||||
|
**`hero`** — the pale-mint hero band
|
||||||
|
- Background `{colors.canvas-mint}`, black display headline `{typography.display}`, padding `{spacing.section}`, with a rounded `{component.video-card}` and a black `{component.button-primary}`.
|
||||||
|
|
||||||
|
**`stat-item`** — a trust statistic (2,000,000 users, 80%, No.1 Choice)
|
||||||
|
- On the mint band `{colors.canvas-mint}`, big black number `{typography.heading-3}` over a caption, with a small line icon.
|
||||||
|
|
||||||
|
**`job-ticker`** — the scrolling black job-listing marquee
|
||||||
|
- Full-width black band `{colors.ink}`, white text `{colors.on-dark}` in `{typography.body-sm}`, padding `{spacing.md}`, with continuously scrolling job titles and mint Jobright marks.
|
||||||
|
|
||||||
|
**`feature-band`** — an AI-feature section on the mint wash
|
||||||
|
- Background `{colors.canvas-mint}`, black headline `{typography.heading-2}`, padding `{spacing.section}`; copy + a black `{component.button-primary}` on one side, a `{component.feature-card}` mockup on the other.
|
||||||
|
|
||||||
|
**`testimonial-band-dark`** — the featured black testimonial band
|
||||||
|
- Background `{colors.ink}`, white quote `{colors.on-dark}` in `{typography.heading-4}`, padding `{spacing.section}`, with an author avatar and title.
|
||||||
|
|
||||||
|
**`faq-item`** — a question accordion row
|
||||||
|
- On the mint band `{colors.canvas-mint}`, 1px `{colors.hairline}` divider, question `{colors.ink}` in `{typography.body-md}`, padding `{spacing.md}`, with a plus/expand toggle.
|
||||||
|
|
||||||
|
**`cta-band`** — the closing "Let Jobright Take You to..." band
|
||||||
|
- Background `{colors.canvas-mint}`, black headline `{typography.heading-2}`, padding `{spacing.section}`, with a `{component.button-green}` and a hand-drawn illustration.
|
||||||
|
|
||||||
|
### Examples (illustrative)
|
||||||
|
|
||||||
|
> Auto-derived kit-mirror demonstration surfaces (`scripts/derive-examples-block.mjs`). Each `ex-*` entry references brand-native primitives so downstream consumers (`/preview-design`, `/generate-kit`) re-skin the same 10 surfaces consistently. `TO_FILL` markers indicate missing primitives — resolve in the LLM judgment pass.
|
||||||
|
|
||||||
|
**`ex-pricing-tier`** — Default Pricing tier card. Re-uses feature-card chrome with brand canvas-soft surface.
|
||||||
|
- Properties: `backgroundColor`, `textColor`, `borderColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-pricing-tier-featured`** — Featured/highlighted tier — polarity-flipped surface (dark fill + light text in light mode, light fill + dark text in dark mode).
|
||||||
|
- Properties: `backgroundColor`, `textColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-product-selector`** — What's Included summary card — re-purposed for SaaS / B2B verticals (NOT a literal product gallery).
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-cart-drawer`** — Subscription summary — re-purposed for SaaS / B2B (line items per add-on, not literal cart).
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`, `item-divider`
|
||||||
|
|
||||||
|
**`ex-app-shell-row`** — Sidebar nav row inside the App Shell example. Active state uses brand primary as the indicator.
|
||||||
|
- Properties: `backgroundColor`, `activeIndicator`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-data-table-cell`** — Default data-table th + td chrome. Header uses mono-caps eyebrow typography; body uses body-sm.
|
||||||
|
- Properties: `headerBackground`, `headerTypography`, `bodyTypography`, `cellPadding`, `rowBorder`
|
||||||
|
|
||||||
|
**`ex-auth-form-card`** — Sign-in / sign-up card. Re-uses feature-card chrome with text-input primitives inside.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-modal-card`** — Modal dialog surface — same chrome as feature-card with elevated shadow.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-empty-state-card`** — Empty-state illustration frame.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`, `captionTypography`
|
||||||
|
|
||||||
|
**`ex-toast`** — Toast notification surface — feature-card shape + medium shadow.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`, `typography`
|
||||||
|
|
||||||
|
|
||||||
|
## Do's and Don'ts
|
||||||
|
|
||||||
|
### Do
|
||||||
|
- Reserve `{colors.primary}` for the logo, links, the signature green pill, and highlights — the one electric accent that carries the brand.
|
||||||
|
- Carry section rhythm on the pale-mint band (`{colors.canvas-mint}`), alternating with white and full-black bands.
|
||||||
|
- Use black pills (`{rounded.lg}`) for primary CTAs and the mint-green pill (`{rounded.pill}`) for the one signature accent action.
|
||||||
|
- Pair heavy Titillium Web headlines (`{typography.display}`) with light Inter body (`{typography.body-lg}`) for confident-yet-quiet hierarchy.
|
||||||
|
- Float product-mockup cards (`{rounded.card}`) on soft shadows over the mint bands to demo AI features.
|
||||||
|
- Keep buttons pill-shaped and high-contrast — black-on-mint or white-on-black.
|
||||||
|
|
||||||
|
### Don't
|
||||||
|
- Don't introduce the product-UI tag/score palette (Ant-style pastels) as brand chrome — the marketing system is mint, black, and white only.
|
||||||
|
- Don't fill a primary CTA with `{colors.primary}` green as the default — the everyday primary is the black pill; green is the one accent pill.
|
||||||
|
- Don't set body copy in Titillium Web or headlines in Inter — the display/UI font roles are fixed.
|
||||||
|
- Don't put heavy shadows on cards — elevation is a hairline or a whisper-soft float.
|
||||||
|
- Don't cool or blue-shift the mint bands — the section wash is warm spring-mint `{colors.canvas-mint}`.
|
||||||
|
- Don't square off the pills or the mockup cards — the rounded pill + 40px card silhouette is core to the friendly feel.
|
||||||
5
design-md/jobright/README.md
Normal file
5
design-md/jobright/README.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# Jobright Inspired Design System Analysis
|
||||||
|
|
||||||
|
Design system details have been moved to: https://getdesign.md/jobright/design-md
|
||||||
|
|
||||||
|
You can also view previews, dark mode examples, and download options on getdesign.md.
|
||||||
568
design-md/mercury/DESIGN.md
Normal file
568
design-md/mercury/DESIGN.md
Normal file
@ -0,0 +1,568 @@
|
|||||||
|
---
|
||||||
|
version: alpha
|
||||||
|
name: Mercury Analysis
|
||||||
|
description: An analysis of Mercury's design language — a fintech system that moves between a deep ink-violet night world on the homepage and a pale, near-white light world on its product and pricing pages, held together by one confident indigo action pill, soft translucent secondary pills, gently rounded cards and a quiet custom sans set at unusually light weights.
|
||||||
|
|
||||||
|
colors:
|
||||||
|
primary: "#5266eb"
|
||||||
|
on-primary: "#ffffff"
|
||||||
|
periwinkle: "#9cb4e8"
|
||||||
|
canvas: "#fbfcfd"
|
||||||
|
surface: "#ffffff"
|
||||||
|
surface-tint: "#fbfbff"
|
||||||
|
lavender: "#edecfb"
|
||||||
|
night: "#171721"
|
||||||
|
night-raised: "#1e1e2a"
|
||||||
|
ink: "#28253b"
|
||||||
|
ink-secondary: "#554e7b"
|
||||||
|
on-dark: "#ededf3"
|
||||||
|
fog: "#c3c3cc"
|
||||||
|
slate: "#70707d"
|
||||||
|
|
||||||
|
typography:
|
||||||
|
display:
|
||||||
|
fontFamily: arcadiaDisplay
|
||||||
|
fontSize: 52px
|
||||||
|
fontWeight: 480
|
||||||
|
lineHeight: 1.1
|
||||||
|
letterSpacing: 0
|
||||||
|
stat:
|
||||||
|
fontFamily: arcadiaDisplay
|
||||||
|
fontSize: 60px
|
||||||
|
fontWeight: 480
|
||||||
|
lineHeight: 1.1
|
||||||
|
letterSpacing: 0
|
||||||
|
heading-1:
|
||||||
|
fontFamily: arcadiaDisplay
|
||||||
|
fontSize: 42px
|
||||||
|
fontWeight: 480
|
||||||
|
lineHeight: 1.15
|
||||||
|
letterSpacing: 0.42px
|
||||||
|
heading-2:
|
||||||
|
fontFamily: arcadiaDisplay
|
||||||
|
fontSize: 28px
|
||||||
|
fontWeight: 480
|
||||||
|
lineHeight: 1.2
|
||||||
|
letterSpacing: 0.42px
|
||||||
|
lead:
|
||||||
|
fontFamily: arcadiaDisplay
|
||||||
|
fontSize: 24px
|
||||||
|
fontWeight: 480
|
||||||
|
lineHeight: 1.2
|
||||||
|
letterSpacing: 0.48px
|
||||||
|
body-lg:
|
||||||
|
fontFamily: arcadia
|
||||||
|
fontSize: 18px
|
||||||
|
fontWeight: 360
|
||||||
|
lineHeight: 1.35
|
||||||
|
letterSpacing: 0
|
||||||
|
body:
|
||||||
|
fontFamily: arcadia
|
||||||
|
fontSize: 16px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 1.4
|
||||||
|
letterSpacing: 0
|
||||||
|
ui:
|
||||||
|
fontFamily: arcadia
|
||||||
|
fontSize: 16px
|
||||||
|
fontWeight: 420
|
||||||
|
lineHeight: 1
|
||||||
|
letterSpacing: 0
|
||||||
|
ui-sm:
|
||||||
|
fontFamily: arcadia
|
||||||
|
fontSize: 14px
|
||||||
|
fontWeight: 420
|
||||||
|
lineHeight: 1
|
||||||
|
letterSpacing: 0.07px
|
||||||
|
eyebrow:
|
||||||
|
fontFamily: arcadia
|
||||||
|
fontSize: 14px
|
||||||
|
fontWeight: 500
|
||||||
|
lineHeight: 1
|
||||||
|
letterSpacing: 0.28px
|
||||||
|
legal:
|
||||||
|
fontFamily: arcadia
|
||||||
|
fontSize: 12px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 1.4
|
||||||
|
letterSpacing: 0.24px
|
||||||
|
|
||||||
|
rounded:
|
||||||
|
none: 0px
|
||||||
|
xs: 4px
|
||||||
|
sm: 8px
|
||||||
|
md: 12px
|
||||||
|
lg: 16px
|
||||||
|
xl: 32px
|
||||||
|
pill: 40px
|
||||||
|
full: 9999px
|
||||||
|
|
||||||
|
spacing:
|
||||||
|
xs: 8px
|
||||||
|
sm: 12px
|
||||||
|
md: 16px
|
||||||
|
lg: 20px
|
||||||
|
xl: 24px
|
||||||
|
xxl: 32px
|
||||||
|
huge: 40px
|
||||||
|
section: 80px
|
||||||
|
section-lg: 128px
|
||||||
|
|
||||||
|
components:
|
||||||
|
# ─── Brand-native components (extracted) ───
|
||||||
|
nav-bar:
|
||||||
|
backgroundColor: "{colors.night}"
|
||||||
|
textColor: "{colors.on-dark}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
padding: "16px 32px"
|
||||||
|
height: 72px
|
||||||
|
|
||||||
|
nav-link:
|
||||||
|
textColor: "{colors.on-dark}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.pill}"
|
||||||
|
padding: "0px 20px"
|
||||||
|
height: 40px
|
||||||
|
|
||||||
|
button-primary:
|
||||||
|
backgroundColor: "{colors.primary}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.xl}"
|
||||||
|
padding: "0px 20px"
|
||||||
|
height: 40px
|
||||||
|
|
||||||
|
button-glass-dark:
|
||||||
|
backgroundColor: "rgba(175, 178, 206, 0.2)"
|
||||||
|
textColor: "{colors.on-dark}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.pill}"
|
||||||
|
padding: "0px 20px"
|
||||||
|
height: 40px
|
||||||
|
|
||||||
|
button-tint-dark:
|
||||||
|
backgroundColor: "rgba(156, 180, 232, 0.2)"
|
||||||
|
textColor: "{colors.on-dark}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.pill}"
|
||||||
|
padding: "0px 20px"
|
||||||
|
height: 40px
|
||||||
|
|
||||||
|
button-tint-light:
|
||||||
|
backgroundColor: "rgba(82, 102, 235, 0.1)"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.pill}"
|
||||||
|
padding: "0px 20px"
|
||||||
|
height: 40px
|
||||||
|
|
||||||
|
button-outline-light:
|
||||||
|
backgroundColor: "rgba(112, 115, 147, 0.1)"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.pill}"
|
||||||
|
padding: "0px 20px"
|
||||||
|
height: 40px
|
||||||
|
|
||||||
|
button-small:
|
||||||
|
backgroundColor: "rgba(82, 102, 235, 0.1)"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.ui-sm}"
|
||||||
|
rounded: "{rounded.pill}"
|
||||||
|
padding: "0px 16px"
|
||||||
|
height: 32px
|
||||||
|
|
||||||
|
button-icon-round:
|
||||||
|
textColor: "{colors.on-dark}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
|
||||||
|
text-input:
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.xl}"
|
||||||
|
padding: "0px 0px 0px 20px"
|
||||||
|
height: 46px
|
||||||
|
|
||||||
|
email-capture:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
|
||||||
|
feature-card-dark:
|
||||||
|
backgroundColor: "{colors.night-raised}"
|
||||||
|
textColor: "{colors.on-dark}"
|
||||||
|
typography: "{typography.heading-2}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.xxl}"
|
||||||
|
|
||||||
|
feature-card-light:
|
||||||
|
backgroundColor: "{colors.lavender}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.heading-2}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.xxl}"
|
||||||
|
|
||||||
|
pricing-card:
|
||||||
|
backgroundColor: "{colors.surface-tint}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.heading-2}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
|
||||||
|
pricing-tier-column:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
|
||||||
|
toggle-switch:
|
||||||
|
backgroundColor: "{colors.primary}"
|
||||||
|
textColor: "{colors.ink-secondary}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
|
||||||
|
accordion-row:
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.ui-sm}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
padding: "10px 0px"
|
||||||
|
|
||||||
|
eyebrow-label:
|
||||||
|
textColor: "{colors.ink-secondary}"
|
||||||
|
typography: "{typography.eyebrow}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
|
||||||
|
stat-block:
|
||||||
|
textColor: "{colors.on-dark}"
|
||||||
|
typography: "{typography.stat}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
|
||||||
|
quote-block:
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.lead}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
|
||||||
|
logo-strip:
|
||||||
|
textColor: "{colors.on-dark}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
|
||||||
|
site-footer:
|
||||||
|
backgroundColor: "{colors.night}"
|
||||||
|
textColor: "{colors.on-dark}"
|
||||||
|
typography: "{typography.legal}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
|
||||||
|
# ─── Examples (illustrative, kit-mirror) ───
|
||||||
|
|
||||||
|
ex-pricing-tier:
|
||||||
|
description: "Default Pricing tier card. Re-uses feature-card chrome with brand canvas-soft surface."
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
borderColor: "{colors.fog}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.xxl}"
|
||||||
|
ex-pricing-tier-featured:
|
||||||
|
description: "Featured/highlighted tier — polarity-flipped surface (dark fill + light text in light mode, light fill + dark text in dark mode)."
|
||||||
|
backgroundColor: "{colors.ink}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.xxl}"
|
||||||
|
ex-product-selector:
|
||||||
|
description: "What's Included summary card — re-purposed for SaaS / B2B verticals (NOT a literal product gallery)."
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.xl}"
|
||||||
|
ex-cart-drawer:
|
||||||
|
description: "Subscription summary — re-purposed for SaaS / B2B (line items per add-on, not literal cart)."
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.xl}"
|
||||||
|
item-divider: "{colors.fog}"
|
||||||
|
ex-app-shell-row:
|
||||||
|
description: "Sidebar nav row inside the App Shell example. Active state uses brand primary as the indicator."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
activeIndicator: "{colors.primary}"
|
||||||
|
rounded: "{rounded.sm}"
|
||||||
|
padding: "{spacing.xs} {spacing.sm}"
|
||||||
|
ex-data-table-cell:
|
||||||
|
description: "Default data-table th + td chrome. Header uses mono-caps eyebrow typography; body uses body-sm."
|
||||||
|
headerBackground: "{colors.surface}"
|
||||||
|
headerTypography: "{typography.eyebrow}"
|
||||||
|
bodyTypography: "{typography.body}"
|
||||||
|
cellPadding: "{spacing.sm} {spacing.md}"
|
||||||
|
rowBorder: "{colors.fog}"
|
||||||
|
ex-auth-form-card:
|
||||||
|
description: "Sign-in / sign-up card. Re-uses feature-card chrome with text-input primitives inside."
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.xxl}"
|
||||||
|
ex-modal-card:
|
||||||
|
description: "Modal dialog surface — same chrome as feature-card with elevated shadow."
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.xxl}"
|
||||||
|
ex-empty-state-card:
|
||||||
|
description: "Empty-state illustration frame."
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.huge}"
|
||||||
|
captionTypography: "{typography.body}"
|
||||||
|
ex-toast:
|
||||||
|
description: "Toast notification surface — feature-card shape + medium shadow."
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.sm} {spacing.md}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
|
Mercury feels like a private bank that happens to be a software company: quiet, precise and slightly nocturnal. The homepage lives in a deep ink-violet night (`{colors.night}` — #171721). Headlines are pale lavender-white (`{colors.on-dark}`), cards sit one shade lifted (`{colors.night-raised}`), and product imagery glows softly out of the dark. Move to the product and pricing pages and the whole system flips to day: a near-white canvas (`{colors.canvas}`), deep plum-ink text (`{colors.ink}`) and pale lavender feature cards (`{colors.lavender}`). The nav bar and footer stay in the night colour on every page, so each light page is bracketed in dark.
|
||||||
|
|
||||||
|
One colour carries the actions in both worlds: Mercury Indigo (`{colors.primary}` — #5266eb). It fills the "Open account" pill in the nav and hero, the annual-pricing toggle, and the brand accent in plan names. Everything else that is clickable is softer: translucent secondary pills tinted with lavender-grey, periwinkle or a 10% wash of the indigo, all with generous 40px capsule corners. The effect is calm and confident, with one saturated button and everything around it whispering.
|
||||||
|
|
||||||
|
Typography is Mercury's own custom family: arcadiaDisplay for headlines and arcadia for text, set at unusually light variable weights (360 for body copy, 420 for UI, 480 for headlines). Nothing on the page is bold in the usual sense. Headlines get presence from size and a hair of extra tracking, not weight.
|
||||||
|
|
||||||
|
**Key Characteristics:**
|
||||||
|
- Two native surface worlds: a dark homepage (`{colors.night}` / `{colors.night-raised}`) and light product pages (`{colors.canvas}` / `{colors.lavender}`), both framed by the night nav and footer.
|
||||||
|
- A single saturated action colour, `{colors.primary}`, on a `{rounded.xl}` pill.
|
||||||
|
- Secondary actions as translucent capsules (`{rounded.pill}`) rather than outlines or grey buttons.
|
||||||
|
- Custom arcadia / arcadiaDisplay type at light variable weights (360–480).
|
||||||
|
- Softly rounded cards (`{rounded.md}`) with generous `{spacing.xxl}` padding and no shadows.
|
||||||
|
- Page rhythm: night nav → dark or light hero → alternating card grids → centered quote → closing CTA → night footer.
|
||||||
|
|
||||||
|
## Colors
|
||||||
|
|
||||||
|
> Source pages analysed: the homepage, the pricing page, and the business-banking product page.
|
||||||
|
|
||||||
|
### Brand & Accent
|
||||||
|
- **Mercury Indigo** (`{colors.primary}` — #5266eb): "Open account" pills, the annual-pricing toggle, the brand accent in plan names ("Plus", "Pro"), and the 10% tint behind light-world secondary pills.
|
||||||
|
- **On Primary** (`{colors.on-primary}` — #ffffff): labels on indigo.
|
||||||
|
- **Periwinkle** (`{colors.periwinkle}` — #9cb4e8): used at 20% opacity as the fill of the "Contact sales" pill on dark sections.
|
||||||
|
|
||||||
|
### Surface
|
||||||
|
- **Canvas** (`{colors.canvas}` — #fbfcfd): light page background for the product and pricing pages.
|
||||||
|
- **Surface** (`{colors.surface}` — #ffffff): tier columns inside the pricing card, and the email-capture field.
|
||||||
|
- **Surface Tint** (`{colors.surface-tint}` — #fbfbff): the pricing comparison card wrapper, a whisper cooler than white.
|
||||||
|
- **Lavender** (`{colors.lavender}` — #edecfb): feature and product cards on light pages.
|
||||||
|
- **Night** (`{colors.night}` — #171721): nav bar, homepage canvas, and footer on every page.
|
||||||
|
- **Night Raised** (`{colors.night-raised}` — #1e1e2a): feature and spotlight cards on the dark homepage.
|
||||||
|
|
||||||
|
### Text
|
||||||
|
- **Ink** (`{colors.ink}` — #28253b): headlines and body on light pages.
|
||||||
|
- **Ink Secondary** (`{colors.ink-secondary}` — #554e7b): descriptions, captions and eyebrows on light pages.
|
||||||
|
- **On Dark** (`{colors.on-dark}` — #ededf3): headlines and primary text on night surfaces.
|
||||||
|
- **Fog** (`{colors.fog}` — #c3c3cc): secondary text on night surfaces, nav eyebrows, and 1px rules between accordion rows on light pages.
|
||||||
|
- **Slate** (`{colors.slate}` — #70707d): 1px dividers between list rows on the dark homepage.
|
||||||
|
|
||||||
|
## Typography
|
||||||
|
|
||||||
|
### Font Family
|
||||||
|
- **arcadiaDisplay**: Mercury's custom display face for headlines, stats and large quotes, at weight 480 with slight positive tracking at card sizes.
|
||||||
|
- **arcadia**: the matching text face for body copy (360–400), UI labels and buttons (420), and small uppercase eyebrows (500).
|
||||||
|
|
||||||
|
### Hierarchy
|
||||||
|
|
||||||
|
| Token | Family | Size | Weight | Line Height | Letter Spacing | Use |
|
||||||
|
|---|---|---|---|---|---|---|
|
||||||
|
| `{typography.stat}` | arcadiaDisplay | 60px | 480 | 1.1 | 0 | Large stat numerals ("300K+") |
|
||||||
|
| `{typography.display}` | arcadiaDisplay | 52px | 480 | 1.1 | 0 | Hero headlines |
|
||||||
|
| `{typography.heading-1}` | arcadiaDisplay | 42px | 480 | 1.15 | 0.42px | Section headlines |
|
||||||
|
| `{typography.heading-2}` | arcadiaDisplay | 28px | 480 | 1.2 | 0.42px | Card titles, plan names |
|
||||||
|
| `{typography.lead}` | arcadiaDisplay | 24px | 480 | 1.2 | 0.48px | Lead statements, pull quotes |
|
||||||
|
| `{typography.body-lg}` | arcadia | 18px | 360 | 1.35 | 0 | Card descriptions, intro copy |
|
||||||
|
| `{typography.body}` | arcadia | 16px | 400 | 1.4 | 0 | Default body copy |
|
||||||
|
| `{typography.ui}` | arcadia | 16px | 420 | 1 | 0 | Buttons, nav, inputs |
|
||||||
|
| `{typography.ui-sm}` | arcadia | 14px | 420 | 1 | 0.07px | Small pills, accordion labels |
|
||||||
|
| `{typography.eyebrow}` | arcadia | 14px | 500 | 1 | 0.28px | Uppercase eyebrows ("COMPARE PLANS") |
|
||||||
|
| `{typography.legal}` | arcadia | 12px | 400 | 1.4 | 0.24px | Disclaimers, footer fine print |
|
||||||
|
|
||||||
|
### Principles
|
||||||
|
- Light weights everywhere: body at 360, UI at 420, headlines at 480. Hierarchy comes from size and colour.
|
||||||
|
- Headlines get a touch of positive tracking at card sizes instead of the usual negative tightening.
|
||||||
|
- Uppercase is reserved for small eyebrows.
|
||||||
|
|
||||||
|
### Note on Font Substitutes
|
||||||
|
arcadia and arcadiaDisplay are proprietary. Inter (variable, used at 350–480) is the closest open-source match for both. Keep the light weights, and add about 0.01em of tracking at display sizes to match arcadiaDisplay's open fit.
|
||||||
|
|
||||||
|
## Layout
|
||||||
|
|
||||||
|
### Spacing System
|
||||||
|
- **Base unit**: 8px.
|
||||||
|
- **Tokens**: `{spacing.xs}` 8px · `{spacing.sm}` 12px · `{spacing.md}` 16px · `{spacing.lg}` 20px · `{spacing.xl}` 24px · `{spacing.xxl}` 32px · `{spacing.huge}` 40px · `{spacing.section}` 80px · `{spacing.section-lg}` 128px.
|
||||||
|
- Cards pad `{spacing.xxl}` and pills pad 20px horizontally. Sections are separated by `{spacing.section}` to `{spacing.section-lg}` of vertical space on every page.
|
||||||
|
|
||||||
|
### Grid & Container
|
||||||
|
- Content is centered in a column of roughly 1100–1200px. Headlines are narrower (~600px) and centered.
|
||||||
|
- Feature cards run in 2- and 3-up grids. The pricing card is a 3-column comparison table about 900px wide.
|
||||||
|
- Split sections pair a text column with a product mockup.
|
||||||
|
|
||||||
|
### Whitespace Philosophy
|
||||||
|
Generous vertical space and centered headlines give every section a calm, gallery-like pace. Cards rely on fill colour rather than borders to separate from the canvas.
|
||||||
|
|
||||||
|
### Responsive Strategy
|
||||||
|
|
||||||
|
#### Breakpoints
|
||||||
|
| Name | Width | Key Changes |
|
||||||
|
|---|---|---|
|
||||||
|
| Desktop | ≥ 1200px | Full nav with dropdown pills; 3-up grids; split sections side by side |
|
||||||
|
| Laptop | 1024–1199px | Narrower container; headlines scale down fluidly |
|
||||||
|
| Tablet | 768–1023px | Grids go 2-up; split sections stack |
|
||||||
|
| Mobile | < 768px | Nav collapses to a menu; single-column cards; the pricing table becomes stacked tiers |
|
||||||
|
|
||||||
|
#### Touch Targets
|
||||||
|
Pills are 40px tall and the email capture is 46px. On touch devices, pad hit areas to 44px.
|
||||||
|
|
||||||
|
#### Collapsing Strategy
|
||||||
|
- Nav dropdown pills collapse into a menu. The "Open account" pill stays visible.
|
||||||
|
- Card grids reflow 3 → 2 → 1 columns.
|
||||||
|
- Headline sizes are fluid and scale with the viewport.
|
||||||
|
- The email capture stacks the field above the button on narrow screens.
|
||||||
|
|
||||||
|
#### Image Behavior
|
||||||
|
Product mockups and illustrations sit inside rounded cards (`{rounded.md}`) or float on the canvas. Hero photography on the homepage is full-bleed and fades into the night canvas.
|
||||||
|
|
||||||
|
## Elevation & Depth
|
||||||
|
|
||||||
|
| Level | Treatment | Use |
|
||||||
|
|---|---|---|
|
||||||
|
| 0 — Flat | No shadow; separated by fill colour | Canvas, cards, pills |
|
||||||
|
| 1 — Soft stack | Very faint layered shadow (≈2–9% ink) | Pricing card and product mockups on light pages |
|
||||||
|
| 2 — Glow | Photography and luminous illustrations on `{colors.night}` | Homepage hero and feature art |
|
||||||
|
|
||||||
|
Depth is almost entirely tonal: cards lift by one step of colour, not by shadow. The only shadows are hair-thin, low-opacity stacks under the pricing card and floating product mockups.
|
||||||
|
|
||||||
|
### Decorative Depth
|
||||||
|
The dark homepage uses luminous, softly-lit 3D illustrations (glowing orbs, light trails, fingerprint patterns) that give the night canvas atmosphere without gradients in the UI chrome itself.
|
||||||
|
|
||||||
|
## Shapes
|
||||||
|
|
||||||
|
### Border Radius Scale
|
||||||
|
|
||||||
|
| Token | Value | Use |
|
||||||
|
|---|---|---|
|
||||||
|
| `{rounded.none}` | 0px | Nav, footer, table columns |
|
||||||
|
| `{rounded.xs}` | 4px | Small tags, checkboxes |
|
||||||
|
| `{rounded.sm}` | 8px | Images, small controls, selects |
|
||||||
|
| `{rounded.md}` | 12px | Feature cards, pricing card, regions |
|
||||||
|
| `{rounded.lg}` | 16px | Larger panels and media frames |
|
||||||
|
| `{rounded.xl}` | 32px | Primary "Open account" pill, input left edge |
|
||||||
|
| `{rounded.pill}` | 40px | Secondary and nav pills |
|
||||||
|
| `{rounded.full}` | 9999px | Round icon buttons, toggles, email capture |
|
||||||
|
|
||||||
|
### Photography Geometry
|
||||||
|
Product screenshots and illustrations sit in `{rounded.md}` or `{rounded.lg}` frames. Hero photography is full-bleed. Customer logos appear as a flat monochrome strip.
|
||||||
|
|
||||||
|
## Components
|
||||||
|
|
||||||
|
> Only Default states are documented. Variants live as separate `components:` entries.
|
||||||
|
|
||||||
|
### Navigation
|
||||||
|
|
||||||
|
**`nav-bar`**: a 72px `{colors.night}` bar on every page, with 16px × 32px padding. It holds the wordmark on the left, dropdown `nav-link` pills in the centre, and "Log in" plus a `button-primary` on the right.
|
||||||
|
|
||||||
|
**`nav-link`**: transparent 40px pills (`{rounded.pill}`, 0 × 20px padding) in `{colors.on-dark}` `{typography.ui}` with small chevrons.
|
||||||
|
|
||||||
|
### Buttons
|
||||||
|
|
||||||
|
**`button-primary`**: a `{colors.primary}` pill with a `{colors.on-primary}` `{typography.ui}` label, `{rounded.xl}` corners, 0 × 20px padding and 40px height. Used for "Open account".
|
||||||
|
|
||||||
|
**`button-glass-dark`**: a translucent lavender-grey pill (20% fill, with a 1px border at 36%) holding an `{colors.on-dark}` label. Used on the dark hero ("Launch demo").
|
||||||
|
|
||||||
|
**`button-tint-dark`**: a periwinkle pill at 20% opacity with an `{colors.on-dark}` label. Used for "Contact sales" on dark sections.
|
||||||
|
|
||||||
|
**`button-tint-light`**: an indigo pill at 10% opacity with an `{colors.ink}` label. Used for "Explore demo" and the in-card "Open account" on light pages.
|
||||||
|
|
||||||
|
**`button-outline-light`**: a grey-violet pill at 10% opacity with a 1px border at 22% and an `{colors.ink}` label. Used for "Contact sales" on light heroes.
|
||||||
|
|
||||||
|
**`button-small`**: a 32px-tall version of `button-tint-light` in `{typography.ui-sm}` with 0 × 16px padding ("Expand all").
|
||||||
|
|
||||||
|
**`button-icon-round`**: circular icon controls (`{rounded.full}`) for play/pause and the "+" affordance on spotlight cards.
|
||||||
|
|
||||||
|
### Inputs & Forms
|
||||||
|
|
||||||
|
**`text-input`**: an email field with `{typography.ui}` text, 20px left padding, 46px height, and `{rounded.xl}` on the left edge only, so it fuses to the button beside it.
|
||||||
|
|
||||||
|
**`email-capture`**: the hero sign-up capsule, a `text-input` joined to a `button-primary` inside one rounded-full shell.
|
||||||
|
|
||||||
|
**`toggle-switch`**: a `{colors.primary}` pill switch beside an `{colors.ink-secondary}` `{typography.ui}` label ("Annual Pricing (15% off)").
|
||||||
|
|
||||||
|
### Cards & Containers
|
||||||
|
|
||||||
|
**`feature-card-dark`**: `{colors.night-raised}` fill, `{rounded.md}` corners, `{spacing.xxl}` padding, a `{typography.heading-2}` title in `{colors.on-dark}` and `{colors.fog}` body copy. Used for homepage spotlight and feature cards.
|
||||||
|
|
||||||
|
**`feature-card-light`**: the same shape on `{colors.lavender}`, with `{colors.ink}` titles and `{colors.ink-secondary}` `{typography.body-lg}` descriptions. Used for product-platform cards.
|
||||||
|
|
||||||
|
**`pricing-card`**: a `{colors.surface-tint}` wrapper with `{rounded.md}` corners and a very faint shadow. It holds a header row with a `eyebrow-label` and `toggle-switch`, then three `pricing-tier-column`s.
|
||||||
|
|
||||||
|
**`pricing-tier-column`**: a white column with the plan name in `{typography.heading-2}` (the plan suffix in `{colors.primary}`), the price, a `{colors.ink-secondary}` description, a `button-tint-light` or `button-primary`, and an icon-led feature list.
|
||||||
|
|
||||||
|
**`accordion-row`**: a full-width row with a leading icon, a `{typography.ui-sm}` label, a trailing chevron, 10px vertical padding and a 1px `{colors.fog}` rule between rows. Used for plan comparison and FAQs.
|
||||||
|
|
||||||
|
### Signature Components
|
||||||
|
|
||||||
|
**`eyebrow-label`**: uppercase `{typography.eyebrow}` in `{colors.ink-secondary}` on light pages and `{colors.fog}` on dark ("COMPARE PLANS").
|
||||||
|
|
||||||
|
**`stat-block`**: a `{typography.stat}` numeral in `{colors.on-dark}` over a small `{colors.fog}` caption, set in a row of four on the homepage.
|
||||||
|
|
||||||
|
**`quote-block`**: a centered pull quote in `{typography.lead}` with attribution below in `{typography.body}`.
|
||||||
|
|
||||||
|
**`logo-strip`**: a single row of monochrome customer wordmarks on the night canvas.
|
||||||
|
|
||||||
|
**`site-footer`**: a `{colors.night}` band with multi-column link lists in `{colors.fog}`, column heads in `{colors.on-dark}`, and a long block of `{typography.legal}` disclaimers.
|
||||||
|
|
||||||
|
### Examples (illustrative)
|
||||||
|
|
||||||
|
> Auto-derived kit-mirror demonstration surfaces (`scripts/derive-examples-block.mjs`). Each `ex-*` entry references brand-native primitives so downstream consumers (`/preview-design`, `/generate-kit`) re-skin the same 10 surfaces consistently.
|
||||||
|
|
||||||
|
**`ex-pricing-tier`** — Default Pricing tier card. Re-uses feature-card chrome with brand canvas-soft surface.
|
||||||
|
- Properties: `backgroundColor`, `textColor`, `borderColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-pricing-tier-featured`** — Featured/highlighted tier — polarity-flipped surface (dark fill + light text in light mode, light fill + dark text in dark mode).
|
||||||
|
- Properties: `backgroundColor`, `textColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-product-selector`** — What's Included summary card — re-purposed for SaaS / B2B verticals (NOT a literal product gallery).
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-cart-drawer`** — Subscription summary — re-purposed for SaaS / B2B (line items per add-on, not literal cart).
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`, `item-divider`
|
||||||
|
|
||||||
|
**`ex-app-shell-row`** — Sidebar nav row inside the App Shell example. Active state uses brand primary as the indicator.
|
||||||
|
- Properties: `backgroundColor`, `activeIndicator`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-data-table-cell`** — Default data-table th + td chrome. Header uses mono-caps eyebrow typography; body uses body-sm.
|
||||||
|
- Properties: `headerBackground`, `headerTypography`, `bodyTypography`, `cellPadding`, `rowBorder`
|
||||||
|
|
||||||
|
**`ex-auth-form-card`** — Sign-in / sign-up card. Re-uses feature-card chrome with text-input primitives inside.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-modal-card`** — Modal dialog surface — same chrome as feature-card with elevated shadow.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-empty-state-card`** — Empty-state illustration frame.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`, `captionTypography`
|
||||||
|
|
||||||
|
**`ex-toast`** — Toast notification surface — feature-card shape + medium shadow.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`, `typography`
|
||||||
|
|
||||||
|
|
||||||
|
## Do's and Don'ts
|
||||||
|
|
||||||
|
### Do
|
||||||
|
- Use `{colors.primary}` for the single most important action on a view, usually "Open account".
|
||||||
|
- Make secondary actions translucent pills (`{rounded.pill}`): lavender-grey or periwinkle on dark, indigo or grey-violet tints on light.
|
||||||
|
- Frame light pages with the `{colors.night}` nav and footer.
|
||||||
|
- Keep type light: `{typography.body-lg}` at 360, UI at 420, headlines at 480.
|
||||||
|
- Separate cards from the canvas with fill (`{colors.lavender}`, `{colors.night-raised}`) rather than borders or heavy shadows.
|
||||||
|
- Center section headlines and give sections `{spacing.section}` or more of vertical space.
|
||||||
|
|
||||||
|
### Don't
|
||||||
|
- Don't use more than one solid `{colors.primary}` button in a group. Everything else stays translucent.
|
||||||
|
- Don't set text in heavy bold weights. The brand never goes above 500.
|
||||||
|
- Don't use hard outlined buttons or square corners on actions.
|
||||||
|
- Don't put light-world ink (`{colors.ink}`) on night surfaces or `{colors.on-dark}` on the light canvas.
|
||||||
|
- Don't add strong drop shadows. Elevation is tonal.
|
||||||
|
- Don't introduce status greens or oranges into the chrome. They belong to product mockups, not the interface.
|
||||||
5
design-md/mercury/README.md
Normal file
5
design-md/mercury/README.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# Mercury Inspired Design System Analysis
|
||||||
|
|
||||||
|
Design system details have been moved to: https://getdesign.md/mercury/design-md
|
||||||
|
|
||||||
|
You can also view previews, dark mode examples, and download options on getdesign.md.
|
||||||
551
design-md/mydealz/DESIGN.md
Normal file
551
design-md/mydealz/DESIGN.md
Normal file
@ -0,0 +1,551 @@
|
|||||||
|
---
|
||||||
|
version: alpha
|
||||||
|
name: mydealz Analysis
|
||||||
|
description: An analysis of mydealz's design language — a high-density German deals-community system built on a confident brand green, where a stacked white-card feed carries thousands of deals and every card wears the signature hot/cold temperature control that turns pricing into a crowd vote. Fully-round 540px pill buttons, Averta CY at two weights, cool-gray page canvas, and a compact red/blue/orange status vocabulary keep the information-dense feed scannable and playful at once.
|
||||||
|
|
||||||
|
colors:
|
||||||
|
primary: "#30a83c"
|
||||||
|
on-primary: "#ffffff"
|
||||||
|
green-strong: "#197e25"
|
||||||
|
discount-surface: "#defde4"
|
||||||
|
hot: "#ce1736"
|
||||||
|
cold: "#034eb1"
|
||||||
|
warm: "#fb6001"
|
||||||
|
premium: "#7457dd"
|
||||||
|
canvas: "#f3f5f7"
|
||||||
|
surface: "#ffffff"
|
||||||
|
ink: "#000000"
|
||||||
|
body: "#6b6d70"
|
||||||
|
muted: "#a7a9ac"
|
||||||
|
hairline: "#dfe1e4"
|
||||||
|
warning-surface: "#faf9ca"
|
||||||
|
warning-text: "#9f5c0c"
|
||||||
|
|
||||||
|
typography:
|
||||||
|
display:
|
||||||
|
fontFamily: Averta CY
|
||||||
|
fontSize: 48px
|
||||||
|
fontWeight: 700
|
||||||
|
lineHeight: 1.1
|
||||||
|
letterSpacing: 0
|
||||||
|
heading-lg:
|
||||||
|
fontFamily: Averta CY
|
||||||
|
fontSize: 24px
|
||||||
|
fontWeight: 700
|
||||||
|
lineHeight: 1.2
|
||||||
|
letterSpacing: 0
|
||||||
|
heading:
|
||||||
|
fontFamily: Averta CY
|
||||||
|
fontSize: 20px
|
||||||
|
fontWeight: 700
|
||||||
|
lineHeight: 1.25
|
||||||
|
letterSpacing: 0
|
||||||
|
lead:
|
||||||
|
fontFamily: Averta CY
|
||||||
|
fontSize: 18px
|
||||||
|
fontWeight: 500
|
||||||
|
lineHeight: 1.4
|
||||||
|
letterSpacing: 0
|
||||||
|
body:
|
||||||
|
fontFamily: Averta CY
|
||||||
|
fontSize: 16px
|
||||||
|
fontWeight: 500
|
||||||
|
lineHeight: 1.5
|
||||||
|
letterSpacing: 0
|
||||||
|
ui:
|
||||||
|
fontFamily: Averta CY
|
||||||
|
fontSize: 14px
|
||||||
|
fontWeight: 700
|
||||||
|
lineHeight: 1.3
|
||||||
|
letterSpacing: 0
|
||||||
|
caption:
|
||||||
|
fontFamily: Averta CY
|
||||||
|
fontSize: 12px
|
||||||
|
fontWeight: 500
|
||||||
|
lineHeight: 1.3
|
||||||
|
letterSpacing: 0
|
||||||
|
micro:
|
||||||
|
fontFamily: Averta CY
|
||||||
|
fontSize: 10px
|
||||||
|
fontWeight: 700
|
||||||
|
lineHeight: 1.2
|
||||||
|
letterSpacing: 0
|
||||||
|
mono:
|
||||||
|
fontFamily: monospace
|
||||||
|
fontSize: 16px
|
||||||
|
fontWeight: 500
|
||||||
|
lineHeight: 1.4
|
||||||
|
letterSpacing: 0
|
||||||
|
|
||||||
|
rounded:
|
||||||
|
xs: 2px
|
||||||
|
sm: 4px
|
||||||
|
md: 8px
|
||||||
|
full: 540px
|
||||||
|
circle: 9999px
|
||||||
|
|
||||||
|
spacing:
|
||||||
|
xxs: 2px
|
||||||
|
xs: 4px
|
||||||
|
sm: 8px
|
||||||
|
md: 12px
|
||||||
|
lg: 16px
|
||||||
|
xl: 24px
|
||||||
|
xxl: 40px
|
||||||
|
|
||||||
|
components:
|
||||||
|
nav-bar:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
button-primary:
|
||||||
|
backgroundColor: "{colors.primary}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
padding: "0px 14px"
|
||||||
|
button-outline-green:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.primary}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
padding: "0px 14px"
|
||||||
|
borderColor: "{colors.primary}"
|
||||||
|
button-outline-neutral:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
padding: "0px 12px"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
button-muted:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.body}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
padding: "0px 14px"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
button-tag:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "0px 4px"
|
||||||
|
search-pill:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.body}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
deal-card:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "16px"
|
||||||
|
temperature-control:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.hot}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
temperature-up:
|
||||||
|
textColor: "{colors.hot}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
temperature-down:
|
||||||
|
textColor: "{colors.cold}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
price-lockup:
|
||||||
|
textColor: "{colors.primary}"
|
||||||
|
typography: "{typography.heading-lg}"
|
||||||
|
discount-badge:
|
||||||
|
backgroundColor: "{colors.discount-surface}"
|
||||||
|
textColor: "{colors.green-strong}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.sm}"
|
||||||
|
padding: "4px 8px"
|
||||||
|
badge-neutral-subtle:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "0px 4px"
|
||||||
|
badge-filled:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.body}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.sm}"
|
||||||
|
padding: "4px 8px"
|
||||||
|
borderColor: "{colors.surface}"
|
||||||
|
premium-badge:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.premium}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.sm}"
|
||||||
|
warning-badge:
|
||||||
|
backgroundColor: "{colors.warning-surface}"
|
||||||
|
textColor: "{colors.warning-text}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.sm}"
|
||||||
|
padding: "4px 8px"
|
||||||
|
text-input:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
padding: "9px 35px"
|
||||||
|
email-input:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "9px 16px"
|
||||||
|
timestamp-pill:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.body}"
|
||||||
|
typography: "{typography.caption}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
sidebar-card:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "16px"
|
||||||
|
avatar:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
rounded: "{rounded.circle}"
|
||||||
|
borderColor: "{colors.surface}"
|
||||||
|
country-selector:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
footer:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.body}"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
|
||||||
|
# ─── Examples (illustrative) — kit-mirror surfaces ───
|
||||||
|
ex-pricing-tier:
|
||||||
|
description: "Default Pricing tier card. Re-uses feature-card chrome with brand canvas-soft surface."
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
ex-pricing-tier-featured:
|
||||||
|
description: "Featured/highlighted tier — polarity-flipped surface (dark fill + light text in light mode, light fill + dark text in dark mode)."
|
||||||
|
backgroundColor: "{colors.ink}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
ex-product-selector:
|
||||||
|
description: "What's Included summary card — re-purposed for SaaS / B2B verticals (NOT a literal product gallery)."
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
ex-cart-drawer:
|
||||||
|
description: "Subscription summary — re-purposed for SaaS / B2B (line items per add-on, not literal cart)."
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
item-divider: "{colors.hairline}"
|
||||||
|
ex-app-shell-row:
|
||||||
|
description: "Sidebar nav row inside the App Shell example. Active state uses brand primary as the indicator."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
activeIndicator: "{colors.primary}"
|
||||||
|
rounded: "{rounded.sm}"
|
||||||
|
padding: "{spacing.sm} {spacing.md}"
|
||||||
|
ex-data-table-cell:
|
||||||
|
description: "Default data-table th + td chrome. Header uses mono-caps eyebrow typography; body uses body-sm."
|
||||||
|
headerBackground: "{colors.surface}"
|
||||||
|
headerTypography: "{typography.caption}"
|
||||||
|
bodyTypography: "{typography.body}"
|
||||||
|
cellPadding: "{spacing.sm} {spacing.md}"
|
||||||
|
rowBorder: "{colors.hairline}"
|
||||||
|
ex-auth-form-card:
|
||||||
|
description: "Sign-in / sign-up card. Re-uses feature-card chrome with text-input primitives inside."
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
ex-modal-card:
|
||||||
|
description: "Modal dialog surface — same chrome as feature-card with elevated shadow."
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
ex-empty-state-card:
|
||||||
|
description: "Empty-state illustration frame."
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.xl}"
|
||||||
|
captionTypography: "{typography.body}"
|
||||||
|
ex-toast:
|
||||||
|
description: "Toast notification surface — feature-card shape + medium shadow."
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.sm} {spacing.md}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
|
mydealz is a deals-community feed running at maximum density: a single cool-gray canvas (`{colors.canvas}`) stacked with hundreds of white deal cards (`{colors.surface}`), each one a compact bundle of thumbnail, title, price, and social signals. The design's whole job is to make that firehose scannable, and it does it with one confident brand green (`{colors.primary}`) — the color of every price, every "Zum Deal" pill, every submit action — plus a tight status vocabulary that keeps the eye moving.
|
||||||
|
|
||||||
|
The signature move is the **temperature control**: every deal carries a pill showing a cold-blue down-arrow (`{colors.cold}`), the deal's crowd-voted temperature in hot-red (`{colors.hot}`), and a hot-red up-arrow — pricing turned into a live vote. That red/blue pairing, extended by a warm orange (`{colors.warm}`) for rising deals and a premium violet (`{colors.premium}`) for highlighted content, is the brand's playful counterweight to an otherwise businesslike grid. Discount percentages sit in soft mint pills (`{colors.discount-surface}`), so a card reads at a glance: green price, red-hot temperature, mint saving.
|
||||||
|
|
||||||
|
Geometrically the system is defined by the **fully-round 540px pill** — buttons, the search field, the temperature control, filter chips all curve to a complete radius, while content cards settle at a friendly 8px. Averta CY carries everything at just two weights (medium 500, bold 700), keeping headlines punchy and the dense body legible. Depth is minimal: cards separate with a hairline (`{colors.hairline}`) and lift on the softest shadow only when they matter.
|
||||||
|
|
||||||
|
**Key Characteristics:**
|
||||||
|
- One brand green (`{colors.primary}`) owns every action and every price — the single unifying signal across a chaotic feed
|
||||||
|
- Signature hot/cold **temperature control**: `{colors.cold}` down-vote, `{colors.hot}` up-vote and temperature reading, on every deal card
|
||||||
|
- Fully-round `{rounded.full}` (540px) pills for buttons, search, chips, and the temperature control; 8px cards
|
||||||
|
- Mint discount pills (`{colors.discount-surface}`) pairing green savings against the red-hot temperature
|
||||||
|
- Averta CY at two weights (500/700) driving a punchy, high-density type system
|
||||||
|
- Cool-gray canvas (`{colors.canvas}`) behind stacked white cards (`{colors.surface}`) — a scannable card feed, not a marketing page
|
||||||
|
- A compact accent set — `{colors.warm}` orange for rising, `{colors.premium}` violet for highlighted — kept strictly functional
|
||||||
|
|
||||||
|
## Colors
|
||||||
|
|
||||||
|
### Brand & Accent
|
||||||
|
- **Deal Green** (`{colors.primary}` — #30a83c): The brand's core. Fills every primary CTA pill, every deal price, submit actions, active links, and highlighted stats. On-color content is `{colors.on-primary}`.
|
||||||
|
- **Strong Green** (`{colors.green-strong}`): A darker green for green text on light surfaces (discount-badge label, outline-button glyphs) where the fill green would be too light.
|
||||||
|
- **Hot Red** (`{colors.hot}`): The temperature "hot" signal — the deal's degree reading and the up-vote arrow. The brand's excitement color.
|
||||||
|
- **Cold Blue** (`{colors.cold}`): The temperature "cold" signal — the down-vote arrow. Always paired against `{colors.hot}` in the temperature control.
|
||||||
|
- **Rising Orange** (`{colors.warm}`): A warm accent for rising/trending deals, sitting between cold and hot on the temperature spectrum.
|
||||||
|
- **Premium Violet** (`{colors.premium}`): Highlight accent for premium / featured content markers.
|
||||||
|
- **Discount Mint** (`{colors.discount-surface}`): The soft green pill behind a saving percentage.
|
||||||
|
|
||||||
|
### Surface
|
||||||
|
- **Canvas** (`{colors.canvas}`): The cool light-gray page ground that stacked white cards sit on.
|
||||||
|
- **Surface** (`{colors.surface}`): Pure white — every card, the nav, the footer, buttons.
|
||||||
|
- **Hairline** (`{colors.hairline}`): The 1px border on cards, buttons, and dividers.
|
||||||
|
|
||||||
|
### Text
|
||||||
|
- **Ink** (`{colors.ink}`): True black for deal titles, headings, and primary text.
|
||||||
|
- **Body** (`{colors.body}`): Mid gray for secondary copy, metadata, muted button labels.
|
||||||
|
- **Muted** (`{colors.muted}`): Light gray for the quietest captions and placeholder text.
|
||||||
|
|
||||||
|
### Semantic
|
||||||
|
- **Warning Surface / Text** (`{colors.warning-surface}` / `{colors.warning-text}`): The soft-yellow pill and amber-brown text used for expiring / caution deal states.
|
||||||
|
|
||||||
|
## Typography
|
||||||
|
|
||||||
|
### Font Family
|
||||||
|
|
||||||
|
**Averta CY** — a humanist geometric sans — carries the entire system at two weights: medium (500) for body and lead copy, bold (700) for headings, UI labels, prices, and micro-labels. A **monospace** face appears in rare technical contexts (voucher codes). There is no light or black weight; the two-weight discipline keeps the dense feed consistent.
|
||||||
|
|
||||||
|
### Hierarchy
|
||||||
|
|
||||||
|
| Token | Size | Weight | Line Height | Letter Spacing | Use |
|
||||||
|
|---|---|---|---|---|---|
|
||||||
|
| `{typography.display}` | 48px | 700 | 1.1 | 0 | Page hero headline |
|
||||||
|
| `{typography.heading-lg}` | 24px | 700 | 1.2 | 0 | Section titles, deal price |
|
||||||
|
| `{typography.heading}` | 20px | 700 | 1.25 | 0 | Card / block headings |
|
||||||
|
| `{typography.lead}` | 18px | 500 | 1.4 | 0 | Lead paragraphs, prominent links |
|
||||||
|
| `{typography.body}` | 16px | 500 | 1.5 | 0 | Body copy, deal descriptions |
|
||||||
|
| `{typography.ui}` | 14px | 700 | 1.3 | 0 | Button labels, temperature, badges |
|
||||||
|
| `{typography.caption}` | 12px | 500 | 1.3 | 0 | Metadata, timestamps |
|
||||||
|
| `{typography.micro}` | 10px | 700 | 1.2 | 0 | Micro-labels, counts |
|
||||||
|
| `{typography.mono}` | 16px | 500 | 1.4 | 0 | Voucher codes |
|
||||||
|
|
||||||
|
### Principles
|
||||||
|
- Two weights only — 500 for reading, 700 for everything that signals or acts.
|
||||||
|
- Prices and temperatures are always bold; they're the two numbers that matter most on a card.
|
||||||
|
- The dense feed leans on size and weight, never on color, for text hierarchy (color is reserved for status).
|
||||||
|
|
||||||
|
### Note on Font Substitutes
|
||||||
|
Averta CY is a commercial face. For open-source builds, **Mulish** or **Nunito Sans** (500/700) reproduce the humanist-geometric warmth with near-identical metrics; keep the two-weight split. Any system monospace substitutes for the voucher-code face.
|
||||||
|
|
||||||
|
## Layout
|
||||||
|
|
||||||
|
### Spacing System
|
||||||
|
- **Base unit**: 8px
|
||||||
|
- **Tokens (front matter)**: `{spacing.xxs}` 2px · `{spacing.xs}` 4px · `{spacing.sm}` 8px · `{spacing.md}` 12px · `{spacing.lg}` 16px · `{spacing.xl}` 24px · `{spacing.xxl}` 40px
|
||||||
|
- Cards pad `{spacing.lg}`; card rows stack with `{spacing.sm}`–`{spacing.md}` gaps for maximum density.
|
||||||
|
|
||||||
|
### Grid & Container
|
||||||
|
A two-column shell above ~768px: the main deal feed (single stacked column of full-width cards) plus a right sidebar of coupon, news, and discussion cards. Below the breakpoint the sidebar drops and the feed goes full-width. The container is wide and content-dense rather than a narrow reading column.
|
||||||
|
|
||||||
|
### Whitespace Philosophy
|
||||||
|
Whitespace is rationed — this is an information product, not a marketing page. Cards sit close together with tight internal padding; the cool-gray canvas gutters between white cards do the separating work, and the hairline borders keep each card crisp against its neighbors.
|
||||||
|
|
||||||
|
### Responsive Strategy
|
||||||
|
|
||||||
|
#### Breakpoints
|
||||||
|
| Name | Width | Key Changes |
|
||||||
|
|---|---|---|
|
||||||
|
| Mobile | < 768px | Single-column feed; sidebar drops; nav collapses to the "Menü" pill; temperature control and CTA stack under the card body |
|
||||||
|
| Desktop | ≥ 768px | Feed + right sidebar two-column shell; full nav row with search pill and category strip |
|
||||||
|
|
||||||
|
#### Touch Targets
|
||||||
|
Pill buttons (`{components.button-primary}`) and the temperature control clear a comfortable tap height; vote arrows, comment, share, and bookmark icons carry generous hit areas on the card foot.
|
||||||
|
|
||||||
|
#### Collapsing Strategy
|
||||||
|
The category strip and right sidebar collapse first; the nav condenses to the "Menü" pill + search + submit; deal cards reflow from a media-left row into a stacked thumbnail-over-body layout on narrow screens.
|
||||||
|
|
||||||
|
#### Image Behavior
|
||||||
|
Deal thumbnails are contained in `{rounded.md}` frames on the card's media side, never full-bleed; avatars are perfect circles (`{rounded.circle}`). Merchant logos and app-store badges render inline at fixed heights.
|
||||||
|
|
||||||
|
## Elevation & Depth
|
||||||
|
|
||||||
|
| Level | Treatment | Use |
|
||||||
|
|---|---|---|
|
||||||
|
| 0 | Flat on `{colors.canvas}` | Page ground, footer |
|
||||||
|
| 1 | 1px `{colors.hairline}` border | Deal cards, sidebar cards, buttons, inputs |
|
||||||
|
| 2 | Soft shadow `rgba(11,22,44,0.09) 0 4px 12px` | Elevated / hovered cards, dropdowns |
|
||||||
|
| 3 | Deeper drop `rgba(0,0,0,0.38) -1px 11px 15px -11px` | Overlays, sticky bars |
|
||||||
|
|
||||||
|
Depth is hairline-first. Cards separate by border and canvas gutter; the soft 4–12px shadow is reserved for elements that lift (menus, sticky bars, elevated cards). There are no heavy shadow stacks in the resting feed.
|
||||||
|
|
||||||
|
### Decorative Depth
|
||||||
|
The brand's playfulness lives in illustration, not gradients — a green cartoon frog mascot and companion characters appear in the consent and empty-state surfaces. The palette itself is flat; there are no brand gradients.
|
||||||
|
|
||||||
|
## Shapes
|
||||||
|
|
||||||
|
### Border Radius Scale
|
||||||
|
|
||||||
|
| Token | Value | Use |
|
||||||
|
|---|---|---|
|
||||||
|
| `{rounded.xs}` | 2px | Tightest inline chips |
|
||||||
|
| `{rounded.sm}` | 4px | Discount / filled badges, small tags |
|
||||||
|
| `{rounded.md}` | 8px | Deal cards, sidebar cards, thumbnails, tag buttons |
|
||||||
|
| `{rounded.full}` | 540px | Buttons, search pill, temperature control, filter chips — the pill signature |
|
||||||
|
| `{rounded.circle}` | 9999px | Avatars, icon buttons |
|
||||||
|
|
||||||
|
### Photography Geometry
|
||||||
|
Deal thumbnails sit in `{rounded.md}` frames on the card's media column; author and community avatars are circles (`{rounded.circle}`). There is no hero photography — the product IS the card grid.
|
||||||
|
|
||||||
|
## Components
|
||||||
|
|
||||||
|
### Buttons
|
||||||
|
|
||||||
|
**`button-primary`** — the green action ("Zum Deal", "Deal-Alarm anlegen", "Hinzufügen")
|
||||||
|
- Fill `{colors.primary}`, label `{colors.on-primary}` in `{typography.ui}`, shape `{rounded.full}`, padding `0px 14px`, often with a trailing external-link or plus glyph
|
||||||
|
|
||||||
|
**`button-outline-green`** — brand-tinted secondary ("+ Beitrag")
|
||||||
|
- `{colors.surface}` fill, `{colors.primary}` label + border, `{rounded.full}`, padding `0px 14px`
|
||||||
|
|
||||||
|
**`button-outline-neutral`** — quiet chrome ("Menü")
|
||||||
|
- `{colors.surface}` fill, `{colors.ink}` label, `{colors.hairline}` border, `{rounded.full}`, padding `0px 12px`
|
||||||
|
|
||||||
|
**`button-muted`** — de-emphasized action ("Ohne Zustimmung weiter")
|
||||||
|
- `{colors.surface}` fill, `{colors.body}` label, `{colors.hairline}` border, `{rounded.full}`
|
||||||
|
|
||||||
|
**`button-tag`** — compact utility control
|
||||||
|
- `{colors.surface}` fill, `{colors.ink}` label, `{rounded.md}`, tight `0px 4px` padding
|
||||||
|
|
||||||
|
### Cards & Containers
|
||||||
|
|
||||||
|
**`deal-card`** — the feed's atom
|
||||||
|
- `{colors.surface}` on `{colors.hairline}`, `{rounded.md}`, `{spacing.lg}` padding; media-left thumbnail, bold black title, a `price-lockup`, a `temperature-control`, merchant + author line, and a `button-primary` foot with comment/share/bookmark icons
|
||||||
|
|
||||||
|
**`sidebar-card`** — coupon / news / discussion tiles
|
||||||
|
- Same white-on-hairline `{rounded.md}` chrome as `deal-card`, in the right rail
|
||||||
|
|
||||||
|
**`timestamp-pill`** — "Gepostet vor …" marker
|
||||||
|
- `{colors.canvas}` fill, `{colors.body}` `{typography.caption}`, `{rounded.md}`, pinned top-right on a card
|
||||||
|
|
||||||
|
### Inputs & Forms
|
||||||
|
|
||||||
|
**`search-pill`** — the header search
|
||||||
|
- `{colors.surface}` pill at `{rounded.full}`, `{colors.hairline}` border, `{colors.body}` placeholder in `{typography.body}`, magnifier glyph left
|
||||||
|
|
||||||
|
**`text-input`**
|
||||||
|
- `{colors.surface}` field, `{colors.ink}` text, navy-translucent border, fully-round `{rounded.full}`, padding `9px 35px`
|
||||||
|
|
||||||
|
**`email-input`**
|
||||||
|
- `{colors.surface}` field at `{rounded.md}` (square-cornered against the pill search), padding `9px 16px`
|
||||||
|
|
||||||
|
### Navigation
|
||||||
|
|
||||||
|
**`nav-bar`**
|
||||||
|
- `{colors.surface}` bar with `{colors.hairline}` bottom rule: mydealz frog logo, `button-outline-neutral` "Menü", `search-pill`, "Deal-Alarm anlegen" and "Einloggen" text links, `button-outline-green` "+ Beitrag"; a category strip (Kategorien, Gutscheine, Freebies, Deals, Diskussionen, Club) sits below
|
||||||
|
|
||||||
|
**`footer`**
|
||||||
|
- `{colors.surface}` over a `{colors.hairline}` top rule; link columns (Firma, Community, Rechtliches) in `{colors.body}` with green links, social circle icons, app-store badges, and a `country-selector`
|
||||||
|
|
||||||
|
**`country-selector`**
|
||||||
|
- `{colors.surface}` `{rounded.md}` dropdown with flag + label, `{colors.hairline}` border
|
||||||
|
|
||||||
|
### Signature Components
|
||||||
|
|
||||||
|
**`temperature-control`** — the brand's defining component
|
||||||
|
- A fully-round `{rounded.full}` pill: `temperature-down` cold-blue (`{colors.cold}`) down-arrow, the deal's temperature reading in hot-red (`{colors.hot}`), and a `temperature-up` hot-red up-arrow — the crowd's price vote made visible
|
||||||
|
|
||||||
|
**`temperature-up`** / **`temperature-down`** — the vote arrows
|
||||||
|
- Up in `{colors.hot}`, down in `{colors.cold}`, both in `{typography.ui}`
|
||||||
|
|
||||||
|
**`price-lockup`** — the deal's number
|
||||||
|
- `{colors.primary}` green current price in `{typography.heading-lg}`, a struck-through `{colors.muted}` original, and a `discount-badge`
|
||||||
|
|
||||||
|
**`discount-badge`** — the saving
|
||||||
|
- `{colors.discount-surface}` mint pill with `{colors.green-strong}` label in `{typography.ui}`, `{rounded.sm}`, `4px 8px`
|
||||||
|
|
||||||
|
**`badge-neutral-subtle`** / **`badge-filled`** — status chips
|
||||||
|
- Subtle: white / black / `{rounded.md}`. Filled: `{colors.canvas}` fill, `{colors.body}` text, `{rounded.sm}` with a white hairline
|
||||||
|
|
||||||
|
**`premium-badge`** — highlighted-content marker
|
||||||
|
- `{colors.premium}` violet label on `{colors.surface}`, `{rounded.sm}`
|
||||||
|
|
||||||
|
**`warning-badge`** — expiring / caution state
|
||||||
|
- `{colors.warning-surface}` soft-yellow pill, `{colors.warning-text}` amber-brown label, `{rounded.sm}`
|
||||||
|
|
||||||
|
**`avatar`** — author / community
|
||||||
|
- Circle (`{rounded.circle}`) on `{colors.canvas}` with a white ring
|
||||||
|
|
||||||
|
### Examples (illustrative)
|
||||||
|
|
||||||
|
> Kit-mirror demonstration surfaces. These are not brand-native components — each `ex-*` entry references the brand primitives above so every example surface is shaped by this spec rather than template defaults.
|
||||||
|
|
||||||
|
**`ex-pricing-tier`** — Default Pricing tier card. Re-uses feature-card chrome with brand canvas-soft surface.
|
||||||
|
- Properties: `backgroundColor`, `textColor`, `borderColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-pricing-tier-featured`** — Featured/highlighted tier — polarity-flipped surface (dark fill + light text in light mode, light fill + dark text in dark mode).
|
||||||
|
- Properties: `backgroundColor`, `textColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-product-selector`** — What's Included summary card — re-purposed for SaaS / B2B verticals (NOT a literal product gallery).
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-cart-drawer`** — Subscription summary — re-purposed for SaaS / B2B (line items per add-on, not literal cart).
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`, `item-divider`
|
||||||
|
|
||||||
|
**`ex-app-shell-row`** — Sidebar nav row inside the App Shell example. Active state uses brand primary as the indicator.
|
||||||
|
- Properties: `backgroundColor`, `activeIndicator`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-data-table-cell`** — Default data-table th + td chrome. Header uses mono-caps eyebrow typography; body uses body-sm.
|
||||||
|
- Properties: `headerBackground`, `headerTypography`, `bodyTypography`, `cellPadding`, `rowBorder`
|
||||||
|
|
||||||
|
**`ex-auth-form-card`** — Sign-in / sign-up card. Re-uses feature-card chrome with text-input primitives inside.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-modal-card`** — Modal dialog surface — same chrome as feature-card with elevated shadow.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-empty-state-card`** — Empty-state illustration frame.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`, `captionTypography`
|
||||||
|
|
||||||
|
**`ex-toast`** — Toast notification surface — feature-card shape + medium shadow.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`, `typography`
|
||||||
|
|
||||||
|
|
||||||
|
## Do's and Don'ts
|
||||||
|
|
||||||
|
### Do
|
||||||
|
- Reserve `{colors.primary}` green for actions and prices — it is the single thread tying the feed together.
|
||||||
|
- Keep the `temperature-control` pairing intact: `{colors.cold}` down, `{colors.hot}` up and temperature — it's the brand's signature.
|
||||||
|
- Pill every button, chip, search, and the temperature control to `{rounded.full}`; keep content cards at `{rounded.md}`.
|
||||||
|
- Put savings in the `{colors.discount-surface}` mint badge beside the green price.
|
||||||
|
- Hold typography to Averta CY 500 / 700; bold every price and temperature.
|
||||||
|
- Separate cards with `{colors.hairline}` borders and the `{colors.canvas}` gutter, not heavy shadows.
|
||||||
|
|
||||||
|
### Don't
|
||||||
|
- Don't recolor prices or primary actions away from `{colors.primary}` green.
|
||||||
|
- Don't split the temperature pairing or recolor the vote arrows — cold is blue, hot is red, always.
|
||||||
|
- Don't introduce shadows on resting feed cards; the soft 4–12px shadow is for elements that lift.
|
||||||
|
- Don't use a third or fourth type weight — the system is 500 and 700 only.
|
||||||
|
- Don't let `{colors.warm}` orange or `{colors.premium}` violet drift into decorative use; they are functional status colors.
|
||||||
|
- Don't square off the pills — the fully-round `{rounded.full}` button is the brand's shape signature.
|
||||||
5
design-md/mydealz/README.md
Normal file
5
design-md/mydealz/README.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# mydealz Inspired Design System Analysis
|
||||||
|
|
||||||
|
Design system details have been moved to: https://getdesign.md/mydealz/design-md
|
||||||
|
|
||||||
|
You can also view previews, dark mode examples, and download options on getdesign.md.
|
||||||
722
design-md/nerdwallet/DESIGN.md
Normal file
722
design-md/nerdwallet/DESIGN.md
Normal file
@ -0,0 +1,722 @@
|
|||||||
|
---
|
||||||
|
version: alpha
|
||||||
|
name: NerdWallet Analysis
|
||||||
|
description: An analysis of NerdWallet's design language — a personal-finance comparison platform built almost entirely from one deep green and a ladder of mints beneath it. Editorial pages open on a green gradient band, then drop to near-white where dense comparison tables do the real work. Corners are almost square, shadows are nearly absent, and the whole system separates content with hairlines and pale mint washes rather than elevation.
|
||||||
|
|
||||||
|
colors:
|
||||||
|
primary: "#008254"
|
||||||
|
primary-deep: "#006642"
|
||||||
|
forest: "#00482f"
|
||||||
|
on-primary: "#ffffff"
|
||||||
|
lime-hero: "#9ae600"
|
||||||
|
lime-panel: "#e8fdac"
|
||||||
|
lime-accent: "#ddfa88"
|
||||||
|
lime-ribbon: "#a8ea4c"
|
||||||
|
logo-lime: "#8dc63f"
|
||||||
|
canvas: "#ffffff"
|
||||||
|
canvas-soft: "#f7f7f7"
|
||||||
|
mint-50: "#effcf8"
|
||||||
|
mint-100: "#e3faf2"
|
||||||
|
mint-200: "#b7ecda"
|
||||||
|
hairline: "#ebebec"
|
||||||
|
hairline-strong: "#d8d9da"
|
||||||
|
ink: "#000000"
|
||||||
|
body: "#3d4045"
|
||||||
|
muted: "#64666a"
|
||||||
|
faint: "#b1b3b5"
|
||||||
|
link: "#005fb9"
|
||||||
|
info: "#4b99e6"
|
||||||
|
error: "#de2828"
|
||||||
|
|
||||||
|
typography:
|
||||||
|
display-xl:
|
||||||
|
fontFamily: Gotham
|
||||||
|
fontSize: 52px
|
||||||
|
fontWeight: 700
|
||||||
|
lineHeight: 1.15
|
||||||
|
letterSpacing: 0
|
||||||
|
display-lg:
|
||||||
|
fontFamily: GothamDisplay
|
||||||
|
fontSize: 40px
|
||||||
|
fontWeight: 700
|
||||||
|
lineHeight: 1.2
|
||||||
|
letterSpacing: 0
|
||||||
|
heading-1:
|
||||||
|
fontFamily: GothamDisplay
|
||||||
|
fontSize: 36px
|
||||||
|
fontWeight: 700
|
||||||
|
lineHeight: 1.2
|
||||||
|
letterSpacing: 0
|
||||||
|
heading-2:
|
||||||
|
fontFamily: Gotham
|
||||||
|
fontSize: 28px
|
||||||
|
fontWeight: 700
|
||||||
|
lineHeight: 1.25
|
||||||
|
letterSpacing: 0
|
||||||
|
heading-3:
|
||||||
|
fontFamily: GothamDisplay
|
||||||
|
fontSize: 20px
|
||||||
|
fontWeight: 700
|
||||||
|
lineHeight: 1.3
|
||||||
|
letterSpacing: 0
|
||||||
|
heading-4:
|
||||||
|
fontFamily: Gotham
|
||||||
|
fontSize: 20px
|
||||||
|
fontWeight: 500
|
||||||
|
lineHeight: 1.3
|
||||||
|
letterSpacing: 0
|
||||||
|
stat-value:
|
||||||
|
fontFamily: Gotham
|
||||||
|
fontSize: 24px
|
||||||
|
fontWeight: 700
|
||||||
|
lineHeight: 1.2
|
||||||
|
letterSpacing: 0
|
||||||
|
body-lg:
|
||||||
|
fontFamily: Gotham
|
||||||
|
fontSize: 18px
|
||||||
|
fontWeight: 300
|
||||||
|
lineHeight: 1.5
|
||||||
|
letterSpacing: 0
|
||||||
|
body-md:
|
||||||
|
fontFamily: Gotham
|
||||||
|
fontSize: 16px
|
||||||
|
fontWeight: 300
|
||||||
|
lineHeight: 1.5
|
||||||
|
letterSpacing: 0
|
||||||
|
body-sm:
|
||||||
|
fontFamily: Gotham
|
||||||
|
fontSize: 14px
|
||||||
|
fontWeight: 300
|
||||||
|
lineHeight: 1.5
|
||||||
|
letterSpacing: 0
|
||||||
|
ui-label:
|
||||||
|
fontFamily: Gotham
|
||||||
|
fontSize: 14px
|
||||||
|
fontWeight: 700
|
||||||
|
lineHeight: 1.2
|
||||||
|
letterSpacing: 0
|
||||||
|
ui-sm:
|
||||||
|
fontFamily: Gotham
|
||||||
|
fontSize: 13px
|
||||||
|
fontWeight: 500
|
||||||
|
lineHeight: 1.3
|
||||||
|
letterSpacing: 0
|
||||||
|
caption:
|
||||||
|
fontFamily: Gotham
|
||||||
|
fontSize: 12px
|
||||||
|
fontWeight: 500
|
||||||
|
lineHeight: 1.4
|
||||||
|
letterSpacing: 0
|
||||||
|
eyebrow:
|
||||||
|
fontFamily: Gotham
|
||||||
|
fontSize: 12px
|
||||||
|
fontWeight: 700
|
||||||
|
lineHeight: 1.2
|
||||||
|
letterSpacing: 0
|
||||||
|
micro:
|
||||||
|
fontFamily: Gotham
|
||||||
|
fontSize: 11px
|
||||||
|
fontWeight: 500
|
||||||
|
lineHeight: 1.4
|
||||||
|
letterSpacing: 0
|
||||||
|
|
||||||
|
rounded:
|
||||||
|
none: 0px
|
||||||
|
xxs: 1px
|
||||||
|
xs: 2px
|
||||||
|
sm: 4px
|
||||||
|
md: 6px
|
||||||
|
lg: 8px
|
||||||
|
xl: 10px
|
||||||
|
xxl: 12px
|
||||||
|
xxxl: 16px
|
||||||
|
tooltip: 20px
|
||||||
|
full: 9999px
|
||||||
|
|
||||||
|
spacing:
|
||||||
|
xxs: 4px
|
||||||
|
xs: 8px
|
||||||
|
sm: 12px
|
||||||
|
md: 16px
|
||||||
|
lg: 20px
|
||||||
|
xl: 24px
|
||||||
|
xxl: 32px
|
||||||
|
section: 40px
|
||||||
|
|
||||||
|
components:
|
||||||
|
nav-bar:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.ui-label}"
|
||||||
|
|
||||||
|
logo-wordmark:
|
||||||
|
textColor: "{colors.primary}"
|
||||||
|
typography: "{typography.heading-4}"
|
||||||
|
|
||||||
|
button-primary:
|
||||||
|
backgroundColor: "{colors.primary}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.ui-label}"
|
||||||
|
rounded: "{rounded.xs}"
|
||||||
|
padding: "{spacing.md}"
|
||||||
|
|
||||||
|
button-secondary:
|
||||||
|
backgroundColor: "{colors.canvas-soft}"
|
||||||
|
textColor: "{colors.primary}"
|
||||||
|
typography: "{typography.ui-label}"
|
||||||
|
rounded: "{rounded.xs}"
|
||||||
|
padding: "{spacing.md}"
|
||||||
|
|
||||||
|
button-outline:
|
||||||
|
textColor: "{colors.primary}"
|
||||||
|
typography: "{typography.ui-label}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "8px 16px"
|
||||||
|
borderColor: "{colors.hairline-strong}"
|
||||||
|
|
||||||
|
text-input:
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body-md}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
|
||||||
|
hero-band:
|
||||||
|
backgroundColor: "{colors.primary}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.body-md}"
|
||||||
|
|
||||||
|
breadcrumb:
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.caption}"
|
||||||
|
|
||||||
|
editorial-badge:
|
||||||
|
textColor: "{colors.lime-panel}"
|
||||||
|
typography: "{typography.micro}"
|
||||||
|
|
||||||
|
expert-tip-panel:
|
||||||
|
backgroundColor: "{colors.lime-panel}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body-md}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
|
||||||
|
stat-block-dark:
|
||||||
|
backgroundColor: "{colors.primary-deep}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.stat-value}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
|
||||||
|
stat-chip-light:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.muted}"
|
||||||
|
typography: "{typography.caption}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
|
||||||
|
product-card:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body-md}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
borderColor: "{colors.hairline-strong}"
|
||||||
|
|
||||||
|
category-tile:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body-sm}"
|
||||||
|
rounded: "{rounded.xxl}"
|
||||||
|
|
||||||
|
section-panel-mint:
|
||||||
|
backgroundColor: "{colors.mint-50}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
rounded: "{rounded.xxxl}"
|
||||||
|
|
||||||
|
media-frame-mint:
|
||||||
|
backgroundColor: "{colors.mint-100}"
|
||||||
|
rounded: "{rounded.xxxl}"
|
||||||
|
|
||||||
|
award-ribbon-pill:
|
||||||
|
backgroundColor: "{colors.mint-100}"
|
||||||
|
textColor: "{colors.primary}"
|
||||||
|
typography: "{typography.eyebrow}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
|
||||||
|
icon-circle-active:
|
||||||
|
backgroundColor: "{colors.primary}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
|
||||||
|
icon-circle-inactive:
|
||||||
|
backgroundColor: "{colors.mint-50}"
|
||||||
|
textColor: "{colors.primary}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
|
||||||
|
comparison-row:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body-sm}"
|
||||||
|
|
||||||
|
spec-cell:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.body}"
|
||||||
|
typography: "{typography.caption}"
|
||||||
|
|
||||||
|
accordion-row:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.ui-label}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
|
||||||
|
link-inline:
|
||||||
|
textColor: "{colors.link}"
|
||||||
|
typography: "{typography.body-sm}"
|
||||||
|
|
||||||
|
link-green:
|
||||||
|
textColor: "{colors.primary}"
|
||||||
|
typography: "{typography.body-sm}"
|
||||||
|
|
||||||
|
eyebrow-label:
|
||||||
|
textColor: "{colors.muted}"
|
||||||
|
typography: "{typography.eyebrow}"
|
||||||
|
|
||||||
|
footer:
|
||||||
|
backgroundColor: "{colors.canvas-soft}"
|
||||||
|
textColor: "{colors.body}"
|
||||||
|
typography: "{typography.body-sm}"
|
||||||
|
|
||||||
|
rate-card:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body-sm}"
|
||||||
|
rounded: "{rounded.xxl}"
|
||||||
|
|
||||||
|
badge-compare:
|
||||||
|
backgroundColor: "{colors.lime-panel}"
|
||||||
|
textColor: "{colors.primary}"
|
||||||
|
typography: "{typography.eyebrow}"
|
||||||
|
rounded: "{rounded.xl}"
|
||||||
|
|
||||||
|
carousel-control:
|
||||||
|
backgroundColor: "{colors.mint-50}"
|
||||||
|
textColor: "{colors.primary}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
|
||||||
|
marquee-ribbon:
|
||||||
|
backgroundColor: "{colors.lime-ribbon}"
|
||||||
|
textColor: "{colors.primary}"
|
||||||
|
typography: "{typography.ui-label}"
|
||||||
|
|
||||||
|
# ─── Examples (illustrative) ───
|
||||||
|
ex-pricing-tier:
|
||||||
|
description: "Default Pricing tier card. Re-uses feature-card chrome with brand canvas-soft surface."
|
||||||
|
backgroundColor: "{colors.canvas-soft}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.xl}"
|
||||||
|
ex-pricing-tier-featured:
|
||||||
|
description: "Featured/highlighted tier — polarity-flipped surface (dark fill + light text in light mode, light fill + dark text in dark mode)."
|
||||||
|
backgroundColor: "{colors.primary}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.xl}"
|
||||||
|
ex-product-selector:
|
||||||
|
description: "What's Included summary card — re-purposed for SaaS / B2B verticals (NOT a literal product gallery)."
|
||||||
|
backgroundColor: "{colors.canvas-soft}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
ex-cart-drawer:
|
||||||
|
description: "Subscription summary — re-purposed for SaaS / B2B (line items per add-on, not literal cart)."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
item-divider: "{colors.hairline}"
|
||||||
|
ex-app-shell-row:
|
||||||
|
description: "Sidebar nav row inside the App Shell example. Active state uses brand primary as the indicator."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
activeIndicator: "{colors.primary}"
|
||||||
|
rounded: "{rounded.sm}"
|
||||||
|
padding: "{spacing.sm} {spacing.md}"
|
||||||
|
ex-data-table-cell:
|
||||||
|
description: "Default data-table th + td chrome. Header uses mono-caps eyebrow typography; body uses body-sm."
|
||||||
|
headerBackground: "{colors.canvas-soft}"
|
||||||
|
headerTypography: "{typography.eyebrow}"
|
||||||
|
bodyTypography: "{typography.body-sm}"
|
||||||
|
cellPadding: "{spacing.sm} {spacing.md}"
|
||||||
|
rowBorder: "{colors.hairline}"
|
||||||
|
ex-auth-form-card:
|
||||||
|
description: "Sign-in / sign-up card. Re-uses feature-card chrome with text-input primitives inside."
|
||||||
|
backgroundColor: "{colors.canvas-soft}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.xl}"
|
||||||
|
ex-modal-card:
|
||||||
|
description: "Modal dialog surface — same chrome as feature-card with elevated shadow."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.xl}"
|
||||||
|
ex-empty-state-card:
|
||||||
|
description: "Empty-state illustration frame."
|
||||||
|
backgroundColor: "{colors.canvas-soft}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.xxl}"
|
||||||
|
captionTypography: "{typography.body-md}"
|
||||||
|
ex-toast:
|
||||||
|
description: "Toast notification surface — feature-card shape + medium shadow."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.sm} {spacing.lg}"
|
||||||
|
typography: "{typography.body-sm}"
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
|
NerdWallet is a comparison engine wearing an editorial coat, and the design reflects both halves. Article pages open on a wide `{colors.primary}` gradient band carrying a white headline, a byline row and a set of trust badges — the only place the brand raises its voice. Everything below that band drops to `{colors.canvas}` and `{colors.canvas-soft}`, where dense rate tables and product cards do the actual work. The transition is abrupt by design: one saturated green rectangle, then a very long, very quiet document.
|
||||||
|
|
||||||
|
The palette is almost monochromatic in hue. `{colors.primary}` is a deep spruce green that fills every button, every active tab and every rating star, and beneath it sits a full ladder of mints — `{colors.mint-50}`, `{colors.mint-100}`, `{colors.mint-200}` — that wash section panels, icon tiles and photo frames. Those mints carry enormous surface area, far more than any accent, which is what keeps a page of financial tables from reading as a spreadsheet. The only colours outside the green family are `{colors.link}` for inline links and a lime family used for emphasis.
|
||||||
|
|
||||||
|
The shape language is the surprise. For a consumer product this heavily illustrated, the corners are nearly square: the primary button sits at `{rounded.xs}` — two pixels — and cards rarely exceed `{rounded.lg}`. There is essentially no elevation; the single shadow in the system is a very wide, very faint double-layer stack. Separation is done with `{colors.hairline}` rules and mint fills instead. The result reads as trustworthy and utilitarian rather than soft.
|
||||||
|
|
||||||
|
**Key Characteristics:**
|
||||||
|
- One deep green, `{colors.primary}`, fills every action and every active state across all page types.
|
||||||
|
- A three-step mint ladder (`{colors.mint-50}` → `{colors.mint-100}` → `{colors.mint-200}`) carries the largest surfaces in the system.
|
||||||
|
- Buttons are nearly square at `{rounded.xs}`; the shape language stays tight even where illustration is playful.
|
||||||
|
- Almost shadowless — `{colors.hairline}` rules and mint washes replace elevation.
|
||||||
|
- Editorial pages follow a fixed rhythm: green gradient band → white body → mint callout → white comparison table.
|
||||||
|
- A lime family (`{colors.lime-hero}`, `{colors.lime-panel}`, `{colors.lime-accent}`) supplies emphasis that green cannot, since green is spent on controls.
|
||||||
|
- Headings sit in pure `{colors.ink}` black, not a softened near-black.
|
||||||
|
|
||||||
|
## Colors
|
||||||
|
|
||||||
|
Source pages: the homepage, the high-yield savings comparison page, and the best-credit-cards page.
|
||||||
|
|
||||||
|
### Brand & Accent
|
||||||
|
|
||||||
|
- **Spruce** (`{colors.primary}` — #008254): the brand. It fills `{button-primary}`, `{icon-circle-active}`, rating stars and every in-body green link, and it is the base of the editorial hero gradient. By pixel volume it is the single most-used non-neutral in the system.
|
||||||
|
- **Deep Spruce** (`{colors.primary-deep}` — #006642): the fill of `{stat-block-dark}`, the dark statistic panel that sits inside the mint expert-tip callout.
|
||||||
|
- **Forest** (`{colors.forest}` — #00482f): the deepest green, used where the hero gradient lands darkest and on dense editorial chrome.
|
||||||
|
- **Logo Lime** (`{colors.logo-lime}` — #8dc63f): the lime inside the wordmark's leading mark. It appears at small scale on every page and nowhere else.
|
||||||
|
- **Hero Lime** (`{colors.lime-hero}` — #9ae600): the vivid lime that sets the brand name inside the homepage hero headline — one word, once per page.
|
||||||
|
- **Panel Lime** (`{colors.lime-panel}` — #e8fdac): the fill of `{expert-tip-panel}` and the colour of `{editorial-badge}` text on the green band.
|
||||||
|
- **Accent Lime** (`{colors.lime-accent}` — #ddfa88): a brighter lime used for highlight marks on the comparison pages.
|
||||||
|
- **Ribbon Lime** (`{colors.lime-ribbon}` — #a8ea4c): the lime end of the `{marquee-ribbon}` gradient — the only place the lime family covers a large surface.
|
||||||
|
|
||||||
|
### Surface
|
||||||
|
|
||||||
|
- **Canvas** (`{colors.canvas}` — #ffffff): the page, the nav bar and every card.
|
||||||
|
- **Soft Canvas** (`{colors.canvas-soft}` — #f7f7f7): the page tint behind long comparison pages and the fill of `{button-secondary}`. It carries more area than any other surface on the savings page.
|
||||||
|
- **Mint 50** (`{colors.mint-50}` — #effcf8): the palest wash, used for `{section-panel-mint}` and `{icon-circle-inactive}`.
|
||||||
|
- **Mint 100** (`{colors.mint-100}` — #e3faf2): one step up, used for `{media-frame-mint}` and `{award-ribbon-pill}`.
|
||||||
|
- **Mint 200** (`{colors.mint-200}` — #b7ecda): the most saturated mint, reserved for small emphasis fills.
|
||||||
|
- **Hairline** (`{colors.hairline}` — #ebebec): rules between table rows and inside cards.
|
||||||
|
- **Strong Hairline** (`{colors.hairline-strong}` — #d8d9da): the visible border on `{product-card}` and `{button-outline}`.
|
||||||
|
|
||||||
|
### Text
|
||||||
|
|
||||||
|
- **Ink** (`{colors.ink}` — #000000): every heading and product name. Pure black, not softened.
|
||||||
|
- **Body** (`{colors.body}` — #3d4045): running copy and `{spec-cell}` labels.
|
||||||
|
- **Muted** (`{colors.muted}` — #64666a): captions, disclosure lines and `{eyebrow-label}`.
|
||||||
|
- **Faint** (`{colors.faint}` — #b1b3b5): the quietest tier, used for de-emphasised metadata.
|
||||||
|
|
||||||
|
### Semantic
|
||||||
|
|
||||||
|
- **Link** (`{colors.link}` — #005fb9): inline links inside tables and cards, always underlined.
|
||||||
|
- **Info** (`{colors.info}` — #4b99e6): a lighter blue used for supporting informational marks.
|
||||||
|
- **Error** (`{colors.error}` — #de2828): the system's validation and destructive red, reserved for form errors and removal actions.
|
||||||
|
|
||||||
|
## Typography
|
||||||
|
|
||||||
|
### Font Family
|
||||||
|
|
||||||
|
**Gotham** and **GothamDisplay** carry the entire system. Gotham handles body copy, UI labels, captions and the largest homepage headline; GothamDisplay — the tighter-fitting display cut — takes most editorial headings between 14 and 40px. The pairing is unusual in that the display cut is used at *smaller* sizes than the text cut's maximum, so the two overlap through the middle of the scale rather than splitting cleanly at a size boundary.
|
||||||
|
|
||||||
|
The weight range is wide and genuinely used: 300 for body copy, 500 and 600 for interface text, 700 for headings and labels, and 900 available at the top. Body copy at weight 300 against 700 headings is what gives the long editorial pages their airy feel despite very tight corner radii. A serif, **Chronicle Display**, appears on the long-form editorial pages as a secondary face.
|
||||||
|
|
||||||
|
### Hierarchy
|
||||||
|
|
||||||
|
| Token | Size | Weight | Line Height | Letter Spacing | Use |
|
||||||
|
|---|---|---|---|---|---|
|
||||||
|
| `{typography.display-xl}` | 52px | 700 | 1.15 | 0 | Homepage hero headline |
|
||||||
|
| `{typography.display-lg}` | 40px | 700 | 1.2 | 0 | Editorial page headline |
|
||||||
|
| `{typography.heading-1}` | 36px | 700 | 1.2 | 0 | Section headline |
|
||||||
|
| `{typography.heading-2}` | 28px | 700 | 1.25 | 0 | Sub-section headline |
|
||||||
|
| `{typography.stat-value}` | 24px | 700 | 1.2 | 0 | Statistic figure |
|
||||||
|
| `{typography.heading-3}` | 20px | 700 | 1.3 | 0 | Card title |
|
||||||
|
| `{typography.heading-4}` | 20px | 500 | 1.3 | 0 | Light sub-heading |
|
||||||
|
| `{typography.body-lg}` | 18px | 300 | 1.5 | 0 | Lead paragraph |
|
||||||
|
| `{typography.body-md}` | 16px | 300 | 1.5 | 0 | Body copy |
|
||||||
|
| `{typography.body-sm}` | 14px | 300 | 1.5 | 0 | Table copy, captions |
|
||||||
|
| `{typography.ui-label}` | 14px | 700 | 1.2 | 0 | Button and nav labels |
|
||||||
|
| `{typography.ui-sm}` | 13px | 500 | 1.3 | 0 | Dense interface text |
|
||||||
|
| `{typography.caption}` | 12px | 500 | 1.4 | 0 | Field labels, disclosures |
|
||||||
|
| `{typography.eyebrow}` | 12px | 700 | 1.2 | 0 | Uppercase section labels |
|
||||||
|
| `{typography.micro}` | 11px | 500 | 1.4 | 0 | Trust badges, fine print |
|
||||||
|
|
||||||
|
### Principles
|
||||||
|
|
||||||
|
Hierarchy is carried by weight contrast more than by size. The gap between weight-300 body and weight-700 headings is wide enough that adjacent sizes (20px heading against 18px lead) still read as distinct levels. Uppercase is reserved for two roles — `{typography.eyebrow}` section labels and button text — and never used for headings.
|
||||||
|
|
||||||
|
### Note on Font Substitutes
|
||||||
|
|
||||||
|
Gotham and GothamDisplay are licensed faces. **Montserrat** is the closest widely-available geometric substitute for Gotham, though it runs slightly wider and needs a small negative tracking at display sizes; **Proxima Nova** or **Jost** are nearer in proportion if available. Keep the 300 weight for body copy — dropping to 400 collapses the weight contrast the hierarchy depends on. Substitute the editorial serif with **Playfair Display** or **Source Serif 4**.
|
||||||
|
|
||||||
|
## Layout
|
||||||
|
|
||||||
|
### Spacing System
|
||||||
|
|
||||||
|
- **Base unit**: 8px.
|
||||||
|
- **Tokens**: `{spacing.xxs}` 4px · `{spacing.xs}` 8px · `{spacing.sm}` 12px · `{spacing.md}` 16px · `{spacing.lg}` 20px · `{spacing.xl}` 24px · `{spacing.xxl}` 32px · `{spacing.section}` 40px.
|
||||||
|
- `{spacing.md}` is the universal control padding — both `{button-primary}` and `{button-secondary}` use a flat 16px on all sides, which is what gives the buttons their square, chunky proportion.
|
||||||
|
- `{button-outline}` breaks that pattern with `8px 16px`, making it visibly shorter than the filled buttons beside it.
|
||||||
|
|
||||||
|
### Grid & Container
|
||||||
|
|
||||||
|
Content centres in a container of roughly 1200px inside the 1280px viewport. The homepage runs a 5-up category tile grid that steps down to 4-up and 2-up. Editorial pages use a single wide column for the hero band and then a full-width comparison table with five semantic columns — institution, rating, headline rate, bonus, and action. Product cards on the credit-cards page are full-width blocks stacked vertically, each subdivided into a spec grid of three to four cells.
|
||||||
|
|
||||||
|
### Whitespace Philosophy
|
||||||
|
|
||||||
|
Whitespace is tight inside components and generous between them. Table rows sit close together with only a hairline separating them, but the gap between one comparison block and the next is large. The mint panels act as breathing room that still carries content — rather than leaving empty space, the system drops in a pale `{colors.mint-50}` band and lets the density fall instead.
|
||||||
|
|
||||||
|
### Responsive Strategy
|
||||||
|
|
||||||
|
#### Breakpoints
|
||||||
|
|
||||||
|
| Name | Width | Key Changes |
|
||||||
|
|---|---|---|
|
||||||
|
| Small mobile | < 425px | Single column; comparison tables become stacked cards; nav reduces to logo plus menu |
|
||||||
|
| Mobile | 425–599px | Single column; spec grids collapse to one-per-row |
|
||||||
|
| Large mobile | 600–767px | Two-up category tiles; table columns begin to drop |
|
||||||
|
| Tablet | 768–1023px | Category rail scrolls horizontally; product cards keep their action column |
|
||||||
|
| Laptop | 1024–1279px | Full table layout with tightened gutters |
|
||||||
|
| Desktop | ≥ 1280px | Full layout at container width |
|
||||||
|
|
||||||
|
#### Touch Targets
|
||||||
|
|
||||||
|
`{button-primary}` and `{button-secondary}` clear 44×44 comfortably at their flat `{spacing.md}` padding. `{button-outline}` at `8px 16px` sits close to the minimum and needs its hit area extended on touch widths. `{icon-circle-active}` and `{icon-circle-inactive}` render near 44px in the category rail.
|
||||||
|
|
||||||
|
#### Collapsing Strategy
|
||||||
|
|
||||||
|
The nav keeps the wordmark, search and both account controls as long as possible, dropping the category links first. The horizontal category rail on comparison pages becomes a scrolling strip rather than wrapping. Comparison tables are the main responsive event: below the tablet breakpoint each row reflows into a stacked card where the institution logo, rating and rate become vertical fields and the action button goes full-width. `{expert-tip-panel}` keeps its mint fill but drops `{stat-block-dark}` beneath the copy instead of beside it.
|
||||||
|
|
||||||
|
#### Image Behavior
|
||||||
|
|
||||||
|
Institution logos are supplied as fixed-height greyscale-friendly marks and never crop. Editorial illustration sits inside `{media-frame-mint}` at `{rounded.xxxl}`. Product art — credit-card faces — renders at a fixed small aspect inside `{product-card}` and is never full-bleed. Author avatars are circular at `{rounded.full}` in a small overlapping stack.
|
||||||
|
|
||||||
|
## Elevation & Depth
|
||||||
|
|
||||||
|
| Level | Treatment | Use |
|
||||||
|
|---|---|---|
|
||||||
|
| 0 | Flat on `{colors.canvas}` | Body copy, table rows, headings |
|
||||||
|
| 1 | 1px `{colors.hairline}` rule | Row dividers, spec-cell separators |
|
||||||
|
| 2 | 1px `{colors.hairline-strong}` border | `{product-card}`, `{button-outline}`, `{accordion-row}` |
|
||||||
|
| 3 | `rgba(100,102,106,0.05) 0 4px 16px` plus `rgba(100,102,104,0.05) 0 16px 40px` | `{button-primary}` and the few floating surfaces |
|
||||||
|
| 4 | `oklab(0 0 0 / 0.04) 0 20px 25px -5px` plus `0 8px 10px -6px` | Overlay surfaces |
|
||||||
|
|
||||||
|
The system is deliberately flat. Both shadow definitions sit at 4–5% opacity and spread very wide, so they register as a faint settling rather than a lift. On a page of financial data this reads as precision: nothing floats, everything is ruled.
|
||||||
|
|
||||||
|
### Decorative Depth
|
||||||
|
|
||||||
|
Depth comes from colour blocking and illustration, not from shadow. The green hero band is the only saturated plane; beneath it the mint ladder creates shallow steps between sections. Illustration is flat-vector — coin stacks, piggy banks, houses — sitting directly on white or mint with no drop shadow. The one genuinely dimensional element is the arrow motif inside `{stat-block-dark}`, which reads as a chart line breaking out of its container.
|
||||||
|
|
||||||
|
## Shapes
|
||||||
|
|
||||||
|
### Border Radius Scale
|
||||||
|
|
||||||
|
| Token | Value | Use |
|
||||||
|
|---|---|---|
|
||||||
|
| `{rounded.none}` | 0px | `{text-input}`, `{award-ribbon-pill}`, table edges |
|
||||||
|
| `{rounded.xxs}` | 1px | Inline marks |
|
||||||
|
| `{rounded.xs}` | 2px | `{button-primary}`, `{button-secondary}`, search field |
|
||||||
|
| `{rounded.sm}` | 4px | Small containers and inline blocks |
|
||||||
|
| `{rounded.md}` | 6px | App-store badges |
|
||||||
|
| `{rounded.lg}` | 8px | `{product-card}`, `{button-outline}`, `{accordion-row}`, `{expert-tip-panel}`, `{stat-block-dark}` |
|
||||||
|
| `{rounded.xl}` | 10px | Labels and small spans |
|
||||||
|
| `{rounded.xxl}` | 12px | `{category-tile}` |
|
||||||
|
| `{rounded.xxxl}` | 16px | `{section-panel-mint}`, `{media-frame-mint}` |
|
||||||
|
| `{rounded.tooltip}` | 20px | Tooltip surfaces |
|
||||||
|
| `{rounded.full}` | 9999px | Avatars, `{icon-circle-active}`, `{icon-circle-inactive}` |
|
||||||
|
|
||||||
|
The scale is broad but the weight of usage sits at the small end. Controls live at `{rounded.xs}`, cards at `{rounded.lg}`, and only decorative surfaces — mint panels and photo frames — reach `{rounded.xxxl}`. Several components use asymmetric radii, rounding only their top or leading corners where they butt against an adjacent block.
|
||||||
|
|
||||||
|
### Photography Geometry
|
||||||
|
|
||||||
|
Editorial photography sits inside `{media-frame-mint}` at `{rounded.xxxl}`, typically at a portrait or square crop. Author avatars are `{rounded.full}` at roughly 32px, overlapped in threes. Institution logos are placed on white at their native aspect with generous padding so competing brand marks never touch. Illustration is used at roughly 64px square inside `{category-tile}`.
|
||||||
|
|
||||||
|
## Components
|
||||||
|
|
||||||
|
> Every spec below documents Default and, where extracted, Active states only.
|
||||||
|
|
||||||
|
### Buttons
|
||||||
|
|
||||||
|
**`button-primary`** — the green action ("SIGN UP", "APPLY NOW", "LEARN MORE")
|
||||||
|
- Background `{colors.primary}`, text `{colors.on-primary}`, type `{typography.ui-label}`, rounded `{rounded.xs}`, padding `{spacing.md}`, Elevation Level 3.
|
||||||
|
- Uppercase label. The flat 16px padding on all four sides is what gives it its blocky proportion, and the 2px radius keeps it reading as a rectangle rather than a pill.
|
||||||
|
|
||||||
|
**`button-secondary`** — the quiet companion ("SIGN IN")
|
||||||
|
- Background `{colors.canvas-soft}`, text `{colors.primary}`, type `{typography.ui-label}`, rounded `{rounded.xs}`, padding `{spacing.md}`.
|
||||||
|
- Same geometry as `{button-primary}` with the fill and text roles swapped, so the pair reads as one control with two weights.
|
||||||
|
|
||||||
|
**`button-outline`** — the compact utility control
|
||||||
|
- Text `{colors.primary}`, type `{typography.ui-label}`, rounded `{rounded.lg}`, padding `8px 16px`, 1px `{colors.hairline-strong}` border, no fill.
|
||||||
|
- The only button that departs from both the square radius and the flat padding — noticeably shorter and softer than the filled pair.
|
||||||
|
|
||||||
|
### Cards & Containers
|
||||||
|
|
||||||
|
**`product-card`**
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink}`, type `{typography.body-md}`, rounded `{rounded.lg}`, 1px `{colors.hairline-strong}` border, Elevation Level 2.
|
||||||
|
- The workhorse of the comparison pages: product name, star rating, a `{button-primary}` action column on the right, then a spec grid of `{spec-cell}` blocks and a stack of `{accordion-row}` disclosures.
|
||||||
|
|
||||||
|
**`category-tile`**
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink}`, type `{typography.body-sm}`, rounded `{rounded.xxl}`.
|
||||||
|
- Flat illustration on top, bold title, two lines of `{colors.muted}` description, with a small diagonal arrow pinned to the upper-right corner.
|
||||||
|
|
||||||
|
**`section-panel-mint`**
|
||||||
|
- Background `{colors.mint-50}`, text `{colors.ink}`, rounded `{rounded.xxxl}`.
|
||||||
|
- The pale wash that holds the homepage category grid, providing separation without a border or shadow.
|
||||||
|
|
||||||
|
**`media-frame-mint`**
|
||||||
|
- Background `{colors.mint-100}`, rounded `{rounded.xxxl}`. Holds editorial photography with the mint visible as a border-like margin around the image.
|
||||||
|
|
||||||
|
**`expert-tip-panel`**
|
||||||
|
- Background `{colors.lime-panel}`, text `{colors.ink}`, type `{typography.body-md}`, rounded `{rounded.lg}`.
|
||||||
|
- A signature editorial component: a wide pale-lime band opened by a bold arrow-prefixed label, carrying advisory copy and hosting `{stat-block-dark}` and `{stat-chip-light}` inside it.
|
||||||
|
|
||||||
|
**`stat-block-dark`**
|
||||||
|
- Background `{colors.primary-deep}`, text `{colors.on-primary}`, type `{typography.stat-value}`, rounded `{rounded.lg}`.
|
||||||
|
- Sits inside `{expert-tip-panel}`, stacking a multiplier and a rate with small `{typography.caption}` labels beneath each, over an outline arrow motif.
|
||||||
|
|
||||||
|
**`stat-chip-light`**
|
||||||
|
- Background `{colors.canvas}`, label `{colors.muted}` at `{typography.caption}`, rounded `{rounded.lg}`.
|
||||||
|
- The white counterpart that carries the comparison figure beside `{stat-block-dark}`.
|
||||||
|
|
||||||
|
**`accordion-row`**
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink}`, type `{typography.ui-label}`, rounded `{rounded.lg}`.
|
||||||
|
- A leading glyph, a label and a trailing chevron, separated from its neighbours by a `{colors.hairline}` rule.
|
||||||
|
|
||||||
|
### Inputs & Forms
|
||||||
|
|
||||||
|
**`text-input`**
|
||||||
|
- Text `{colors.ink}`, type `{typography.body-md}`, rounded `{rounded.none}`.
|
||||||
|
- Square-cornered. The system gives inputs no fill and no border of their own — they sit inside a bordered container that supplies the chrome, which is why the input itself carries almost no styling.
|
||||||
|
|
||||||
|
### Navigation
|
||||||
|
|
||||||
|
**`nav-bar`** (Desktop)
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink}`, type `{typography.ui-label}`.
|
||||||
|
- Wordmark left, eight category links centre, then search, `{button-secondary}` and `{button-primary}` right. White on every page regardless of the band beneath it.
|
||||||
|
|
||||||
|
**`nav-bar`** (Mobile)
|
||||||
|
- Retains wordmark, search and both account controls; category links move behind a menu.
|
||||||
|
|
||||||
|
**`icon-circle-active`** / **`icon-circle-inactive`**
|
||||||
|
- Active fills `{colors.primary}` with an `{colors.on-primary}` glyph; inactive fills `{colors.mint-50}` with a `{colors.primary}` glyph. Both `{rounded.full}`.
|
||||||
|
- Form the horizontal category rail above comparison pages, each with a label beneath and an underline marking the active item.
|
||||||
|
|
||||||
|
**`breadcrumb`**
|
||||||
|
- Text `{colors.on-primary}` at `{typography.caption}`, set on the green hero band with chevron separators.
|
||||||
|
|
||||||
|
**`footer`**
|
||||||
|
- Background `{colors.canvas-soft}`, text `{colors.body}`, type `{typography.body-sm}`.
|
||||||
|
|
||||||
|
### Signature Components
|
||||||
|
|
||||||
|
**`hero-band`**
|
||||||
|
- Background `{colors.primary}` running as a horizontal gradient toward a lighter green, text `{colors.on-primary}`, type `{typography.body-md}`.
|
||||||
|
- Opens every editorial page. Carries `{breadcrumb}`, the `{typography.display-lg}` headline, a byline row with circular avatars, `{editorial-badge}` trust marks and a lead paragraph. Full-bleed, square-cornered, and the only saturated plane on the page.
|
||||||
|
|
||||||
|
**`editorial-badge`**
|
||||||
|
- Text `{colors.lime-panel}` at `{typography.micro}`, uppercase, with a leading verification glyph. Sits on the green band and is the reason a lime tier exists — green-on-green would vanish.
|
||||||
|
|
||||||
|
**`award-ribbon-pill`**
|
||||||
|
- Background `{colors.mint-100}`, text `{colors.primary}`, type `{typography.eyebrow}`, rounded `{rounded.none}`.
|
||||||
|
- A square-ended mint banner introduced by a folded green flag mark, pinned to the top-left of a winning `{product-card}`.
|
||||||
|
|
||||||
|
**`comparison-row`**
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink}`, type `{typography.body-sm}`.
|
||||||
|
- Five columns — institution, rating, rate, bonus, action — separated from adjacent rows by a `{colors.hairline}` rule with no vertical dividers.
|
||||||
|
|
||||||
|
**`spec-cell`**
|
||||||
|
- Background `{colors.canvas}`, label `{colors.body}` at `{typography.caption}`, value `{colors.ink}`.
|
||||||
|
- The label-above-value block that tiles inside `{product-card}`, ruled on its leading edge by `{colors.hairline}`.
|
||||||
|
|
||||||
|
**`link-inline`** / **`link-green`**
|
||||||
|
- `{link-inline}` uses `{colors.link}` with an underline for supporting references; `{link-green}` uses `{colors.primary}` with a heavier underline for in-body navigation. The two coexist on the same card and carry different intent.
|
||||||
|
|
||||||
|
**`eyebrow-label`**
|
||||||
|
- Text `{colors.muted}` at `{typography.eyebrow}`, uppercase, opening partner and resource sections.
|
||||||
|
|
||||||
|
**`logo-wordmark`**
|
||||||
|
- Text `{colors.primary}` at `{typography.heading-4}`, preceded by a mark carrying `{colors.logo-lime}`.
|
||||||
|
|
||||||
|
**`rate-card`**
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink}`, type `{typography.body-sm}`, rounded `{rounded.xxl}`.
|
||||||
|
- A clickable comparison tile inside the mint rates panel: product name, a `{colors.primary}` circular arrow pinned right, then two rate rows pairing a `{colors.muted}` label with a large `{colors.primary}` figure and a trend glyph.
|
||||||
|
|
||||||
|
**`badge-compare`**
|
||||||
|
- Background `{colors.lime-panel}`, text `{colors.primary}`, type `{typography.eyebrow}`, rounded `{rounded.xl}`.
|
||||||
|
- A pale-lime pill pinned to the top-left corner of the leading `{rate-card}`, marking the recommended comparison.
|
||||||
|
|
||||||
|
**`carousel-control`**
|
||||||
|
- Background `{colors.mint-50}`, glyph `{colors.primary}`, rounded `{rounded.full}`.
|
||||||
|
- Paired previous/next circles flanking a dot pagination strip whose active dot fills `{colors.primary}`.
|
||||||
|
|
||||||
|
**`marquee-ribbon`**
|
||||||
|
- Background `{colors.lime-ribbon}` running as a gradient into `{colors.primary}`, text `{colors.primary}`, type `{typography.ui-label}`.
|
||||||
|
- A full-bleed diagonal band of repeated uppercase slogans separated by small sparkle glyphs, tilted a few degrees off horizontal and bleeding past both viewport edges. It is the loudest element in the system and the only place the lime family fills a large surface.
|
||||||
|
|
||||||
|
### Examples (illustrative)
|
||||||
|
|
||||||
|
> Kit-mirror demonstration surfaces. These are not extracted from NerdWallet — they are the standard SaaS UI patterns re-skinned with NerdWallet's primitives, so every consumer of this document shapes the same ten surfaces against the brand rather than against a template default.
|
||||||
|
|
||||||
|
**`ex-pricing-tier`** — Default Pricing tier card. Re-uses feature-card chrome with brand canvas-soft surface.
|
||||||
|
- Properties: `backgroundColor`, `textColor`, `borderColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-pricing-tier-featured`** — Featured/highlighted tier — polarity-flipped surface (dark fill + light text in light mode, light fill + dark text in dark mode).
|
||||||
|
- Properties: `backgroundColor`, `textColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-product-selector`** — What's Included summary card — re-purposed for SaaS / B2B verticals (NOT a literal product gallery).
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-cart-drawer`** — Subscription summary — re-purposed for SaaS / B2B (line items per add-on, not literal cart).
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`, `item-divider`
|
||||||
|
|
||||||
|
**`ex-app-shell-row`** — Sidebar nav row inside the App Shell example. Active state uses brand primary as the indicator.
|
||||||
|
- Properties: `backgroundColor`, `activeIndicator`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-data-table-cell`** — Default data-table th + td chrome. Header uses mono-caps eyebrow typography; body uses body-sm.
|
||||||
|
- Properties: `headerBackground`, `headerTypography`, `bodyTypography`, `cellPadding`, `rowBorder`
|
||||||
|
|
||||||
|
**`ex-auth-form-card`** — Sign-in / sign-up card. Re-uses feature-card chrome with text-input primitives inside.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-modal-card`** — Modal dialog surface — same chrome as feature-card with elevated shadow.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-empty-state-card`** — Empty-state illustration frame.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`, `captionTypography`
|
||||||
|
|
||||||
|
**`ex-toast`** — Toast notification surface — feature-card shape + medium shadow.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`, `typography`
|
||||||
|
|
||||||
|
|
||||||
|
## Do's and Don'ts
|
||||||
|
|
||||||
|
### Do
|
||||||
|
|
||||||
|
- Spend `{colors.primary}` on actions and active states only — buttons, rating stars, active tabs, in-body links.
|
||||||
|
- Reach for the mint ladder (`{colors.mint-50}` → `{colors.mint-200}`) when a section needs separation; it is the system's substitute for elevation.
|
||||||
|
- Keep controls at `{rounded.xs}` and cards at `{rounded.lg}`; save `{rounded.xxxl}` for decorative panels and photo frames.
|
||||||
|
- Separate table rows with a single `{colors.hairline}` rule and no vertical dividers.
|
||||||
|
- Use the lime family for emphasis that has to survive on a green ground, where `{colors.primary}` would disappear.
|
||||||
|
- Set headings in `{colors.ink}` pure black and body copy at weight 300 — the weight gap is the hierarchy.
|
||||||
|
- Give every comparison figure a `{typography.caption}` label above it in `{colors.body}`, never inline.
|
||||||
|
- Open editorial pages with `{hero-band}` and then drop immediately to a light canvas; do not carry the green further down.
|
||||||
|
|
||||||
|
### Don't
|
||||||
|
|
||||||
|
- Don't round the filled buttons. `{rounded.xs}` is a deliberate choice against the softness of the illustration style.
|
||||||
|
- Don't add drop shadows to cards — use the `{colors.hairline-strong}` border instead. The system's only shadows sit at 4–5% opacity.
|
||||||
|
- Don't use `{colors.link}` blue and `{colors.primary}` green interchangeably; blue is a supporting reference, green is navigation the reader is meant to follow.
|
||||||
|
- Don't extend `{hero-band}` green into body sections or use it as a card fill.
|
||||||
|
- Don't introduce a warm accent. The palette runs green through mint with blue as the only outside hue.
|
||||||
|
- Don't set body copy above weight 300 or headings below 700 — collapsing the gap flattens the hierarchy.
|
||||||
|
- Don't place `{colors.lime-panel}` on white as a text colour; the lime tier only works as a fill on white or as type on green.
|
||||||
|
- Don't give `{text-input}` a radius or a border of its own; the containing chrome supplies both.
|
||||||
5
design-md/nerdwallet/README.md
Normal file
5
design-md/nerdwallet/README.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# NerdWallet Inspired Design System Analysis
|
||||||
|
|
||||||
|
Design system details have been moved to: https://getdesign.md/nerdwallet/design-md
|
||||||
|
|
||||||
|
You can also view previews, dark mode examples, and download options on getdesign.md.
|
||||||
778
design-md/oracle/DESIGN.md
Normal file
778
design-md/oracle/DESIGN.md
Normal file
@ -0,0 +1,778 @@
|
|||||||
|
---
|
||||||
|
version: alpha
|
||||||
|
name: Oracle Analysis
|
||||||
|
description: An analysis of Oracle's design language — an enterprise system built on a warm neutral ladder rather than a colour palette. Six numbered greys carry almost every surface, a single dark charcoal carries every action, and the famous red is held back for the wordmark alone. Two display registers coexist, being a very light sans on the corporate index and a Georgia serif across the product pages, and the only chromatic moments are a thin gold rule under a headline and the occasional full-width band of teal or forest green.
|
||||||
|
|
||||||
|
colors:
|
||||||
|
primary: "#312d2a"
|
||||||
|
primary-pressed: "#47423e"
|
||||||
|
on-primary: "#ffffff"
|
||||||
|
brand-mark: "#c74634"
|
||||||
|
ink: "#161513"
|
||||||
|
ink-deep: "#211e1c"
|
||||||
|
canvas: "#ffffff"
|
||||||
|
canvas-soft: "#fbf9f8"
|
||||||
|
canvas-tint: "#f5f4f2"
|
||||||
|
canvas-warm: "#f1efed"
|
||||||
|
hairline: "#e4e1dd"
|
||||||
|
divider: "#e9e7e4"
|
||||||
|
field-border: "#d4cfca"
|
||||||
|
link: "#006b8f"
|
||||||
|
accent-gold: "#f0cc71"
|
||||||
|
accent-gold-soft: "#f7e0a1"
|
||||||
|
band-teal: "#d6e5e5"
|
||||||
|
band-forest: "#33553c"
|
||||||
|
focus: "#227e9e"
|
||||||
|
error: "#d63b25"
|
||||||
|
disabled-ink: "#aea8a2"
|
||||||
|
|
||||||
|
typography:
|
||||||
|
display-serif-xl:
|
||||||
|
fontFamily: Georgia
|
||||||
|
fontSize: 56px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 67.2px
|
||||||
|
letterSpacing: 0
|
||||||
|
display-serif-lg:
|
||||||
|
fontFamily: Georgia
|
||||||
|
fontSize: 40px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 48px
|
||||||
|
letterSpacing: 0
|
||||||
|
display-serif-md:
|
||||||
|
fontFamily: Georgia
|
||||||
|
fontSize: 36px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 43.2px
|
||||||
|
letterSpacing: 0
|
||||||
|
display-sans-lg:
|
||||||
|
fontFamily: Oracle Sans
|
||||||
|
fontSize: 40px
|
||||||
|
fontWeight: 300
|
||||||
|
lineHeight: 52px
|
||||||
|
letterSpacing: 0
|
||||||
|
display-sans-md:
|
||||||
|
fontFamily: Oracle Sans
|
||||||
|
fontSize: 32px
|
||||||
|
fontWeight: 300
|
||||||
|
lineHeight: 44px
|
||||||
|
letterSpacing: 0
|
||||||
|
heading-xl:
|
||||||
|
fontFamily: Oracle Sans
|
||||||
|
fontSize: 28px
|
||||||
|
fontWeight: 800
|
||||||
|
lineHeight: 33.6px
|
||||||
|
letterSpacing: 0
|
||||||
|
heading-lg:
|
||||||
|
fontFamily: Oracle Sans
|
||||||
|
fontSize: 24px
|
||||||
|
fontWeight: 800
|
||||||
|
lineHeight: 28.8px
|
||||||
|
letterSpacing: 0
|
||||||
|
heading-md:
|
||||||
|
fontFamily: Oracle Sans
|
||||||
|
fontSize: 20px
|
||||||
|
fontWeight: 800
|
||||||
|
lineHeight: 24px
|
||||||
|
letterSpacing: 0
|
||||||
|
heading-sm:
|
||||||
|
fontFamily: Oracle Sans
|
||||||
|
fontSize: 18px
|
||||||
|
fontWeight: 800
|
||||||
|
lineHeight: 21.6px
|
||||||
|
letterSpacing: 0
|
||||||
|
heading-card:
|
||||||
|
fontFamily: Oracle Sans
|
||||||
|
fontSize: 24px
|
||||||
|
fontWeight: 600
|
||||||
|
lineHeight: 32px
|
||||||
|
letterSpacing: 0
|
||||||
|
lead:
|
||||||
|
fontFamily: Oracle Sans
|
||||||
|
fontSize: 24px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 33.6px
|
||||||
|
letterSpacing: 0
|
||||||
|
body:
|
||||||
|
fontFamily: Oracle Sans
|
||||||
|
fontSize: 16px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 22.4px
|
||||||
|
letterSpacing: 0
|
||||||
|
body-loose:
|
||||||
|
fontFamily: Oracle Sans
|
||||||
|
fontSize: 16px
|
||||||
|
fontWeight: 350
|
||||||
|
lineHeight: 24px
|
||||||
|
letterSpacing: 0
|
||||||
|
body-strong:
|
||||||
|
fontFamily: Oracle Sans
|
||||||
|
fontSize: 16px
|
||||||
|
fontWeight: 700
|
||||||
|
lineHeight: 22.4px
|
||||||
|
letterSpacing: 0
|
||||||
|
label:
|
||||||
|
fontFamily: Oracle Sans
|
||||||
|
fontSize: 14px
|
||||||
|
fontWeight: 500
|
||||||
|
lineHeight: 16.8px
|
||||||
|
letterSpacing: 0
|
||||||
|
label-strong:
|
||||||
|
fontFamily: Oracle Sans
|
||||||
|
fontSize: 14px
|
||||||
|
fontWeight: 600
|
||||||
|
lineHeight: 20px
|
||||||
|
letterSpacing: 0
|
||||||
|
caption:
|
||||||
|
fontFamily: Oracle Sans
|
||||||
|
fontSize: 12px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 20px
|
||||||
|
letterSpacing: 0
|
||||||
|
|
||||||
|
rounded:
|
||||||
|
none: 0px
|
||||||
|
xs: 4px
|
||||||
|
sm: 6px
|
||||||
|
md: 8px
|
||||||
|
lg: 12px
|
||||||
|
xl: 15px
|
||||||
|
full: 9999px
|
||||||
|
|
||||||
|
spacing:
|
||||||
|
xs: 10px
|
||||||
|
sm: 12px
|
||||||
|
md: 16px
|
||||||
|
lg: 18px
|
||||||
|
xl: 20px
|
||||||
|
xxl: 24px
|
||||||
|
xxxl: 32px
|
||||||
|
section: 48px
|
||||||
|
gutter: 72px
|
||||||
|
|
||||||
|
components:
|
||||||
|
masthead:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
height: 85px
|
||||||
|
logo-wordmark:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.brand-mark}"
|
||||||
|
typography: "{typography.heading-lg}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
text-input:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
borderColor: "{colors.field-border}"
|
||||||
|
rounded: "{rounded.sm}"
|
||||||
|
padding: 12px 18px
|
||||||
|
product-subnav:
|
||||||
|
backgroundColor: "{colors.ink-deep}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
height: 64px
|
||||||
|
product-subnav-light:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
height: 64px
|
||||||
|
subnav-active-bar:
|
||||||
|
backgroundColor: "{colors.accent-gold-soft}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
height: 5px
|
||||||
|
width: 67px
|
||||||
|
button-primary:
|
||||||
|
backgroundColor: "{colors.primary}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.label}"
|
||||||
|
rounded: "{rounded.xs}"
|
||||||
|
padding: 10px 16px
|
||||||
|
button-primary-pressed:
|
||||||
|
backgroundColor: "{colors.primary-pressed}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.label}"
|
||||||
|
rounded: "{rounded.xs}"
|
||||||
|
padding: 10px 16px
|
||||||
|
button-primary-disabled:
|
||||||
|
backgroundColor: "{colors.canvas-soft}"
|
||||||
|
textColor: "{colors.disabled-ink}"
|
||||||
|
typography: "{typography.label}"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
rounded: "{rounded.xs}"
|
||||||
|
padding: 10px 16px
|
||||||
|
button-secondary:
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.label}"
|
||||||
|
borderColor: "{colors.ink}"
|
||||||
|
rounded: "{rounded.xs}"
|
||||||
|
padding: 10px 16px
|
||||||
|
button-tertiary:
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.label}"
|
||||||
|
rounded: "{rounded.xs}"
|
||||||
|
padding: 10px 16px
|
||||||
|
button-primary-inverse:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.label}"
|
||||||
|
rounded: "{rounded.xs}"
|
||||||
|
padding: 10px 16px
|
||||||
|
button-secondary-inverse:
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.label}"
|
||||||
|
borderColor: "{colors.on-primary}"
|
||||||
|
rounded: "{rounded.xs}"
|
||||||
|
padding: 10px 16px
|
||||||
|
hero-band:
|
||||||
|
backgroundColor: "{colors.canvas-warm}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.display-serif-md}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
padding: 48px
|
||||||
|
hero-eyebrow-rule:
|
||||||
|
backgroundColor: "{colors.accent-gold}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
width: 40px
|
||||||
|
height: 4px
|
||||||
|
section-band-white:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
padding: 48px
|
||||||
|
section-band-soft:
|
||||||
|
backgroundColor: "{colors.canvas-soft}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
padding: 48px
|
||||||
|
section-band-tint:
|
||||||
|
backgroundColor: "{colors.canvas-tint}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
padding: 48px
|
||||||
|
section-band-warm:
|
||||||
|
backgroundColor: "{colors.canvas-warm}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
padding: 48px
|
||||||
|
section-band-teal:
|
||||||
|
backgroundColor: "{colors.band-teal}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
padding: 48px
|
||||||
|
section-band-forest:
|
||||||
|
backgroundColor: "{colors.band-forest}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
padding: 48px
|
||||||
|
content-card:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body-loose}"
|
||||||
|
rounded: "{rounded.xl}"
|
||||||
|
padding: "{spacing.xxxl}"
|
||||||
|
stat-panel:
|
||||||
|
backgroundColor: "{colors.canvas-warm}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body-loose}"
|
||||||
|
rounded: "{rounded.xl}"
|
||||||
|
padding: "{spacing.xl}"
|
||||||
|
product-card:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.xxl}"
|
||||||
|
product-card-warm:
|
||||||
|
backgroundColor: "{colors.canvas-warm}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.xxl}"
|
||||||
|
nav-tile:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.label-strong}"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.md}"
|
||||||
|
media-frame:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
play-button-circular:
|
||||||
|
backgroundColor: "{colors.ink}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
size: 40px
|
||||||
|
channel-column:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.heading-lg}"
|
||||||
|
borderColor: "{colors.divider}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
padding: "{spacing.xxl}"
|
||||||
|
link-inline:
|
||||||
|
textColor: "{colors.link}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
footer:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.caption}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
height: 105px
|
||||||
|
footer-link:
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.caption}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
|
||||||
|
# ─── Examples (illustrative) — kit-mirror demonstration surfaces ───
|
||||||
|
ex-pricing-tier:
|
||||||
|
description: "Default pricing tier card. Product-card chrome with a hairline border, since the system separates same-rung surfaces with a rule rather than a shadow."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.xxl}"
|
||||||
|
ex-pricing-tier-featured:
|
||||||
|
description: "Featured tier — polarity-flipped to the action charcoal with white text, the same inversion the dark bands perform."
|
||||||
|
backgroundColor: "{colors.primary}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.xxl}"
|
||||||
|
ex-product-selector:
|
||||||
|
description: "What's-included summary card, one rung up the neutral ladder. Rows borrow the navigation-tile chrome."
|
||||||
|
backgroundColor: "{colors.canvas-soft}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.xxl}"
|
||||||
|
ex-cart-drawer:
|
||||||
|
description: "Subscription summary. Line items are separated by the same warm rule the contact page uses between columns."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.xxl}"
|
||||||
|
item-divider: "{colors.divider}"
|
||||||
|
ex-app-shell-row:
|
||||||
|
description: "Sidebar nav row at the product-card radius. Active state is marked by the action charcoal, the system's only emphasis fill."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
activeIndicator: "{colors.primary}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.sm} {spacing.md}"
|
||||||
|
ex-data-table-cell:
|
||||||
|
description: "Data-table header and body chrome. The header sits one rung up the ladder and rows are divided by a hairline."
|
||||||
|
headerBackground: "{colors.canvas-tint}"
|
||||||
|
headerTypography: "{typography.caption}"
|
||||||
|
bodyTypography: "{typography.body}"
|
||||||
|
cellPadding: "{spacing.sm} {spacing.md}"
|
||||||
|
rowBorder: "{colors.hairline}"
|
||||||
|
ex-auth-form-card:
|
||||||
|
description: "Sign-in card. Product-card chrome with the masthead search field's input treatment inside."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.xxl}"
|
||||||
|
ex-modal-card:
|
||||||
|
description: "Modal dialog surface — product-card chrome with a hairline border and no shadow, because the system has none."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.xxl}"
|
||||||
|
ex-empty-state-card:
|
||||||
|
description: "Empty-state frame one rung up the ladder, padded to the section rhythm."
|
||||||
|
backgroundColor: "{colors.canvas-soft}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.section}"
|
||||||
|
captionTypography: "{typography.body}"
|
||||||
|
ex-toast:
|
||||||
|
description: "Toast notification — the product-card radius on a white surface, bounded by a hairline instead of an elevation."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.sm} {spacing.xl}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
|
Oracle's web system is unusual for an enterprise brand in that it barely uses colour at all. The page ground is a six-step ladder of warm neutrals that runs from pure white through three off-whites to a warm near-black, and that ladder does almost all the structural work. Sections are distinguished from one another not by cards or rules or shadows but by which rung of the ladder they sit on, stacked full-bleed and square-cornered so the page reads as a series of tonal shifts rather than a stack of containers.
|
||||||
|
|
||||||
|
The famous Oracle red appears exactly once per page, in the masthead wordmark, and nowhere else. Every action on the site is carried by `{colors.primary}`, a warm dark charcoal, in a small 4px-radius button that never grows louder than its label. The restraint is deliberate and total: there is no coloured CTA, no accent-tinted card, no gradient. When colour does arrive it arrives at full-band scale, a whole section width of `{colors.band-teal}` or `{colors.band-forest}`, and then the page returns to neutral.
|
||||||
|
|
||||||
|
What gives the system its character is the type. Two display registers run side by side. The corporate index sets its headings in Oracle Sans at weight 300, very large and very light, while the product pages set theirs in Georgia, a bookish transitional serif that is genuinely surprising on a database landing page. Beneath both, Oracle Sans handles everything else across a wide weight range, dropping to 350 for running copy and jumping all the way to 800 for section headings, so the contrast between a paragraph and the heading above it is enormous without either changing size very much. A single gold rule, 40 by 4 pixels, sits under the hero headline. It is the only decorative mark in the system, and against this much neutral it does a lot of work.
|
||||||
|
|
||||||
|
**Key Characteristics:**
|
||||||
|
- A six-rung warm neutral ladder — `{colors.canvas}` → `{colors.canvas-soft}` → `{colors.canvas-tint}` → `{colors.canvas-warm}` → `{colors.hairline}` → `{colors.ink-deep}` — carrying nearly every surface
|
||||||
|
- `{colors.brand-mark}` reserved for the wordmark and used nowhere else in the interface
|
||||||
|
- Every action in one warm charcoal `{colors.primary}` at `{rounded.xs}`, with no coloured CTA anywhere
|
||||||
|
- Two display registers, being Oracle Sans at weight 300 on the corporate index and Georgia serif across the product pages
|
||||||
|
- An extreme body-to-heading weight jump, from 350/400 running copy straight to 800 section headings
|
||||||
|
- Full-bleed square-cornered bands with no shadows — depth comes from tonal steps alone
|
||||||
|
- A 40 × 4px `{colors.accent-gold}` rule under the hero headline as the system's only ornament
|
||||||
|
- Chromatic colour deployed only at whole-band scale, never on a control
|
||||||
|
|
||||||
|
## Colors
|
||||||
|
|
||||||
|
### Brand & Accent
|
||||||
|
- **Oracle Red** (`{colors.brand-mark}` — #c74634): the wordmark, and only the wordmark. It appears in the masthead at the top of every page and is not used for any button, link, border, band or highlight. Elsewhere on the page red shows up only inside photography and inside logos printed on product hardware.
|
||||||
|
- **Action Charcoal** (`{colors.primary}` — #312d2a): the fill behind every primary action on the site. Warm rather than neutral, and a clear step lighter than `{colors.ink}` so a filled button reads as an object rather than as a block of text.
|
||||||
|
- **Action Charcoal Pressed** (`{colors.primary-pressed}` — #47423e): the active state of that button.
|
||||||
|
- **On Primary** (`{colors.on-primary}` — #ffffff): the label on a filled action, and the text colour on every inverted surface.
|
||||||
|
- **Gold Rule** (`{colors.accent-gold}` — #f0cc71): a 40 × 4px bar sitting under the hero headline on every product page. The system's one piece of ornament.
|
||||||
|
- **Gold Tab** (`{colors.accent-gold-soft}` — #f7e0a1): a paler gold, 5px tall, marking the selected item in the dark product sub-navigation.
|
||||||
|
|
||||||
|
### Surface
|
||||||
|
The surface set is a numbered ladder, and its rungs are close enough together that a band change reads as a shift in light rather than as a new panel.
|
||||||
|
|
||||||
|
- **Canvas** (`{colors.canvas}` — #ffffff): the masthead, the footer, content cards, and the brightest section bands.
|
||||||
|
- **Canvas Soft** (`{colors.canvas-soft}` — #fbf9f8): the most common product-page section fill. One barely-perceptible step off white.
|
||||||
|
- **Canvas Tint** (`{colors.canvas-tint}` — #f5f4f2): the next step, used for supporting sections and the contact hero.
|
||||||
|
- **Canvas Warm** (`{colors.canvas-warm}` — #f1efed): the warmest and most-used tint, carrying the corporate index page almost end to end and every product hero band.
|
||||||
|
- **Hairline** (`{colors.hairline}` — #e4e1dd): the tile and disabled-control border, and the last neutral rung before the dark end.
|
||||||
|
- **Divider** (`{colors.divider}` — #e9e7e4): the 2px vertical rule that separates the contact page's channel columns.
|
||||||
|
- **Field Border** (`{colors.field-border}` — #d4cfca): the 1px border around the masthead search field, one clear step darker than `{colors.hairline}` so an input reads as interactive against a card that merely reads as a container.
|
||||||
|
- **Ink Deep** (`{colors.ink-deep}` — #211e1c): the dark end of the ladder, used as a full-width band behind the product sub-navigation.
|
||||||
|
|
||||||
|
### Text
|
||||||
|
- **Ink** (`{colors.ink}` — #161513): every heading and every line of body copy. A warm near-black, never pure black, which keeps the very light 300-weight display sizes from looking harsh.
|
||||||
|
- **Link** (`{colors.link}` — #006b8f): inline links in body copy and channel columns. A deep teal-blue, set without an underline, at the same size and weight as the text around it — the colour alone carries the affordance.
|
||||||
|
- On dark bands, text inverts to `{colors.on-primary}` and there is no intermediate tone; the system has one text colour per polarity.
|
||||||
|
|
||||||
|
### Semantic
|
||||||
|
- **Focus** (`{colors.focus}` — #227e9e): the focus indicator, declared once and applied identically on light and dark surfaces, so a keyboard user sees the same ring everywhere.
|
||||||
|
- **Error** (`{colors.error}` — #d63b25): validation messaging and error field text.
|
||||||
|
- **Disabled Ink** (`{colors.disabled-ink}` — #aea8a2): the label on a disabled control, paired with a `{colors.canvas-soft}` fill and a `{colors.hairline}` border.
|
||||||
|
|
||||||
|
### Band Colours
|
||||||
|
Chromatic colour enters the system only as a full section band, never as a control, a card or a border.
|
||||||
|
- **Band Teal** (`{colors.band-teal}` — #d6e5e5): a pale teal strip, roughly 120 to 160px tall, used to break a run of neutral sections.
|
||||||
|
- **Band Forest** (`{colors.band-forest}` — #33553c): a deep green band carrying white text and a multi-column link list, around 390px tall.
|
||||||
|
|
||||||
|
## Typography
|
||||||
|
|
||||||
|
### Font Family
|
||||||
|
Three families, with a clear division of labour.
|
||||||
|
|
||||||
|
**Oracle Sans** is the workhorse — a variable humanist sans with open apertures and a slightly squared construction. Its variable axis is exercised hard: the declared base weight is 350, running copy sits at 350 or 400, and section headings jump all the way to 800. It also supplies the corporate index's display sizes at weight 300.
|
||||||
|
|
||||||
|
**Georgia** is the display serif on the product pages. It carries h1, h2 and h3 at 36 to 56px in regular weight, with its bracketed serifs and ball terminals reading as distinctly bookish next to the sans beneath it. It is declared as an explicit stack led by Georgia, so it renders as Georgia on virtually every machine rather than falling back.
|
||||||
|
|
||||||
|
**Consolas** is declared for monospace and never appears in page chrome.
|
||||||
|
|
||||||
|
### Hierarchy
|
||||||
|
|
||||||
|
| Token | Size | Weight | Line Height | Letter Spacing | Use |
|
||||||
|
|---|---|---|---|---|---|
|
||||||
|
| `{typography.display-serif-xl}` | 56px | 400 | 67.2px | 0 | Product hero headline, Georgia |
|
||||||
|
| `{typography.display-serif-lg}` | 40px | 400 | 48px | 0 | Major section headline, Georgia |
|
||||||
|
| `{typography.display-serif-md}` | 36px | 400 | 43.2px | 0 | Product page headline and section headline, Georgia |
|
||||||
|
| `{typography.display-sans-lg}` | 40px | 300 | 52px | 0 | Corporate index section headline, Oracle Sans Light |
|
||||||
|
| `{typography.display-sans-md}` | 32px | 300 | 44px | 0 | Corporate index page headline, Oracle Sans Light |
|
||||||
|
| `{typography.heading-xl}` | 28px | 800 | 33.6px | 0 | Product section heading |
|
||||||
|
| `{typography.heading-lg}` | 24px | 800 | 28.8px | 0 | Section and channel-column heading |
|
||||||
|
| `{typography.heading-md}` | 20px | 800 | 24px | 0 | Sub-section heading |
|
||||||
|
| `{typography.heading-sm}` | 18px | 800 | 21.6px | 0 | Card heading |
|
||||||
|
| `{typography.heading-card}` | 24px | 600 | 32px | 0 | Corporate index card heading |
|
||||||
|
| `{typography.lead}` | 24px | 400 | 33.6px | 0 | Standfirst paragraph under a hero |
|
||||||
|
| `{typography.body}` | 16px | 400 | 22.4px | 0 | Product page running copy and links |
|
||||||
|
| `{typography.body-loose}` | 16px | 350 | 24px | 0 | Corporate index running copy, at the declared base weight |
|
||||||
|
| `{typography.body-strong}` | 16px | 700 | 22.4px | 0 | Emphasised list item and inline lead-in |
|
||||||
|
| `{typography.label}` | 14px | 500 | 16.8px | 0 | Button label |
|
||||||
|
| `{typography.label-strong}` | 14px | 600 | 20px | 0 | Navigation tile label |
|
||||||
|
| `{typography.caption}` | 12px | 400 | 20px | 0 | Footer links and fine print |
|
||||||
|
|
||||||
|
### Principles
|
||||||
|
Letter-spacing is zero on every role without exception. There is no tracked-out eyebrow, no tightened display line, no small-caps label — the system leaves the typeface's own fitting alone at every size from 12px to 56px.
|
||||||
|
|
||||||
|
Line-height moves in two registers. Display and heading roles run at a tight 1.2 (67.2/56, 48/40, 28.8/24, 21.6/18 all resolve to exactly 1.2), while body roles open up to 1.4 (22.4/16) or 1.5 (24/16). The split is clean: anything that is a heading is set tight, anything that is read in sentences is set loose.
|
||||||
|
|
||||||
|
The weight range is the most distinctive thing about the system. Running copy sits at 350 or 400 and section headings sit at 800, with almost nothing in between, so hierarchy is carried by weight far more than by size. A 24px 800-weight heading over 16px 400-weight body is a much sharper break than the 1.5× size ratio alone would suggest. The 300-weight display sizes on the corporate index run in the opposite direction, being lighter than the body text they sit above.
|
||||||
|
|
||||||
|
### Note on Font Substitutes
|
||||||
|
**Oracle Sans** is a proprietary variable face. The closest open substitute is **Inter**, which shares the humanist skeleton and open apertures and offers a full variable weight axis including the 350 and 800 stops this system depends on; **Source Sans 3** is a warmer alternative but tops out lower and needs the 800 roles dropped to 700. **Georgia** ships with virtually every operating system and needs no substitution; if a webfont is required, **Gelasio** is metric-compatible with it. **Consolas** substitutes cleanly with **JetBrains Mono**. Keep the 1.2 heading line-height, the 1.4 body line-height, and zero tracking on any substitute.
|
||||||
|
|
||||||
|
## Layout
|
||||||
|
|
||||||
|
### Spacing System
|
||||||
|
- **Base unit**: 8px, though the working steps are finer at the small end and jump hard at the large end.
|
||||||
|
- **Tokens**: `{spacing.xs}` 10px · `{spacing.sm}` 12px · `{spacing.md}` 16px · `{spacing.lg}` 18px · `{spacing.xl}` 20px · `{spacing.xxl}` 24px · `{spacing.xxxl}` 32px · `{spacing.section}` 48px · `{spacing.gutter}` 72px
|
||||||
|
- `{spacing.section}` is the universal rhythm constant. Every full-width section on every page is padded `48px 0`, which is what gives the band stack its regularity.
|
||||||
|
- `{spacing.xxxl}` is the grid gutter and the corporate index card interior; `{spacing.xxl}` is the product card interior.
|
||||||
|
- Button padding is a fixed `10px 16px` everywhere, and headings carry an 18px bottom margin.
|
||||||
|
|
||||||
|
### Grid & Container
|
||||||
|
- **Outer container**: 1744px maximum, with a 72px side gutter.
|
||||||
|
- **Context container**: 1600px maximum for content that sits inside a band.
|
||||||
|
- **Minimum container**: 272px, which is the floor the layout collapses toward on the narrowest phones.
|
||||||
|
- **Grid gap**: 32px between columns, used by the corporate index tile row, the channel columns and the product card grids.
|
||||||
|
- **Masthead**: 85px tall, full width, white. **Product sub-navigation**: 64px, full width, sticky. **Footer**: 105px, full width, white.
|
||||||
|
- Sections are full-bleed and square-cornered; the container only constrains the content inside them, never the band itself.
|
||||||
|
|
||||||
|
### Whitespace Philosophy
|
||||||
|
Space is used to make the tonal ladder legible. Because adjacent bands can differ by as little as four or five points of lightness, each one needs enough vertical room for the eye to register it as a separate region — hence the uniform 48px section padding and the willingness to give a 160px teal strip an entire band to itself. Inside a band the opposite applies: content is packed into a 1600px column with 32px gutters and relatively tight card padding, so the generous outer rhythm reads as structure rather than emptiness.
|
||||||
|
|
||||||
|
### Responsive Strategy
|
||||||
|
|
||||||
|
#### Breakpoints
|
||||||
|
| Name | Width | Key Changes |
|
||||||
|
|---|---|---|
|
||||||
|
| Small mobile | ≤ 450px | Single column throughout; masthead collapses to hamburger, wordmark and icons; tile row stacks |
|
||||||
|
| Mobile | 451–600px | The system's heaviest breakpoint — sub-navigation becomes a scrolling strip, card grids go 1-up, hero type drops to its floor |
|
||||||
|
| Tablet | 601–770px | The second heaviest — grids go 2-up, the search field collapses to an icon, channel columns stack and lose their dividers |
|
||||||
|
| Laptop | 771–974px | 2-up and 3-up grids, side gutters tighten from 72px toward the container minimum |
|
||||||
|
| Desktop | 975–1344px | Full multi-column grids, sub-navigation shows all items inline |
|
||||||
|
| Wide | 1345–1744px | Content reaches the 1600px context cap; bands continue full-bleed |
|
||||||
|
| Ultra-wide | ≥ 1744px | Outer container caps; surplus width is absorbed by the band fills on either side |
|
||||||
|
|
||||||
|
#### Touch Targets
|
||||||
|
`{components.button-primary}` stands 37px tall at its 10px vertical padding and 14px label, which is under the 44×44 WCAG AAA minimum and relies on surrounding margin for comfortable tapping. `{components.text-input}` and `{components.product-subnav}` both clear it comfortably, at roughly 46px and 64px respectively, as does `{components.nav-tile}`. For rebuilds, raising the button's vertical padding to 14px brings it to 45px without changing any other value in the system.
|
||||||
|
|
||||||
|
#### Collapsing Strategy
|
||||||
|
The masthead is the element that changes most: at desktop it carries a hamburger, the wordmark, a wide search field and three utility icons, and below tablet the search field collapses to an icon while the rest holds position. The product sub-navigation keeps its full-bleed band at every width and turns into a horizontally scrolling strip rather than wrapping, so the active `{components.subnav-active-bar}` stays visible. Card grids step 4-up to 3-up to 2-up to 1-up across the ladder. The channel columns on the contact page drop their `{colors.divider}` vertical rules when they stack, since a vertical rule between stacked blocks reads as a mistake. Section padding holds at `{spacing.section}` far longer than most systems would keep it, compressing only at the mobile breakpoints.
|
||||||
|
|
||||||
|
#### Image Behavior
|
||||||
|
Photography is full-bleed inside its container and square-cornered when it fills a band, but takes `{rounded.md}` when it sits inside a product card and `{rounded.xl}` when it fills half of a corporate index content card. Video thumbnails carry a circular `{components.play-button-circular}` overlay. The contact hero uses a cut-out photographic strip with a soft feathered lower edge rather than a hard crop. Decorative pattern overlays — fine topographic contour lines, large open swirls — sit behind hero content at very low contrast and are treated as part of the band fill rather than as images.
|
||||||
|
|
||||||
|
## Elevation & Depth
|
||||||
|
|
||||||
|
| Level | Treatment | Use |
|
||||||
|
|---|---|---|
|
||||||
|
| 0 | Flat fill on the neutral ladder | Every band, section, nav and footer — the default |
|
||||||
|
| 1 | One rung up or down the ladder | Cards on a tinted band, the dark sub-navigation strip |
|
||||||
|
| 2 | 1px `{colors.hairline}` border | Navigation tiles and disabled controls |
|
||||||
|
|
||||||
|
The system carries **no shadows at all**. Not on cards, not on the sticky sub-navigation, not on the masthead, not on modals. Depth is produced entirely by position on the neutral ladder: a white card on a `{colors.canvas-warm}` band reads as raised because it is lighter, and a `{colors.ink-deep}` sub-navigation reads as a distinct plane because it is far darker. Where two surfaces sit on the same rung, a 1px `{colors.hairline}` border does the separating instead.
|
||||||
|
|
||||||
|
There are no gradients in the page chrome. The only tonal transitions in the system are the feathered lower edge of a cut-out hero photograph and the angled diagonal that ends some hero bands, and both belong to the image, not to the surface.
|
||||||
|
|
||||||
|
### Decorative Depth
|
||||||
|
Hero bands carry very low-contrast pattern overlays — dense topographic contour lines on one product page, large open swirls on another — drawn a point or two off the band fill. They read as texture rather than as image, and they are the reason a large area of `{colors.canvas-warm}` does not feel empty. Some hero bands end on an angled diagonal rather than a horizontal edge, letting the following band cut up into them.
|
||||||
|
|
||||||
|
## Shapes
|
||||||
|
|
||||||
|
### Border Radius Scale
|
||||||
|
|
||||||
|
| Token | Value | Use |
|
||||||
|
|---|---|---|
|
||||||
|
| `{rounded.none}` | 0px | Every band, section, masthead, sub-navigation and footer |
|
||||||
|
| `{rounded.xs}` | 4px | Every button, and every anchor styled as a button |
|
||||||
|
| `{rounded.sm}` | 6px | The masthead search field and small column items |
|
||||||
|
| `{rounded.md}` | 8px | Product page cards and media frames |
|
||||||
|
| `{rounded.lg}` | 12px | Corporate index navigation tiles |
|
||||||
|
| `{rounded.xl}` | 15px | Corporate index content cards and their inner stat panels |
|
||||||
|
| `{rounded.full}` | 9999px | The circular video play control |
|
||||||
|
|
||||||
|
The scale is unusually fine-grained at the small end, with 4, 6 and 8 all in active use and each assigned to a different control family — buttons, fields, cards. The two large steps are template-specific rather than interchangeable: the corporate index uses 15px throughout while the product pages use 8px, so a card's radius tells you which template you are on. The 15px value is worth noting as a deliberate oddity, since 16px would be the conventional choice and the system consistently uses 15.
|
||||||
|
|
||||||
|
### Photography Geometry
|
||||||
|
Images inside product cards take `{rounded.md}`; images filling half a corporate index card take `{rounded.xl}`. Full-band photography is square-cornered. Aspect ratios are not fixed — video thumbnails run roughly 16:9, hero photography is a wide strip, and card imagery fills whatever the card gives it. The system never crops to a circle except for the play control.
|
||||||
|
|
||||||
|
## Components
|
||||||
|
|
||||||
|
> Every component below documents its Default state. Variants live as separate entries in the `components:` front matter.
|
||||||
|
|
||||||
|
### Masthead & Navigation
|
||||||
|
|
||||||
|
**`masthead`**
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink}`, type `{typography.body}`, rounded `{rounded.none}`, 85px tall
|
||||||
|
- Full width and identical on every page. Carries a hamburger, the wordmark, a wide search field and three utility icons
|
||||||
|
|
||||||
|
**`logo-wordmark`**
|
||||||
|
- Text `{colors.brand-mark}`, type `{typography.heading-lg}`, rounded `{rounded.none}`
|
||||||
|
- The only appearance of red in the interface
|
||||||
|
|
||||||
|
**`text-input`**
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink}`, type `{typography.body}`, 1px `{colors.field-border}` border, rounded `{rounded.sm}`, padding `12px 18px`
|
||||||
|
- The masthead search field. A leading icon is inset with 48px of left padding
|
||||||
|
|
||||||
|
**`product-subnav`**
|
||||||
|
- Background `{colors.ink-deep}`, text `{colors.on-primary}`, type `{typography.body}`, rounded `{rounded.none}`, 64px tall
|
||||||
|
- A sticky full-bleed strip below the masthead on a product page, holding the section links for that product
|
||||||
|
|
||||||
|
**`product-subnav-light`**
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink}`, type `{typography.body}`, rounded `{rounded.none}`, 64px tall
|
||||||
|
- The same strip in its light polarity, where the active item is marked by an ink underline instead of a gold bar
|
||||||
|
|
||||||
|
**`subnav-active-bar`**
|
||||||
|
- Background `{colors.accent-gold-soft}`, rounded `{rounded.none}`, 67 × 5px
|
||||||
|
- Marks the selected item in the dark sub-navigation
|
||||||
|
|
||||||
|
### Buttons
|
||||||
|
|
||||||
|
Every button in the system is `{rounded.xs}` with `10px 16px` padding and a `{typography.label}` label. Only the fill and border change between variants.
|
||||||
|
|
||||||
|
**`button-primary`**
|
||||||
|
- Background `{colors.primary}`, text `{colors.on-primary}`, type `{typography.label}`, rounded `{rounded.xs}`, padding `10px 16px`
|
||||||
|
- The primary action everywhere. Frequently markup'd as an anchor rather than a button element
|
||||||
|
|
||||||
|
**`button-primary-pressed`**
|
||||||
|
- Background `{colors.primary-pressed}`, otherwise identical
|
||||||
|
|
||||||
|
**`button-primary-disabled`**
|
||||||
|
- Background `{colors.canvas-soft}`, text `{colors.disabled-ink}`, 1px `{colors.hairline}` border, rounded `{rounded.xs}`, padding `10px 16px`
|
||||||
|
|
||||||
|
**`button-secondary`**
|
||||||
|
- Transparent fill, text `{colors.ink}`, 1px `{colors.ink}` border, rounded `{rounded.xs}`, padding `10px 16px`
|
||||||
|
- The outlined companion, always paired to the right of a primary
|
||||||
|
|
||||||
|
**`button-tertiary`**
|
||||||
|
- Text `{colors.ink}`, rounded `{rounded.xs}`, padding `10px 16px`
|
||||||
|
- A borderless tonal variant whose fill is an 8% wash of `{colors.ink}` over whatever surface it sits on, so it reads as a soft block rather than a defined edge
|
||||||
|
|
||||||
|
**`button-primary-inverse`**
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink}`, rounded `{rounded.xs}`, padding `10px 16px`
|
||||||
|
- The primary action on a dark band — the polarity flips rather than the colour changing
|
||||||
|
|
||||||
|
**`button-secondary-inverse`**
|
||||||
|
- Transparent fill, text `{colors.on-primary}`, 1px `{colors.on-primary}` border, rounded `{rounded.xs}`, padding `10px 16px`
|
||||||
|
|
||||||
|
### Bands & Sections
|
||||||
|
|
||||||
|
All six band variants are full-bleed, square-cornered and padded `48px 0`. They differ only in fill.
|
||||||
|
|
||||||
|
**`hero-band`**
|
||||||
|
- Background `{colors.canvas-warm}`, text `{colors.ink}`, type `{typography.display-serif-md}`, rounded `{rounded.none}`, padding `48px`
|
||||||
|
- Opens every product page. Carries a low-contrast pattern overlay and frequently ends on an angled diagonal
|
||||||
|
|
||||||
|
**`hero-eyebrow-rule`**
|
||||||
|
- Background `{colors.accent-gold}`, rounded `{rounded.none}`, 40 × 4px
|
||||||
|
- Sits directly under the hero headline. The system's only ornament
|
||||||
|
|
||||||
|
**`section-band-white`** · **`section-band-soft`** · **`section-band-tint`** · **`section-band-warm`**
|
||||||
|
- Backgrounds `{colors.canvas}`, `{colors.canvas-soft}`, `{colors.canvas-tint}` and `{colors.canvas-warm}` respectively
|
||||||
|
- All text `{colors.ink}`, type `{typography.body}`, rounded `{rounded.none}`, padding `48px`
|
||||||
|
- The four neutral rungs. A page is built by alternating them; the shift between adjacent rungs is deliberately small
|
||||||
|
|
||||||
|
**`section-band-teal`**
|
||||||
|
- Background `{colors.band-teal}`, text `{colors.ink}`, type `{typography.body}`, rounded `{rounded.none}`, padding `48px`
|
||||||
|
- A short chromatic strip, around 120 to 160px tall, used to interrupt a long neutral run
|
||||||
|
|
||||||
|
**`section-band-forest`**
|
||||||
|
- Background `{colors.band-forest}`, text `{colors.on-primary}`, type `{typography.body}`, rounded `{rounded.none}`, padding `48px`
|
||||||
|
- The one deep colour band, carrying white text and a multi-column link list
|
||||||
|
|
||||||
|
### Cards & Media
|
||||||
|
|
||||||
|
**`content-card`**
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink}`, type `{typography.body-loose}`, rounded `{rounded.xl}`, padding `{spacing.xxxl}`
|
||||||
|
- The corporate index workhorse. A wide card holding a headline, copy, a primary action and a half-width image
|
||||||
|
|
||||||
|
**`stat-panel`**
|
||||||
|
- Background `{colors.canvas-warm}`, text `{colors.ink}`, type `{typography.body-loose}`, rounded `{rounded.xl}`, padding `{spacing.xl}`
|
||||||
|
- A tinted block nested inside a content card, holding a short bulleted list of figures
|
||||||
|
|
||||||
|
**`product-card`** and **`product-card-warm`**
|
||||||
|
- Backgrounds `{colors.canvas}` and `{colors.canvas-warm}`, text `{colors.ink}`, type `{typography.body}`, rounded `{rounded.md}`, padding `{spacing.xxl}`
|
||||||
|
- The product page equivalent, at the smaller radius. The warm variant is used when the card sits on a white band
|
||||||
|
|
||||||
|
**`nav-tile`**
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink}`, type `{typography.label-strong}`, 1px `{colors.hairline}` border, rounded `{rounded.lg}`, padding `{spacing.md}`
|
||||||
|
- The row of eight product entry tiles below the corporate index masthead, grouped under two light sans labels
|
||||||
|
|
||||||
|
**`media-frame`**
|
||||||
|
- Background `{colors.canvas}`, rounded `{rounded.md}`
|
||||||
|
- The frame around an embedded video or product screenshot
|
||||||
|
|
||||||
|
**`play-button-circular`**
|
||||||
|
- Background `{colors.ink}`, icon `{colors.on-primary}`, rounded `{rounded.full}`, 40px
|
||||||
|
- The only circular element in the system
|
||||||
|
|
||||||
|
### Content & Links
|
||||||
|
|
||||||
|
**`channel-column`**
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink}`, type `{typography.heading-lg}`, 2px `{colors.divider}` rule, rounded `{rounded.none}`, padding `{spacing.xxl}`
|
||||||
|
- A three-up group on the contact page. Each column holds a thin outline icon, an 800-weight heading, a short paragraph and a `{components.link-inline}`, separated by full-height vertical rules
|
||||||
|
|
||||||
|
**`link-inline`**
|
||||||
|
- Text `{colors.link}`, type `{typography.body}`, rounded `{rounded.none}`
|
||||||
|
- Set with no underline and at the same size and weight as the surrounding copy
|
||||||
|
|
||||||
|
### Footer
|
||||||
|
|
||||||
|
**`footer`**
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink}`, type `{typography.caption}`, rounded `{rounded.none}`, 105px tall
|
||||||
|
- A single horizontal row of fine-print links above a row of social icons. No rule, no fill change, no column structure
|
||||||
|
|
||||||
|
**`footer-link`**
|
||||||
|
- Text `{colors.ink}`, type `{typography.caption}`, rounded `{rounded.none}`
|
||||||
|
- Set in ink rather than `{colors.link}`, which is what keeps the footer quiet
|
||||||
|
|
||||||
|
### Examples (illustrative)
|
||||||
|
|
||||||
|
> These ten surfaces are kit-mirror demonstrations, not components found on the brand's own pages. Each is composed from the primitives above so downstream consumers re-skin the shapes this system actually uses — the square `{rounded.none}` band, the `{rounded.xs}` button, the `{rounded.md}` card, and a neutral ladder that separates surfaces by tone and a hairline rule instead of by shadow.
|
||||||
|
|
||||||
|
**`ex-pricing-tier`** — default tier card
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink}`, 1px `{colors.hairline}` border, rounded `{rounded.md}`, padding `{spacing.xxl}`
|
||||||
|
- CTA from `{components.button-secondary}`
|
||||||
|
|
||||||
|
**`ex-pricing-tier-featured`** — the highlighted tier
|
||||||
|
- Background `{colors.primary}`, text `{colors.on-primary}`, rounded `{rounded.md}`, padding `{spacing.xxl}`
|
||||||
|
- Polarity-flipped to the action charcoal, the same inversion `{components.section-band-forest}` performs, with its CTA from `{components.button-primary-inverse}`
|
||||||
|
|
||||||
|
**`ex-product-selector`** — what's-included summary card
|
||||||
|
- Background `{colors.canvas-soft}`, text `{colors.ink}`, rounded `{rounded.md}`, padding `{spacing.xxl}`
|
||||||
|
- One rung up the ladder, with rows borrowing `{components.nav-tile}` chrome
|
||||||
|
|
||||||
|
**`ex-cart-drawer`** — subscription summary
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink}`, rounded `{rounded.md}`, padding `{spacing.xxl}`, line items separated by `{colors.divider}`
|
||||||
|
- The same warm rule `{components.channel-column}` uses between columns
|
||||||
|
|
||||||
|
**`ex-app-shell-row`** — sidebar nav row
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink}`, type `{typography.body}`, rounded `{rounded.md}`, padding `{spacing.sm} {spacing.md}`, active indicator `{colors.primary}`
|
||||||
|
|
||||||
|
**`ex-data-table-cell`** — table header and body chrome
|
||||||
|
- Header background `{colors.canvas-tint}` in `{typography.caption}`, body cells `{typography.body}`, cell padding `{spacing.sm} {spacing.md}`, row border `{colors.hairline}`
|
||||||
|
|
||||||
|
**`ex-auth-form-card`** — sign-in card
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink}`, 1px `{colors.hairline}` border, rounded `{rounded.md}`, padding `{spacing.xxl}`
|
||||||
|
- Inputs take the `{components.text-input}` treatment
|
||||||
|
|
||||||
|
**`ex-modal-card`** — modal dialog surface
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink}`, 1px `{colors.hairline}` border, rounded `{rounded.md}`, padding `{spacing.xxl}`
|
||||||
|
- No shadow, since the system has none — the modal is bounded by its rule alone
|
||||||
|
|
||||||
|
**`ex-empty-state-card`** — empty-state frame
|
||||||
|
- Background `{colors.canvas-soft}`, text `{colors.ink}`, rounded `{rounded.md}`, padding `{spacing.section}`, caption in `{typography.body}`
|
||||||
|
|
||||||
|
**`ex-toast`** — toast notification surface
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink}`, type `{typography.body}`, 1px `{colors.hairline}` border, rounded `{rounded.md}`, padding `{spacing.sm} {spacing.xl}`
|
||||||
|
|
||||||
|
## Do's and Don'ts
|
||||||
|
|
||||||
|
### Do
|
||||||
|
- Build page structure from the neutral ladder. Moving a section one rung is the system's way of saying "new region".
|
||||||
|
- Keep `{colors.brand-mark}` on the wordmark and nowhere else. Its scarcity is what gives it weight.
|
||||||
|
- Run every action through `{colors.primary}` at `{rounded.xs}` with `10px 16px` padding, whatever the context.
|
||||||
|
- Flip polarity rather than changing colour when an action lands on a dark band — use `{components.button-primary-inverse}`.
|
||||||
|
- Hold `{spacing.section}` at 48px on every full-width band; the uniform rhythm is what makes the small tonal steps legible.
|
||||||
|
- Let weight carry hierarchy. The 400-to-800 jump between body and heading is the system's main structural signal.
|
||||||
|
- Keep letter-spacing at zero on every role, at every size.
|
||||||
|
- Deploy chromatic colour only at whole-band scale, as `{components.section-band-teal}` or `{components.section-band-forest}`.
|
||||||
|
|
||||||
|
### Don't
|
||||||
|
- Don't add shadows. The system has none, and elevation is expressed by position on the neutral ladder.
|
||||||
|
- Don't use pure black. `{colors.ink}` is warm and deliberately a few points off it.
|
||||||
|
- Don't round a band, a section, a masthead or a footer — `{rounded.none}` on full-width chrome is the rule.
|
||||||
|
- Don't mix the two card radii. `{rounded.xl}` belongs to the corporate index and `{rounded.md}` to the product pages; using both on one page breaks the template read.
|
||||||
|
- Don't set a headline in Oracle Sans on a product page or in Georgia on the corporate index — the two registers do not cross templates.
|
||||||
|
- Don't underline `{components.link-inline}`; `{colors.link}` alone carries the affordance.
|
||||||
|
- Don't add a fourth or fifth tint between the ladder rungs. They are already close enough that another step would be invisible.
|
||||||
|
- Don't give `{components.hero-eyebrow-rule}` a second colour or a second instance per page; one 40 × 4px gold bar is the whole ornament budget.
|
||||||
5
design-md/oracle/README.md
Normal file
5
design-md/oracle/README.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# Oracle Inspired Design System Analysis
|
||||||
|
|
||||||
|
Design system details have been moved to: https://getdesign.md/oracle/design-md
|
||||||
|
|
||||||
|
You can also view previews, dark mode examples, and download options on getdesign.md.
|
||||||
616
design-md/oura/DESIGN.md
Normal file
616
design-md/oura/DESIGN.md
Normal file
@ -0,0 +1,616 @@
|
|||||||
|
---
|
||||||
|
version: alpha
|
||||||
|
name: Oura Analysis
|
||||||
|
description: An analysis of Oura's design language — a warm-paper wellness system that pairs a high-contrast Editorial serif with a quiet grotesque sans, wraps every surface in a cream-and-earth palette drawn from mustard, clay and olive, and drives conversion with a single decisive action blue against otherwise calm, photography-led layouts.
|
||||||
|
|
||||||
|
colors:
|
||||||
|
primary: "#2a72de"
|
||||||
|
on-primary: "#ffffff"
|
||||||
|
stone: "#4a4741"
|
||||||
|
on-stone: "#ffffff"
|
||||||
|
clay: "#6b443d"
|
||||||
|
espresso: "#39221e"
|
||||||
|
gold: "#af751b"
|
||||||
|
ochre: "#bc924c"
|
||||||
|
gold-soft: "#ddaa61"
|
||||||
|
gold-pale: "#ddbe78"
|
||||||
|
gold-deep: "#684d07"
|
||||||
|
forest: "#224228"
|
||||||
|
olive: "#5c6f5d"
|
||||||
|
sage: "#849671"
|
||||||
|
sage-mute: "#7b886d"
|
||||||
|
sage-pale: "#ced4b8"
|
||||||
|
canvas: "#f7f1e8"
|
||||||
|
surface: "#ffffff"
|
||||||
|
surface-grey: "#ececec"
|
||||||
|
silver: "#cccac7"
|
||||||
|
ink-band: "#000000"
|
||||||
|
ink-band-soft: "#19191c"
|
||||||
|
ink: "#1c1b1a"
|
||||||
|
ash: "#838280"
|
||||||
|
mute: "#a8a5a0"
|
||||||
|
on-dark: "#ffffff"
|
||||||
|
hairline: "#e1dcd3"
|
||||||
|
error: "#e33a22"
|
||||||
|
|
||||||
|
typography:
|
||||||
|
display:
|
||||||
|
fontFamily: Editorial New
|
||||||
|
fontSize: 110px
|
||||||
|
fontWeight: 300
|
||||||
|
lineHeight: 1.05
|
||||||
|
letterSpacing: 0
|
||||||
|
display-2:
|
||||||
|
fontFamily: Editorial New
|
||||||
|
fontSize: 80px
|
||||||
|
fontWeight: 300
|
||||||
|
lineHeight: 1.1
|
||||||
|
letterSpacing: 0
|
||||||
|
heading-1:
|
||||||
|
fontFamily: Editorial New
|
||||||
|
fontSize: 68px
|
||||||
|
fontWeight: 300
|
||||||
|
lineHeight: 1.1
|
||||||
|
letterSpacing: 0
|
||||||
|
heading-2:
|
||||||
|
fontFamily: Editorial New
|
||||||
|
fontSize: 40px
|
||||||
|
fontWeight: 300
|
||||||
|
lineHeight: 1.15
|
||||||
|
letterSpacing: 0
|
||||||
|
heading-3:
|
||||||
|
fontFamily: AkkuratLL
|
||||||
|
fontSize: 40px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 1.25
|
||||||
|
letterSpacing: 0
|
||||||
|
title:
|
||||||
|
fontFamily: AkkuratLL
|
||||||
|
fontSize: 32px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 1.25
|
||||||
|
letterSpacing: 0
|
||||||
|
lead:
|
||||||
|
fontFamily: Editorial New
|
||||||
|
fontSize: 24px
|
||||||
|
fontWeight: 100
|
||||||
|
lineHeight: 1.25
|
||||||
|
letterSpacing: 0
|
||||||
|
body-lg:
|
||||||
|
fontFamily: AkkuratLL
|
||||||
|
fontSize: 20px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 1.5
|
||||||
|
letterSpacing: 0
|
||||||
|
body:
|
||||||
|
fontFamily: AkkuratLL
|
||||||
|
fontSize: 18px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 1.5
|
||||||
|
letterSpacing: 0
|
||||||
|
body-sm:
|
||||||
|
fontFamily: AkkuratLL
|
||||||
|
fontSize: 16px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 1.5
|
||||||
|
letterSpacing: 0
|
||||||
|
button:
|
||||||
|
fontFamily: AkkuratLL
|
||||||
|
fontSize: 16px
|
||||||
|
fontWeight: 600
|
||||||
|
lineHeight: 1
|
||||||
|
letterSpacing: 0
|
||||||
|
ui:
|
||||||
|
fontFamily: AkkuratLL
|
||||||
|
fontSize: 14px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 1.4
|
||||||
|
letterSpacing: 0
|
||||||
|
caption:
|
||||||
|
fontFamily: AkkuratLL
|
||||||
|
fontSize: 13px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 1.4
|
||||||
|
letterSpacing: 0
|
||||||
|
eyebrow:
|
||||||
|
fontFamily: AkkuratLL
|
||||||
|
fontSize: 12px
|
||||||
|
fontWeight: 700
|
||||||
|
lineHeight: 1.2
|
||||||
|
letterSpacing: 1px
|
||||||
|
|
||||||
|
rounded:
|
||||||
|
none: 0px
|
||||||
|
xs: 4px
|
||||||
|
sm: 8px
|
||||||
|
md: 12px
|
||||||
|
lg: 24px
|
||||||
|
xl: 40px
|
||||||
|
full: 9999px
|
||||||
|
|
||||||
|
spacing:
|
||||||
|
xxs: 4px
|
||||||
|
xs: 8px
|
||||||
|
sm: 12px
|
||||||
|
md: 16px
|
||||||
|
lg: 24px
|
||||||
|
xl: 32px
|
||||||
|
|
||||||
|
components:
|
||||||
|
# ─── Brand-native components (extracted) ───
|
||||||
|
nav-bar:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.stone}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
|
||||||
|
announcement-bar:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.eyebrow}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
|
||||||
|
hero:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.display}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
|
||||||
|
button-primary:
|
||||||
|
backgroundColor: "{colors.primary}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.button}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
|
||||||
|
button-secondary:
|
||||||
|
backgroundColor: "{colors.stone}"
|
||||||
|
textColor: "{colors.on-stone}"
|
||||||
|
typography: "{typography.button}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
|
||||||
|
button-on-dark:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.stone}"
|
||||||
|
typography: "{typography.button}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
|
||||||
|
button-outline:
|
||||||
|
backgroundColor: "{colors.ink-band}"
|
||||||
|
textColor: "{colors.on-dark}"
|
||||||
|
borderColor: "{colors.on-dark}"
|
||||||
|
typography: "{typography.button}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
|
||||||
|
button-outline-stone:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.stone}"
|
||||||
|
borderColor: "{colors.stone}"
|
||||||
|
typography: "{typography.button}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
|
||||||
|
button-icon-circular:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.stone}"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
|
||||||
|
text-input:
|
||||||
|
backgroundColor: "{colors.stone}"
|
||||||
|
textColor: "{colors.on-stone}"
|
||||||
|
typography: "{typography.body-sm}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
|
||||||
|
text-input-focused:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
borderColor: "{colors.error}"
|
||||||
|
typography: "{typography.body-sm}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
|
||||||
|
feature-card:
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
|
||||||
|
feature-card-elevated:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
|
||||||
|
product-card:
|
||||||
|
backgroundColor: "{colors.surface-grey}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.xl}"
|
||||||
|
|
||||||
|
person-card:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body-sm}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
|
||||||
|
stat-badge:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.stone}"
|
||||||
|
typography: "{typography.title}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
|
||||||
|
pill-tab:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.stone}"
|
||||||
|
borderColor: "{colors.silver}"
|
||||||
|
typography: "{typography.ui}"
|
||||||
|
rounded: "{rounded.full}"
|
||||||
|
|
||||||
|
eyebrow-label:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.eyebrow}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
|
||||||
|
news-card:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
|
||||||
|
footer:
|
||||||
|
backgroundColor: "{colors.ink-band-soft}"
|
||||||
|
textColor: "{colors.on-dark}"
|
||||||
|
typography: "{typography.body-sm}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
|
||||||
|
# ─── Examples (illustrative, kit-mirror) ───
|
||||||
|
# (derived in Step 7.5 by scripts/derive-examples-block.mjs)
|
||||||
|
|
||||||
|
ex-pricing-tier:
|
||||||
|
description: "Default Pricing tier card. Re-uses feature-card chrome with brand canvas-soft surface."
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
ex-pricing-tier-featured:
|
||||||
|
description: "Featured/highlighted tier — polarity-flipped surface (dark fill + light text in light mode, light fill + dark text in dark mode)."
|
||||||
|
backgroundColor: "{colors.ink}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
ex-product-selector:
|
||||||
|
description: "Color/size picker chrome — fashion / DTC variant selector."
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.md}"
|
||||||
|
ex-cart-drawer:
|
||||||
|
description: "Shopping cart drawer — DTC / fashion brand actual cart chrome."
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
item-divider: "{colors.hairline}"
|
||||||
|
ex-app-shell-row:
|
||||||
|
description: "Sidebar nav row inside the App Shell example. Active state uses brand primary as the indicator."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
activeIndicator: "{colors.primary}"
|
||||||
|
rounded: "{rounded.sm}"
|
||||||
|
padding: "{spacing.sm} {spacing.md}"
|
||||||
|
ex-data-table-cell:
|
||||||
|
description: "Default data-table th + td chrome. Header uses mono-caps eyebrow typography; body uses body-sm."
|
||||||
|
headerBackground: "{colors.surface}"
|
||||||
|
headerTypography: "{typography.eyebrow}"
|
||||||
|
bodyTypography: "{typography.body-sm}"
|
||||||
|
cellPadding: "{spacing.sm} {spacing.md}"
|
||||||
|
rowBorder: "{colors.hairline}"
|
||||||
|
ex-auth-form-card:
|
||||||
|
description: "Sign-in / sign-up card. Re-uses feature-card chrome with text-input primitives inside."
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
ex-modal-card:
|
||||||
|
description: "Modal dialog surface — same chrome as feature-card with elevated shadow."
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.lg}"
|
||||||
|
ex-empty-state-card:
|
||||||
|
description: "Empty-state illustration frame."
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.xl}"
|
||||||
|
captionTypography: "{typography.body}"
|
||||||
|
ex-toast:
|
||||||
|
description: "Toast notification surface — feature-card shape + medium shadow."
|
||||||
|
backgroundColor: "{colors.surface}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.sm} {spacing.md}"
|
||||||
|
typography: "{typography.body-sm}"
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
|
Oura's web presence reads like a printed field journal that learned to breathe. The default surface is a warm paper cream (`{colors.canvas}` — #f7f1e8) rather than white, and everything sits on it with generous air: a light, high-contrast serif for the big statements, a calm grotesque sans for everything you actually read, and full-bleed lifestyle photography that carries most of the emotional weight. Where a typical wellness-tech site would reach for gradients and glassmorphism, Oura reaches for restraint — flat fills, hairline rules, and long vertical silences between sections.
|
||||||
|
|
||||||
|
The system runs three surface "worlds." The **cream world** (`{colors.canvas}`) is home base for marketing and editorial content. The **ink world** (`{colors.ink-band}` / `{colors.ink-band-soft}`) is a near-black stage reserved for the footer and the "In the News" band, where cream cards float like clippings on a dark table. The **silver world** (`{colors.surface-grey}` → `{colors.silver}`) is a cool, machined grey gradient used only on the product-showcase pages, where the ring is photographed like jewellery.
|
||||||
|
|
||||||
|
Color discipline is the signature move. The whole palette is earth-toned — mustard and gold (`{colors.gold}`, `{colors.ochre}`), clay and espresso (`{colors.clay}`, `{colors.espresso}`), olive and sage (`{colors.forest}`, `{colors.sage}`) — and these appear as accent bands, illustration, and score/data-visualisation, never as buttons. Buttons carry a single, deliberate exception: **action blue** (`{colors.primary}` — #2a72de), used only for the decisive conversion moments ("Explore", "Shop All Products"). The warm brand neutral `{colors.stone}` (#4a4741) does the quieter work — the wordmark, editorial pills, form fields, outlines, and links — so the blue never has to compete.
|
||||||
|
|
||||||
|
**Key Characteristics:**
|
||||||
|
- Warm-paper canvas (`{colors.canvas}`) as the default surface, not white — cream is the brand's resting state.
|
||||||
|
- A two-typeface voice: `{typography.display}` (Editorial New, a light high-contrast serif) for headlines, `{typography.body}` (AkkuratLL, a neutral grotesque) for reading.
|
||||||
|
- One decisive **action blue** (`{colors.primary}`) reserved strictly for primary CTAs; every other button is warm-neutral `{colors.stone}` or cream.
|
||||||
|
- An earth-tone accent family — mustard, clay, olive — used for bands, illustration and data-viz, deliberately kept off buttons.
|
||||||
|
- Fully-rounded pill buttons (`{rounded.full}`) against softly-rounded cards (`{rounded.lg}`) and large-radius product images (`{rounded.xl}`).
|
||||||
|
- Three surface worlds cycling in a predictable rhythm: cream editorial → black news/footer band → silver product stage.
|
||||||
|
- Photography-first hierarchy: full-bleed imagery leads, UI recedes to hairlines and quiet labels.
|
||||||
|
|
||||||
|
## Colors
|
||||||
|
|
||||||
|
> Source pages analysed: the homepage, the Oura Ring 5 store page, the Activity & Movement page, and the Clinical & Science Experts page. The palette below reconciles all four into one system.
|
||||||
|
|
||||||
|
### Brand & Accent
|
||||||
|
- **Action Blue** (`{colors.primary}` — #2a72de): the single conversion color. Fills the primary CTA pill ("Explore", "Shop All Products") with `{colors.on-primary}` text. Used nowhere else — not for links, not for accents.
|
||||||
|
- **Stone** (`{colors.stone}` — #4a4741): the warm taupe-brown brand neutral. Carries the wordmark, secondary/editorial pill buttons, form-field fills, circular-icon outlines, and default link color. This is the color that makes Oura feel "Oura."
|
||||||
|
- **Clay** (`{colors.clay}` — #6b443d): a warm reddish-brown used for accent bands and content cards (e.g., the Activity page's "Your Oura Activity Score" band).
|
||||||
|
- **Espresso** (`{colors.espresso}` — #39221e): the darkest brown, for deep accent fills and rich text on gold surfaces.
|
||||||
|
- **Gold** (`{colors.gold}` — #af751b) / **Ochre** (`{colors.ochre}` — #bc924c) / **Gold Soft** (`{colors.gold-soft}` — #ddaa61) / **Gold Pale** (`{colors.gold-pale}` — #ddbe78) / **Gold Deep** (`{colors.gold-deep}` — #684d07): the mustard ramp. Powers warm illustration, the activity-ring dashboard card, and score data-visualisation.
|
||||||
|
- **Forest** (`{colors.forest}` — #224228) / **Olive** (`{colors.olive}` — #5c6f5d) / **Sage** (`{colors.sage}` — #849671) / **Sage Mute** (`{colors.sage-mute}` — #7b886d) / **Sage Pale** (`{colors.sage-pale}` — #ced4b8): the olive ramp, used for calm accent bands, illustration, and secondary data-visualisation.
|
||||||
|
|
||||||
|
### Surface
|
||||||
|
- **Canvas** (`{colors.canvas}` — #f7f1e8): the signature warm-paper background for all editorial and marketing surfaces.
|
||||||
|
- **Surface** (`{colors.surface}` — #ffffff): pure white, for elevated cards, inputs-on-cream, and the circular "+" overlay buttons on person cards.
|
||||||
|
- **Surface Grey** (`{colors.surface-grey}` — #ececec): the light end of the product-page gradient and light utility fills.
|
||||||
|
- **Silver** (`{colors.silver}` — #cccac7): the cool grey used on product-showcase pages and as the selected-tab border.
|
||||||
|
- **Ink Band** (`{colors.ink-band}` — #000000): the true-black stage for the footer / news band.
|
||||||
|
- **Ink Band Soft** (`{colors.ink-band-soft}` — #19191c): the near-black used for the footer surface, a hair warmer than pure black.
|
||||||
|
- **Hairline** (`{colors.hairline}` — #e1dcd3): the warm 1px divider on cream (a low-opacity ink wash blended onto canvas).
|
||||||
|
|
||||||
|
### Text
|
||||||
|
- **Ink** (`{colors.ink}` — #1c1b1a): primary heading and body text on cream.
|
||||||
|
- **Stone** (`{colors.stone}` — #4a4741): secondary text and editorial emphasis on cream.
|
||||||
|
- **Ash** (`{colors.ash}` — #838280): muted grey for meta text, titles-under-names, and utility captions.
|
||||||
|
- **Mute** (`{colors.mute}` — #a8a5a0): warm grey for the quietest captions and for secondary text on dark bands.
|
||||||
|
- **On Dark** (`{colors.on-dark}` — #ffffff): text and icons on the ink and silver worlds.
|
||||||
|
|
||||||
|
### Semantic
|
||||||
|
- **Error** (`{colors.error}` — #e33a22): validation and focus-error state on form fields (the focused email field border).
|
||||||
|
|
||||||
|
## Typography
|
||||||
|
|
||||||
|
### Font Family
|
||||||
|
Two families carry the entire system, and the tension between them is the point.
|
||||||
|
|
||||||
|
- **Editorial New** (`{typography.display}`, `{typography.heading-1}`, `{typography.heading-2}`, `{typography.lead}`): a light, high-contrast transitional serif used for display headlines, section titles, and the occasional light-serif lead paragraph. Weights run thin — 100 and 300 — so the large sizes read as elegant, not heavy. The Activity page shows it in italic ("move *count*") for a hand-set editorial flourish.
|
||||||
|
- **AkkuratLL** (`{typography.heading-3}` through `{typography.caption}`): a neutral Swiss grotesque that does all the real reading work — subheads, body, UI labels, buttons, captions. Weights 300 / 400 / 600 / 700.
|
||||||
|
|
||||||
|
### Hierarchy
|
||||||
|
|
||||||
|
| Token | Family | Size | Weight | Line Height | Use |
|
||||||
|
|---|---|---|---|---|---|
|
||||||
|
| `{typography.display}` | Editorial New | 110px | 300 | 1.05 | Homepage hero headline ("Subtle. Power.") |
|
||||||
|
| `{typography.display-2}` | Editorial New | 80px | 300 | 1.1 | Secondary-page display headlines |
|
||||||
|
| `{typography.heading-1}` | Editorial New | 68px | 300 | 1.1 | Large page titles |
|
||||||
|
| `{typography.heading-2}` | Editorial New | 40px | 300 | 1.15 | Section headlines |
|
||||||
|
| `{typography.heading-3}` | AkkuratLL | 40px | 400 | 1.25 | Sans section headings / large stats |
|
||||||
|
| `{typography.title}` | AkkuratLL | 32px | 400 | 1.25 | Card titles, sub-section titles |
|
||||||
|
| `{typography.lead}` | Editorial New | 24px | 100 | 1.25 | Light-serif intro / lead paragraphs |
|
||||||
|
| `{typography.body-lg}` | AkkuratLL | 20px | 400 | 1.5 | Emphasised body copy |
|
||||||
|
| `{typography.body}` | AkkuratLL | 18px | 400 | 1.5 | Default body text |
|
||||||
|
| `{typography.body-sm}` | AkkuratLL | 16px | 400 | 1.5 | Dense body, links, form text |
|
||||||
|
| `{typography.button}` | AkkuratLL | 16px | 600 | 1 | Button labels |
|
||||||
|
| `{typography.ui}` | AkkuratLL | 14px | 400 | 1.4 | Nav links, tabs, utility UI |
|
||||||
|
| `{typography.caption}` | AkkuratLL | 13px | 400 | 1.4 | Captions, footnotes |
|
||||||
|
| `{typography.eyebrow}` | AkkuratLL | 12px | 700 | 1.2 | Small-caps overlines ("IN THE NEWS", "FEATURED ARTICLE") |
|
||||||
|
|
||||||
|
### Principles
|
||||||
|
- Serif for feeling, sans for facts. `{typography.display}` and its siblings appear only at large sizes where the high stroke contrast is legible and expressive; everything at reading scale is `{typography.body}`.
|
||||||
|
- Thin display weights. Big serif headlines lean on weight 100–300, so scale — not boldness — creates hierarchy.
|
||||||
|
- Quiet overlines. Section context is set with `{typography.eyebrow}` (uppercase, lightly tracked) rather than heavy kickers.
|
||||||
|
|
||||||
|
### Note on Font Substitutes
|
||||||
|
Both faces are proprietary. For open-source builds, substitute **Editorial New** with **Fraunces** or **Newsreader** (both high-contrast serifs — set optical size high and weight low to match the thin display feel), and **AkkuratLL** with **Inter** or **Hanken Grotesk** (neutral grotesques with similar x-height). When substituting, nudge display line-height up slightly (Fraunces runs a touch taller than Editorial New) and keep body tracking at 0.
|
||||||
|
|
||||||
|
## Layout
|
||||||
|
|
||||||
|
### Spacing System
|
||||||
|
- **Base unit**: 8px.
|
||||||
|
- **Tokens**: `{spacing.xxs}` 4px · `{spacing.xs}` 8px · `{spacing.sm}` 12px · `{spacing.md}` 16px · `{spacing.lg}` 24px · `{spacing.xl}` 32px.
|
||||||
|
- Card interiors sit at `{spacing.lg}`; tight utility groupings (form padding, chip padding) at `{spacing.sm}`–`{spacing.md}`. Section-to-section rhythm is deliberately large — long vertical gaps of blank cream separate content blocks, letting photography and headlines breathe.
|
||||||
|
|
||||||
|
### Grid & Container
|
||||||
|
- Content is center-constrained within a wide max-width, with full-bleed photography breaking out to the viewport edges.
|
||||||
|
- Card grids run 3-up (person cards, benefit trios) and 4-up (news / expert carousels), collapsing toward 1-up on narrow screens.
|
||||||
|
- The product page alternates centered single-column showcases with edge-to-edge media.
|
||||||
|
|
||||||
|
### Whitespace Philosophy
|
||||||
|
Empty cream is a design element, not leftover space. Large silences between sections group related content and pace the scroll like chapters. UI chrome stays minimal so the eye rests on imagery and headlines.
|
||||||
|
|
||||||
|
### Responsive Strategy
|
||||||
|
|
||||||
|
#### Breakpoints
|
||||||
|
| Name | Width | Key Changes |
|
||||||
|
|---|---|---|
|
||||||
|
| Desktop | ≥ 1280px | Full multi-column grids, horizontal nav, large display type |
|
||||||
|
| Laptop | 1024–1279px | Slightly tightened gutters, same structure |
|
||||||
|
| Tablet | 768–1023px | 4-up grids → 2-up, nav begins to condense |
|
||||||
|
| Mobile | ≤ 767px | Single-column stacks, hamburger nav, display type scales down (110px → ~48px), pill CTAs go full-width-ish |
|
||||||
|
|
||||||
|
(Breakpoint ladder observed in the extracted media-query data spans 1280 → 1024 → 896 → 768 → 600 → 480 → 320px.)
|
||||||
|
|
||||||
|
#### Touch Targets
|
||||||
|
Pill buttons (`button-primary`, `button-secondary`) and circular icon buttons (`button-icon-circular`) are sized for comfortable tapping; keep interactive controls at a minimum 44×44px on touch. Carousel arrows and the "+" person-card buttons are circular and finger-sized.
|
||||||
|
|
||||||
|
#### Collapsing Strategy
|
||||||
|
- Horizontal nav collapses to a hamburger below the tablet breakpoint; the cart and wordmark persist.
|
||||||
|
- Multi-column card grids collapse 4-up → 2-up → 1-up.
|
||||||
|
- The silver product showcase keeps its centered single-column media on all sizes and simply scales the imagery.
|
||||||
|
- Footer link columns reflow from a 4-column row into stacked groups.
|
||||||
|
|
||||||
|
#### Image Behavior
|
||||||
|
Photography is full-bleed and art-directed, often edge-to-edge on mobile. Product imagery uses large-radius rounded frames (`{rounded.xl}`); editorial imagery is frequently un-rounded full-bleed. Images lazy-load as sections enter the viewport.
|
||||||
|
|
||||||
|
## Elevation & Depth
|
||||||
|
|
||||||
|
| Level | Treatment | Use |
|
||||||
|
|---|---|---|
|
||||||
|
| 0 — Flat | No shadow; separation by color-world shift or `{colors.hairline}` rule | Default on cream; most sections |
|
||||||
|
| 1 — Resting card | Very soft, low-opacity drop shadow | News cards on the black band, the Technical Specifications card |
|
||||||
|
| 2 — Floating | Slightly deeper, more diffuse soft shadow | Product-showcase media cards, elevated content cards |
|
||||||
|
| 3 — Overlay | Strong diffuse shadow + scrim | Modals / dialogs (rare) |
|
||||||
|
|
||||||
|
Depth is understated. On cream, sections separate through the surface-world shift (cream → black → silver) and hairline dividers rather than heavy elevation. Where shadows appear, they are soft, warm, and low-opacity — never hard or high-contrast.
|
||||||
|
|
||||||
|
### Decorative Depth
|
||||||
|
Depth mostly comes from **photography** (full-bleed lifestyle imagery, machined product renders on the silver stage) and from **warm accent bands** (`{colors.clay}`, `{colors.gold}` families) that recede or advance a section. Subtle radial glows appear behind product imagery on the store page to lift the ring off its grey backdrop.
|
||||||
|
|
||||||
|
## Shapes
|
||||||
|
|
||||||
|
### Border Radius Scale
|
||||||
|
|
||||||
|
| Token | Value | Use |
|
||||||
|
|---|---|---|
|
||||||
|
| `{rounded.none}` | 0px | Full-bleed imagery, bands, nav |
|
||||||
|
| `{rounded.xs}` | 4px | Small utility chips, tight controls |
|
||||||
|
| `{rounded.sm}` | 8px | Small cards, badges, list items |
|
||||||
|
| `{rounded.md}` | 12px | Form fields (email input) |
|
||||||
|
| `{rounded.lg}` | 24px | Content cards, person cards, news cards |
|
||||||
|
| `{rounded.xl}` | 40px | Large product-image cards on the store page |
|
||||||
|
| `{rounded.full}` | 9999px | Pill buttons, tabs, circular icon buttons, stat badges |
|
||||||
|
|
||||||
|
### Photography Geometry
|
||||||
|
Product and lifestyle imagery is generous and soft-cornered: product cards use `{rounded.xl}`, editorial and person imagery uses `{rounded.lg}` or runs full-bleed with no radius. Person cards are near-portrait rectangles with a small circular "+" affordance in the corner. Stat readouts ("99%", "95%", "90%") sit in perfect circles (`{rounded.full}`).
|
||||||
|
|
||||||
|
## Components
|
||||||
|
|
||||||
|
> Only Default and (where genuinely extracted) Active/Pressed states are documented. Variants live as separate `components:` entries in the front matter.
|
||||||
|
|
||||||
|
### Navigation
|
||||||
|
|
||||||
|
**`nav-bar`** — Top navigation on cream
|
||||||
|
- Background `{colors.canvas}`, links in `{colors.stone}` at `{typography.ui}`, no radius. Slots: OURA wordmark (left, `{colors.stone}`), center dropdown links (Shop, Your Health, Why Oura, For Organizations), cart icon (right). Sits flush on the cream canvas with no divider until scrolled.
|
||||||
|
|
||||||
|
**`announcement-bar`** — Top promo strip
|
||||||
|
- Full-width cream strip above the nav, centered `{typography.eyebrow}` text in `{colors.ink}` (e.g. free-trial offer copy). No radius, no background shift — it reads as the top edge of the paper.
|
||||||
|
|
||||||
|
### Hero
|
||||||
|
|
||||||
|
**`hero`** — Page-opening statement
|
||||||
|
- Cream background, `{typography.display}` serif headline in `{colors.ink}` (homepage: "Subtle. Power."), a small serif eyebrow label above, and a single `button-primary` blue pill CTA. Often paired with full-bleed product/lifestyle photography directly beneath the headline.
|
||||||
|
|
||||||
|
### Buttons
|
||||||
|
|
||||||
|
**`button-primary`** — Primary conversion CTA
|
||||||
|
- Background `{colors.primary}`, text `{colors.on-primary}`, type `{typography.button}`, fully rounded (`{rounded.full}`). The only blue in the interface. Used for "Explore" and "Shop All Products".
|
||||||
|
|
||||||
|
**`button-secondary`** — Editorial / secondary action
|
||||||
|
- Background `{colors.stone}`, text `{colors.on-stone}`, `{typography.button}`, `{rounded.full}`. The warm-neutral pill for content actions ("Why Oura", "How It Works").
|
||||||
|
|
||||||
|
**`button-on-dark`** — Cream pill on dark surfaces
|
||||||
|
- Background `{colors.canvas}`, text `{colors.stone}`, `{typography.button}`, `{rounded.full}`. Used for "Read More" and card actions floating on the black news band. (Extracted button variant: cream fill, stone text, full radius.)
|
||||||
|
|
||||||
|
**`button-outline`** — Outline pill on dark/photo
|
||||||
|
- Transparent over `{colors.ink-band}`, 1px `{colors.on-dark}` border, white text, `{rounded.full}`. For low-emphasis actions over dark imagery.
|
||||||
|
|
||||||
|
**`button-outline-stone`** — Outline pill on cream
|
||||||
|
- Cream background, 1px `{colors.stone}` border, `{colors.stone}` text, `{rounded.full}`. Low-emphasis action on the paper canvas.
|
||||||
|
|
||||||
|
**`button-icon-circular`** — Circular icon control
|
||||||
|
- Circular (`{rounded.full}`) control for carousel arrows and the person-card "+" affordance. Two flavours: a white surface circle (`{colors.surface}`) with a hairline edge for the "+" overlays, and a stone-outlined circle for the carousel arrows.
|
||||||
|
|
||||||
|
### Inputs & Forms
|
||||||
|
|
||||||
|
**`text-input`** — Newsletter / email field
|
||||||
|
- Background `{colors.stone}`, text `{colors.on-stone}`, `{typography.body-sm}`, radius `{rounded.md}` (12px), padding roughly 8px vertical / 20px left with a trailing submit affordance on the right. The dark taupe fill makes the field feel like part of the footer rather than a bright form box.
|
||||||
|
|
||||||
|
**`text-input-focused`** — Focused / error field
|
||||||
|
- On focus the field lifts to a light surface (`{colors.surface}`) with `{colors.ink}` text and a `{colors.error}` border for the validation-error state. Radius stays `{rounded.md}`.
|
||||||
|
|
||||||
|
### Cards & Containers
|
||||||
|
|
||||||
|
**`feature-card`** — Content / benefit card
|
||||||
|
- White surface (`{colors.surface}`), `{colors.hairline}` border, `{colors.ink}` text, `{typography.body}`, radius `{rounded.lg}`, padding `{spacing.lg}`. The default soft-cornered content container on cream.
|
||||||
|
|
||||||
|
**`feature-card-elevated`** — Floating content card
|
||||||
|
- Cream surface (`{colors.canvas}`) with a soft Level-1/2 shadow, `{rounded.lg}`, padding `{spacing.lg}`. Used where a card floats over imagery or the black band (news clippings, spec card).
|
||||||
|
|
||||||
|
**`product-card`** — Product-showcase media card
|
||||||
|
- Cool grey surface (`{colors.surface-grey}`), large radius `{rounded.xl}` (40px), holds a machined product render on the silver stage, often with a subtle radial glow behind the ring.
|
||||||
|
|
||||||
|
**`person-card`** — Expert / leadership card
|
||||||
|
- Cream background, portrait photo with radius `{rounded.lg}`, a white circular `button-icon-circular` "+" in the corner, name in `{typography.body}`/`{typography.title}` and role in `{colors.ash}` `{typography.caption}`. Appears in horizontal carousels.
|
||||||
|
|
||||||
|
**`news-card`** — News clipping on the dark band
|
||||||
|
- Cream card (`{colors.canvas}`) floating on `{colors.ink-band}`, `{colors.ink}` text, `{typography.body}`, `{rounded.lg}`, padding `{spacing.lg}`. Carries a publication quote plus a circular arrow link.
|
||||||
|
|
||||||
|
### Signature Components
|
||||||
|
|
||||||
|
**`stat-badge`** — Circular stat readout
|
||||||
|
- Perfect circle (`{rounded.full}`) on cream with a large `{typography.title}`/`{typography.heading-3}` number in `{colors.stone}` and a small caption beneath (e.g. "99% / 95% / 90%" accuracy figures on the product page).
|
||||||
|
|
||||||
|
**`pill-tab`** — Product selector tab
|
||||||
|
- Fully-rounded (`{rounded.full}`) tab in a horizontal selector row; selected state gets a `{colors.silver}` (2px) border, label in `{typography.ui}`, `{colors.stone}` text on cream. Used for the "Everyday health sensing" category switcher.
|
||||||
|
|
||||||
|
**`eyebrow-label`** — Section overline
|
||||||
|
- Uppercase `{typography.eyebrow}` label in `{colors.ink}` on cream, no background, marking section context ("ACTIVITY & MOVEMENT", "FROM THE PULSE BLOG", "FEATURED ARTICLE" as a small pill on imagery).
|
||||||
|
|
||||||
|
**`footer`** — Site footer
|
||||||
|
- Near-black surface (`{colors.ink-band-soft}`), `{colors.on-dark}` text and `{colors.mute}` secondary text, `{typography.body-sm}`. Contains the OURA wordmark, a newsletter `text-input`, payment-method icons, a 4-column link grid, and a language pill.
|
||||||
|
|
||||||
|
### Examples (illustrative)
|
||||||
|
|
||||||
|
> Auto-derived kit-mirror demonstration surfaces (`scripts/derive-examples-block.mjs`). Each `ex-*` entry references brand-native primitives so downstream consumers (`/preview-design`, `/generate-kit`) re-skin the same 10 surfaces consistently.
|
||||||
|
|
||||||
|
**`ex-pricing-tier`** — Default Pricing tier card. Re-uses feature-card chrome with brand canvas-soft surface.
|
||||||
|
- Properties: `backgroundColor`, `textColor`, `borderColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-pricing-tier-featured`** — Featured/highlighted tier — polarity-flipped surface (dark fill + light text in light mode, light fill + dark text in dark mode).
|
||||||
|
- Properties: `backgroundColor`, `textColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-product-selector`** — Color/size picker chrome — fashion / DTC variant selector.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-cart-drawer`** — Shopping cart drawer — DTC / fashion brand actual cart chrome.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`, `item-divider`
|
||||||
|
|
||||||
|
**`ex-app-shell-row`** — Sidebar nav row inside the App Shell example. Active state uses brand primary as the indicator.
|
||||||
|
- Properties: `backgroundColor`, `activeIndicator`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-data-table-cell`** — Default data-table th + td chrome. Header uses mono-caps eyebrow typography; body uses body-sm.
|
||||||
|
- Properties: `headerBackground`, `headerTypography`, `bodyTypography`, `cellPadding`, `rowBorder`
|
||||||
|
|
||||||
|
**`ex-auth-form-card`** — Sign-in / sign-up card. Re-uses feature-card chrome with text-input primitives inside.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-modal-card`** — Modal dialog surface — same chrome as feature-card with elevated shadow.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`
|
||||||
|
|
||||||
|
**`ex-empty-state-card`** — Empty-state illustration frame.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`, `captionTypography`
|
||||||
|
|
||||||
|
**`ex-toast`** — Toast notification surface — feature-card shape + medium shadow.
|
||||||
|
- Properties: `backgroundColor`, `rounded`, `padding`, `typography`
|
||||||
|
|
||||||
|
|
||||||
|
## Do's and Don'ts
|
||||||
|
|
||||||
|
### Do
|
||||||
|
- Reserve `{colors.primary}` strictly for the primary conversion CTA — one blue moment per view, maximum.
|
||||||
|
- Default every surface to `{colors.canvas}` (warm paper), not white. White (`{colors.surface}`) is for elevated cards and inputs, not backgrounds.
|
||||||
|
- Use `{colors.stone}` for the wordmark, secondary pills, outlines, form fills, and links — it is the workhorse neutral.
|
||||||
|
- Pair `{typography.display}` (thin serif) at large sizes with `{typography.body}` (grotesque) for reading; let scale create hierarchy.
|
||||||
|
- Keep pills fully rounded (`{rounded.full}`) and cards softly rounded (`{rounded.lg}`); use `{rounded.xl}` only for large product imagery.
|
||||||
|
- Let the earth-tone ramps (gold, clay, olive) live in bands, illustration, and data-viz — as color-blocked sections that pace the scroll.
|
||||||
|
- Give sections large vertical breathing room; treat empty cream as structure.
|
||||||
|
|
||||||
|
### Don't
|
||||||
|
- Don't use `{colors.primary}` for links, accents, icons, or decorative fills — it must stay unique to the primary CTA.
|
||||||
|
- Don't put the mustard/olive accent colors on buttons — they are surfaces and illustration, never actions.
|
||||||
|
- Don't set body copy in `{typography.display}`; the thin serif is display-only and gets illegible at small sizes.
|
||||||
|
- Don't default backgrounds to white — it breaks the warm-paper identity.
|
||||||
|
- Don't add heavy or hard-edged shadows; elevation here is soft, warm, and low-opacity.
|
||||||
|
- Don't crowd sections — compressing the vertical rhythm collapses the calm, editorial pacing that defines the brand.
|
||||||
5
design-md/oura/README.md
Normal file
5
design-md/oura/README.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# Oura Inspired Design System Analysis
|
||||||
|
|
||||||
|
Design system details have been moved to: https://getdesign.md/oura/design-md
|
||||||
|
|
||||||
|
You can also view previews, dark mode examples, and download options on getdesign.md.
|
||||||
639
design-md/sap/DESIGN.md
Normal file
639
design-md/sap/DESIGN.md
Normal file
@ -0,0 +1,639 @@
|
|||||||
|
---
|
||||||
|
version: alpha
|
||||||
|
name: SAP Analysis
|
||||||
|
description: An analysis of SAP's design language — an enterprise system that keeps almost everything on white and spends its structure on two greys and one blue. The chrome is deliberately quiet, a 60px light-grey bar over a product tab rail, so the page reads as an application frame rather than a marketing surface. Depth comes from broad flat bands rather than shadow, corners stay at 8px on controls and 12px on media, and the brand's own variable typeface carries a 350-to-700 weight range that lets a 15px list item and a 15px nav link read as different classes of text at the same size.
|
||||||
|
|
||||||
|
colors:
|
||||||
|
primary: "#0057d2"
|
||||||
|
primary-deep: "#0040b0"
|
||||||
|
on-primary: "#ffffff"
|
||||||
|
navy: "#022879"
|
||||||
|
sky: "#6bc0ff"
|
||||||
|
canvas: "#ffffff"
|
||||||
|
chrome: "#f5f6f7"
|
||||||
|
band: "#eaecee"
|
||||||
|
band-blue: "#ebf8ff"
|
||||||
|
band-lavender: "#f7f4ff"
|
||||||
|
ink: "#000000"
|
||||||
|
ink-lead: "#3c3c3c"
|
||||||
|
ink-body: "#223548"
|
||||||
|
ink-list: "#354a5f"
|
||||||
|
ink-meta: "#475e75"
|
||||||
|
ink-nav: "#545454"
|
||||||
|
hairline: "#475e75"
|
||||||
|
|
||||||
|
typography:
|
||||||
|
display:
|
||||||
|
fontFamily: 72 Brand Variable
|
||||||
|
fontSize: 57px
|
||||||
|
fontWeight: 700
|
||||||
|
lineHeight: 62.7px
|
||||||
|
letterSpacing: 0
|
||||||
|
hero-title:
|
||||||
|
fontFamily: 72 Brand Variable
|
||||||
|
fontSize: 36px
|
||||||
|
fontWeight: 500
|
||||||
|
lineHeight: 39.6px
|
||||||
|
letterSpacing: 0
|
||||||
|
section-title:
|
||||||
|
fontFamily: 72 Brand Variable
|
||||||
|
fontSize: 32px
|
||||||
|
fontWeight: 500
|
||||||
|
lineHeight: 35.2px
|
||||||
|
letterSpacing: 0
|
||||||
|
lead:
|
||||||
|
fontFamily: 72 Brand Variable
|
||||||
|
fontSize: 28px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 30.8px
|
||||||
|
letterSpacing: 0
|
||||||
|
subhead:
|
||||||
|
fontFamily: 72 Brand Variable
|
||||||
|
fontSize: 20px
|
||||||
|
fontWeight: 500
|
||||||
|
lineHeight: 22px
|
||||||
|
letterSpacing: 0
|
||||||
|
body-lg:
|
||||||
|
fontFamily: 72 Brand Variable
|
||||||
|
fontSize: 20px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 30px
|
||||||
|
letterSpacing: 0
|
||||||
|
body:
|
||||||
|
fontFamily: 72 Brand Variable
|
||||||
|
fontSize: 18px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 27px
|
||||||
|
letterSpacing: 0
|
||||||
|
button:
|
||||||
|
fontFamily: 72 Brand Variable
|
||||||
|
fontSize: 16px
|
||||||
|
fontWeight: 500
|
||||||
|
lineHeight: 17.6px
|
||||||
|
letterSpacing: 0
|
||||||
|
link:
|
||||||
|
fontFamily: 72 Brand Variable
|
||||||
|
fontSize: 16px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 24px
|
||||||
|
letterSpacing: 0
|
||||||
|
nav-link:
|
||||||
|
fontFamily: 72 Brand Variable
|
||||||
|
fontSize: 15px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 21px
|
||||||
|
letterSpacing: 0
|
||||||
|
list-item:
|
||||||
|
fontFamily: 72 Brand Variable
|
||||||
|
fontSize: 15px
|
||||||
|
fontWeight: 350
|
||||||
|
lineHeight: 21px
|
||||||
|
letterSpacing: 0
|
||||||
|
caption:
|
||||||
|
fontFamily: 72 Brand Variable
|
||||||
|
fontSize: 14px
|
||||||
|
fontWeight: 400
|
||||||
|
lineHeight: 21px
|
||||||
|
letterSpacing: 0
|
||||||
|
|
||||||
|
rounded:
|
||||||
|
none: 0px
|
||||||
|
sm: 4px
|
||||||
|
md: 8px
|
||||||
|
lg: 12px
|
||||||
|
|
||||||
|
spacing:
|
||||||
|
xxs: 2px
|
||||||
|
xs: 3px
|
||||||
|
sm: 8px
|
||||||
|
md: 9px
|
||||||
|
lg: 10px
|
||||||
|
xl: 12px
|
||||||
|
xxl: 15px
|
||||||
|
wide: 16px
|
||||||
|
section: 20px
|
||||||
|
giant: 24px
|
||||||
|
max: 32px
|
||||||
|
huge: 40px
|
||||||
|
hero: 48px
|
||||||
|
band: 56px
|
||||||
|
page: 72px
|
||||||
|
|
||||||
|
components:
|
||||||
|
nav-bar:
|
||||||
|
backgroundColor: "{colors.chrome}"
|
||||||
|
textColor: "{colors.ink-nav}"
|
||||||
|
typography: "{typography.nav-link}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
height: 60
|
||||||
|
|
||||||
|
nav-link:
|
||||||
|
backgroundColor: "{colors.chrome}"
|
||||||
|
textColor: "{colors.ink-nav}"
|
||||||
|
typography: "{typography.nav-link}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
|
||||||
|
product-tab:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink-nav}"
|
||||||
|
typography: "{typography.caption}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
height: 32
|
||||||
|
|
||||||
|
product-tab-active:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.primary}"
|
||||||
|
typography: "{typography.subhead}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
height: 44
|
||||||
|
|
||||||
|
breadcrumb:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink-nav}"
|
||||||
|
typography: "{typography.nav-link}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
height: 17
|
||||||
|
|
||||||
|
hero-band:
|
||||||
|
backgroundColor: "{colors.primary-deep}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
height: 450
|
||||||
|
|
||||||
|
hero-title:
|
||||||
|
backgroundColor: "{colors.primary-deep}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.hero-title}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
height: 40
|
||||||
|
|
||||||
|
hero-display:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.display}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
height: 188
|
||||||
|
|
||||||
|
button-primary:
|
||||||
|
backgroundColor: "{colors.primary}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.button}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: 12px 14px
|
||||||
|
height: 44
|
||||||
|
|
||||||
|
button-outline:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.primary-deep}"
|
||||||
|
typography: "{typography.button}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: 8px 9px
|
||||||
|
|
||||||
|
button-floating:
|
||||||
|
backgroundColor: "{colors.primary}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.caption}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: 16px 20px
|
||||||
|
height: 58
|
||||||
|
|
||||||
|
section-heading:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.section-title}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
height: 35
|
||||||
|
|
||||||
|
lead-paragraph:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink-lead}"
|
||||||
|
typography: "{typography.lead}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
|
||||||
|
body-copy:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink-body}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
|
||||||
|
feature-title:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.subhead}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
height: 22
|
||||||
|
|
||||||
|
list-item:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink-list}"
|
||||||
|
typography: "{typography.list-item}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
height: 38
|
||||||
|
|
||||||
|
meta-note:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink-meta}"
|
||||||
|
typography: "{typography.caption}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
|
||||||
|
text-link:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.primary}"
|
||||||
|
typography: "{typography.link}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
|
||||||
|
media-frame:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.caption}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
|
||||||
|
inline-anchor:
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.primary}"
|
||||||
|
typography: "{typography.caption}"
|
||||||
|
rounded: "{rounded.sm}"
|
||||||
|
|
||||||
|
band-neutral:
|
||||||
|
backgroundColor: "{colors.chrome}"
|
||||||
|
textColor: "{colors.ink-body}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
|
||||||
|
band-blue:
|
||||||
|
backgroundColor: "{colors.band-blue}"
|
||||||
|
textColor: "{colors.ink-body}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
|
||||||
|
band-lavender:
|
||||||
|
backgroundColor: "{colors.band-lavender}"
|
||||||
|
textColor: "{colors.ink-body}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
|
||||||
|
footer:
|
||||||
|
backgroundColor: "{colors.band}"
|
||||||
|
textColor: "{colors.ink-nav}"
|
||||||
|
typography: "{typography.nav-link}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
|
||||||
|
sky-panel:
|
||||||
|
backgroundColor: "{colors.sky}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
|
||||||
|
navy-hero:
|
||||||
|
backgroundColor: "{colors.navy}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
rounded: "{rounded.none}"
|
||||||
|
|
||||||
|
# ─── Examples (illustrative) ───
|
||||||
|
ex-pricing-tier:
|
||||||
|
description: "Tier card on the canvas ground with a hairline rule and an 8px corner."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
textColor: "{colors.ink}"
|
||||||
|
borderColor: "{colors.hairline}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.giant}"
|
||||||
|
ex-pricing-tier-featured:
|
||||||
|
description: "Promoted tier, polarity-flipped onto the ink fill."
|
||||||
|
backgroundColor: "{colors.ink}"
|
||||||
|
textColor: "{colors.on-primary}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.giant}"
|
||||||
|
ex-product-selector:
|
||||||
|
description: "What's-included summary card, since the brand sells enterprise software rather than configurable goods."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.giant}"
|
||||||
|
ex-cart-drawer:
|
||||||
|
description: "Subscription summary with hairline-ruled line items, echoing the services feature grid."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.giant}"
|
||||||
|
item-divider: "{colors.hairline}"
|
||||||
|
ex-app-shell-row:
|
||||||
|
description: "Sidebar nav row; the active state is marked by the same blue the active product tab uses."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
activeIndicator: "{colors.primary}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.xl} {spacing.wide}"
|
||||||
|
ex-data-table-cell:
|
||||||
|
description: "Table chrome with subhead headers over caption cells and hairline row rules."
|
||||||
|
headerBackground: "{colors.canvas}"
|
||||||
|
headerTypography: "{typography.caption}"
|
||||||
|
bodyTypography: "{typography.body}"
|
||||||
|
cellPadding: "{spacing.xl} {spacing.wide}"
|
||||||
|
rowBorder: "{colors.hairline}"
|
||||||
|
ex-auth-form-card:
|
||||||
|
description: "Sign-in card on the canvas ground with the brand's control chrome inside."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.giant}"
|
||||||
|
ex-modal-card:
|
||||||
|
description: "Modal dialog surface at the media frame's 12px corner."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.max}"
|
||||||
|
ex-empty-state-card:
|
||||||
|
description: "Empty-state frame on the canvas ground."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
rounded: "{rounded.lg}"
|
||||||
|
padding: "{spacing.huge}"
|
||||||
|
captionTypography: "{typography.body}"
|
||||||
|
ex-toast:
|
||||||
|
description: "Toast surface close to the primary button's own proportions."
|
||||||
|
backgroundColor: "{colors.canvas}"
|
||||||
|
rounded: "{rounded.md}"
|
||||||
|
padding: "{spacing.xl} {spacing.wide}"
|
||||||
|
typography: "{typography.body}"
|
||||||
|
|
||||||
|
---
|
||||||
|
## Overview
|
||||||
|
|
||||||
|
SAP's web surface is built like an application frame rather than a marketing site. A 60px bar in `{colors.chrome}` sits across the top, and on any product or services page a second rail drops beneath it carrying a breadcrumb and a row of tabs. That two-storey chrome is the first thing the design commits to: before a visitor reads a headline they have been told where they are in a very large catalogue, and the page below behaves like the content pane of that catalogue.
|
||||||
|
|
||||||
|
What fills the pane is mostly `{colors.canvas}`. White covers between 57 and 69 percent of every page, and the design separates content by dropping in **broad flat bands** rather than by bordering or elevating anything. There are four of them and each does a different job: `{colors.chrome}` for a neutral section, `{colors.band}` for the footer, `{colors.band-blue}` for a highlighted strip, and `{colors.band-lavender}` for a softer one. They run edge to edge with square corners, so the page reads as a stack of full-width horizontal zones.
|
||||||
|
|
||||||
|
Blue is the only colour that acts. `{colors.primary}` fills every button and every inline link; `{colors.primary-deep}` fills the solid hero band on interior pages and is also the label colour inside an outline button. The home page hero departs from both, running a deep navy gradient anchored on `{colors.navy}` behind a product lockup, which makes it the one surface on the site that is atmospheric rather than flat. Corners stay tight throughout: `{rounded.md}` on every control, `{rounded.lg}` on media, and nothing rounder anywhere.
|
||||||
|
|
||||||
|
**Key Characteristics:**
|
||||||
|
- A two-storey chrome — a `{colors.chrome}` global bar above a product tab rail — that frames the page like an application.
|
||||||
|
- White canvas broken by four full-width flat bands (`{colors.chrome}`, `{colors.band}`, `{colors.band-blue}`, `{colors.band-lavender}`) with square edges.
|
||||||
|
- One acting colour: `{colors.primary}` for controls and links, `{colors.primary-deep}` for the interior hero band.
|
||||||
|
- A five-tier text ladder (`{colors.ink}` → `{colors.ink-lead}` → `{colors.ink-body}` → `{colors.ink-list}` → `{colors.ink-meta}`) that shifts hue as it descends, from pure black through warm grey into slate.
|
||||||
|
- The brand's own variable typeface across a 350-to-700 weight range, so a 15px list item and a 15px nav link read as different classes at identical size.
|
||||||
|
- Depth carried by band and gradient rather than by shadow; controls sit flat on their ground.
|
||||||
|
- Corners capped at `{rounded.md}` for controls and `{rounded.lg}` for media — nothing on the site is a pill.
|
||||||
|
|
||||||
|
## Colors
|
||||||
|
|
||||||
|
### Brand & Accent
|
||||||
|
- **SAP Blue** (`{colors.primary}` — #0057d2): the acting colour. Every filled button, every inline text link, and the active product tab.
|
||||||
|
- **Deep Blue** (`{colors.primary-deep}` — #0040b0): the solid hero band on interior pages, and the label colour inside an outline button placed on white.
|
||||||
|
- **On Primary** (`{colors.on-primary}` — #ffffff): the label on every blue fill and all type inside the hero band.
|
||||||
|
- **Navy** (`{colors.navy}` — #022879): the anchor of the home page's hero gradient, the one atmospheric surface in the system.
|
||||||
|
- **Sky** (`{colors.sky}` — #6bc0ff): a light blue panel used inside the services layout.
|
||||||
|
|
||||||
|
### Surface
|
||||||
|
- **Canvas** (`{colors.canvas}` — #ffffff): the working ground. Content panes, cards and most sections sit on it unchanged.
|
||||||
|
- **Chrome** (`{colors.chrome}` — #f5f6f7): the global navigation bar, and the neutral band used to set a section apart.
|
||||||
|
- **Band** (`{colors.band}` — #eaecee): the footer ground, and the largest single non-white surface on the home page.
|
||||||
|
- **Band Blue** (`{colors.band-blue}` — #ebf8ff): a pale blue strip used to lift a section out of the white run.
|
||||||
|
- **Band Lavender** (`{colors.band-lavender}` — #f7f4ff): a softer wash serving the same role on product pages, with a curved upper edge rather than a square one.
|
||||||
|
|
||||||
|
### Text
|
||||||
|
- **Ink** (`{colors.ink}` — #000000): headings at every level. SAP sets its headlines in true black, not a softened near-black.
|
||||||
|
- **Ink Lead** (`{colors.ink-lead}` — #3c3c3c): the 28px lead paragraph that follows a display headline.
|
||||||
|
- **Ink Body** (`{colors.ink-body}` — #223548): body copy. A slate rather than a grey, which is what separates the paragraph tier from the lead tier.
|
||||||
|
- **Ink List** (`{colors.ink-list}` — #354a5f): list items, set one step lighter than body.
|
||||||
|
- **Ink Meta** (`{colors.ink-meta}` — #475e75): captions and footnotes, the quietest legible tier.
|
||||||
|
- **Ink Nav** (`{colors.ink-nav}` — #545454): navigation links, breadcrumbs and tab labels. The only text colour that is a neutral grey rather than a slate, which is how the chrome stays visually separate from the content.
|
||||||
|
|
||||||
|
### Semantic
|
||||||
|
- **Hairline** (`{colors.hairline}` — #475e75): the rule on an outline button. The same value as `{colors.ink-meta}`, used as a border rather than as type.
|
||||||
|
|
||||||
|
## Typography
|
||||||
|
|
||||||
|
### Font Family
|
||||||
|
The whole system is set in SAP's own variable typeface, 72 Brand Variable. There is no second family and no monospace. What the variable axis buys is a weight range wider than most corporate systems use — 350, 400, 500 and 700 all appear — and the design leans on it hardest at the small end, where three roles share the 14–16px range and are separated by weight alone.
|
||||||
|
|
||||||
|
The clearest example is at 15px. `{typography.nav-link}` is 400 in `{colors.ink-nav}` grey; `{typography.list-item}` is 350 in `{colors.ink-list}` slate. Same size, same family, and yet a reader parses one as chrome and the other as content. A system without a sub-400 weight could not make that distinction without changing size or colour.
|
||||||
|
|
||||||
|
Line height splits cleanly by role. Headings are set tight at roughly 1.1 — `{typography.display}` runs 57px on 62.7px, `{typography.section-title}` 32px on 35.2px — while body roles open to 1.5, with `{typography.body-lg}` at 20px on 30px. `{typography.button}` is set solid at 16px on 17.6px, which is what lets a 44px button hold its label without vertical drift.
|
||||||
|
|
||||||
|
### Hierarchy
|
||||||
|
|
||||||
|
| Token | Size | Weight | Line Height | Letter Spacing | Use |
|
||||||
|
|---|---|---|---|---|---|
|
||||||
|
| `{typography.display}` | 57px | 700 | 62.7px | 0 | Home page display headline |
|
||||||
|
| `{typography.hero-title}` | 36px | 500 | 39.6px | 0 | Interior page hero title |
|
||||||
|
| `{typography.section-title}` | 32px | 500 | 35.2px | 0 | Section headings |
|
||||||
|
| `{typography.lead}` | 28px | 400 | 30.8px | 0 | Lead paragraph |
|
||||||
|
| `{typography.subhead}` | 20px | 500 | 22px | 0 | Feature titles, active tab |
|
||||||
|
| `{typography.body-lg}` | 20px | 400 | 30px | 0 | Large body copy |
|
||||||
|
| `{typography.body}` | 18px | 400 | 27px | 0 | Body copy |
|
||||||
|
| `{typography.button}` | 16px | 500 | 17.6px | 0 | Button labels |
|
||||||
|
| `{typography.link}` | 16px | 400 | 24px | 0 | Inline text links |
|
||||||
|
| `{typography.nav-link}` | 15px | 400 | 21px | 0 | Navigation, breadcrumb |
|
||||||
|
| `{typography.list-item}` | 15px | 350 | 21px | 0 | List items |
|
||||||
|
| `{typography.caption}` | 14px | 400 | 21px | 0 | Captions, tab labels, footnotes |
|
||||||
|
|
||||||
|
### Principles
|
||||||
|
Headings are black and tight; everything below them is slate and open. That single contrast does most of the hierarchy work, and it is why the system needs so few sizes — twelve roles cover three page templates.
|
||||||
|
|
||||||
|
Tracking is left at zero everywhere. For a typeface designed in-house that is a statement of confidence: the metrics are already tuned for the sizes the system uses, so nothing needs correcting.
|
||||||
|
|
||||||
|
### Note on Font Substitutes
|
||||||
|
72 Brand Variable is proprietary. A substitute needs a genuine variable weight axis reaching below 400, because the 350 list-item weight is load-bearing — collapsing it to 400 erases the distinction between a list item and a nav link at 15px. Among open faces, Inter Variable or Source Sans 3 Variable come closest in width and x-height; whichever is used, carry the line heights in the table across verbatim rather than accepting the substitute's defaults, since the tight heading leading is what keeps the display sizes from feeling loose.
|
||||||
|
|
||||||
|
## Layout
|
||||||
|
|
||||||
|
### Spacing System
|
||||||
|
- **Base unit**: 8px, with a fine sub-step at the small end for control padding.
|
||||||
|
- **Tokens**: `{spacing.xxs}` 2px · `{spacing.xs}` 3px · `{spacing.sm}` 8px · `{spacing.md}` 9px · `{spacing.lg}` 10px · `{spacing.xl}` 12px · `{spacing.xxl}` 15px · `{spacing.wide}` 16px · `{spacing.section}` 20px · `{spacing.giant}` 24px · `{spacing.max}` 32px · `{spacing.huge}` 40px · `{spacing.hero}` 48px · `{spacing.band}` 56px · `{spacing.page}` 72px
|
||||||
|
- Controls sit at the tight end: `{component.button-primary}` pads `12px 14px` and `{component.button-outline}` `8px 9px`. The large steps from `{spacing.max}` upward are reserved for the vertical rhythm between bands.
|
||||||
|
|
||||||
|
### Grid & Container
|
||||||
|
The content column is centred and capped, with the chrome running full-bleed above it. Product pages centre their hero — headline, subcopy and a single button stacked on the axis — while the services hero splits left-text against a right-hand image. Feature content resolves into two columns; the services page runs a 2×2 grid separated by hairlines rather than by card edges. The footer divides into link columns above a legal strip.
|
||||||
|
|
||||||
|
Hero treatment is the clearest per-template difference. The home page runs a full-bleed navy gradient, the services page a flat `{colors.primary-deep}` band at 450px, and the product page no band at all — just centred type on `{colors.canvas}` above an illustration. Three templates, three hero strategies, one chrome.
|
||||||
|
|
||||||
|
### Whitespace Philosophy
|
||||||
|
Because nothing is bordered and nothing is elevated, the gap between blocks is what groups them. Sections are separated by large vertical intervals and, where a stronger break is needed, by switching the band colour. The bands are the punctuation of the page: a run of white, a grey interval, more white, a pale blue strip. Within a band the spacing tightens considerably, which is what keeps a dense feature grid readable directly beneath an open hero.
|
||||||
|
|
||||||
|
### Responsive Strategy
|
||||||
|
|
||||||
|
#### Breakpoints
|
||||||
|
| Name | Width | Key Changes |
|
||||||
|
|---|---|---|
|
||||||
|
| Small mobile | < 480px | Single column; tab rail scrolls horizontally; hero type drops to the 36px tier |
|
||||||
|
| Mobile | 480–767px | Single column; nav collapses to a menu; two-column features stack |
|
||||||
|
| Tablet | 768–1023px | Two-column features hold; breadcrumb truncates; hero image moves below its text |
|
||||||
|
| Laptop | 1024–1279px | Full grid; tab rail shows all tabs; hero returns to side-by-side |
|
||||||
|
| Desktop | 1280–1439px | Centred content column at full width |
|
||||||
|
| Wide | ≥ 1440px | Gutters absorb the extra width; bands stay full-bleed |
|
||||||
|
|
||||||
|
The system declares an unusually dense set of media queries — well over thirty across the three templates — which is what a catalogue this large needs when the same chrome has to host very different page bodies.
|
||||||
|
|
||||||
|
#### Touch Targets
|
||||||
|
`{component.button-floating}` clears 44×44 WCAG-AAA comfortably at 58px, and `{component.button-primary}` meets it exactly at 44px. `{component.product-tab-active}` reaches 44px while the inactive `{component.product-tab}` sits at 32px, and `{component.breadcrumb}` at 17px is a wayfinding label rather than a primary target. On touch widths the inactive tabs are the first thing that should grow.
|
||||||
|
|
||||||
|
#### Collapsing Strategy
|
||||||
|
The global bar collapses its links behind a menu but keeps the logo, search and account affordances at every width. The product tab rail becomes a horizontal scroller rather than wrapping, so the active tab stays anchored. Two-column feature blocks stack, the 2×2 grid becomes a single column with its hairlines retained, and the hero image moves below its text rather than shrinking beside it. Bands keep their full-bleed width at every size; only their inner padding compresses.
|
||||||
|
|
||||||
|
#### Image Behavior
|
||||||
|
Product imagery is composited rather than photographic-only: a photograph sits inside a `{rounded.lg}` frame with floating UI cards and dotted connector lines arranged around it, so the illustration explains a workflow rather than decorating the section. Video thumbnails carry a centred round play affordance. Partner and customer logos appear as small monochrome lockups inside the imagery itself. Nothing is cropped to a uniform ratio; each frame is sized to its composition.
|
||||||
|
|
||||||
|
## Elevation & Depth
|
||||||
|
|
||||||
|
| Level | Treatment | Use |
|
||||||
|
|---|---|---|
|
||||||
|
| 0 | Canvas, no border | Content panes, most sections |
|
||||||
|
| 1 | Flat band — `{colors.chrome}`, `{colors.band}`, `{colors.band-blue}` or `{colors.band-lavender}` | Section separation, footer |
|
||||||
|
| 2 | Solid colour band — `{colors.primary-deep}` | Interior page hero |
|
||||||
|
| 3 | Gradient — navy anchored on `{colors.navy}`, or the purple-to-blue promo strip | Home hero, event strip |
|
||||||
|
| 4 | Soft drop shadow | Floating UI cards inside product illustrations |
|
||||||
|
|
||||||
|
The system is flat by default. Buttons carry no elevation, cards carry no border, and sections carry no rule. The only genuine shadow in the design lives inside the product illustrations, where small white cards float above a photograph — and that is precisely the point: shadow is reserved for depicting an interface, not for building one.
|
||||||
|
|
||||||
|
### Decorative Depth
|
||||||
|
Two gradients do the atmospheric work. The home hero runs a deep navy field anchored on `{colors.navy}`, dark at the left edge and opening toward blue behind the product lockup. The event promo strip runs violet into blue across a short full-width bar. Beyond those, the `{colors.band-lavender}` section on product pages carries a curved upper edge rather than a straight one, the single place where the system's otherwise square band geometry softens.
|
||||||
|
|
||||||
|
## Shapes
|
||||||
|
|
||||||
|
### Border Radius Scale
|
||||||
|
|
||||||
|
| Token | Value | Use |
|
||||||
|
|---|---|---|
|
||||||
|
| `{rounded.none}` | 0px | Every band, the chrome, the tab rail, the footer |
|
||||||
|
| `{rounded.sm}` | 4px | Inline anchor surfaces |
|
||||||
|
| `{rounded.md}` | 8px | Every button and control |
|
||||||
|
| `{rounded.lg}` | 12px | Media frames and illustration surfaces |
|
||||||
|
|
||||||
|
The scale is short and it stops early. Nothing on this site is a pill, and nothing is a circle except the play affordance on a video thumbnail. Controls get 8px, media gets 12px, and full-width regions get nothing at all — which is the rule that gives the page its horizontal, banded character. A rounded band would read as a card; a square one reads as a zone, and zones are what this layout is made of.
|
||||||
|
|
||||||
|
### Photography Geometry
|
||||||
|
Photographs appear inside `{rounded.lg}` frames, never full-bleed and never cropped to a fixed ratio. The signature treatment surrounds a photograph with small white UI cards on dotted connector lines, so the image and the interface elements together describe a task. Logos are small monochrome lockups placed inside the frame rather than in a separate strip.
|
||||||
|
|
||||||
|
## Components
|
||||||
|
|
||||||
|
> **No hover states documented.** Every component below documents its default state only. Variants live as separate entries in the `components:` front matter and are described in their own sub-blocks.
|
||||||
|
|
||||||
|
### Chrome
|
||||||
|
|
||||||
|
**`nav-bar`** — The global bar.
|
||||||
|
- Background `{colors.chrome}`, text `{colors.ink-nav}`, type `{typography.nav-link}`, rounded `{rounded.none}`, height 60. Full-bleed, square, and the same on every template.
|
||||||
|
|
||||||
|
**`nav-link`** — An item within it.
|
||||||
|
- Background `{colors.chrome}`, text `{colors.ink-nav}`, type `{typography.nav-link}`, rounded `{rounded.none}`.
|
||||||
|
|
||||||
|
**`breadcrumb`** — The trail above a product tab rail.
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink-nav}`, type `{typography.nav-link}`, rounded `{rounded.none}`, height 17.
|
||||||
|
|
||||||
|
**`product-tab`** — An inactive tab in the product rail.
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink-nav}`, type `{typography.caption}`, rounded `{rounded.none}`, height 32.
|
||||||
|
|
||||||
|
**`product-tab-active`** — The selected tab.
|
||||||
|
- Background `{colors.canvas}`, text `{colors.primary}`, type `{typography.subhead}`, rounded `{rounded.none}`, height 44. Marked by a blue underline and a step up in both size and weight, which is why it reads as selected without any fill.
|
||||||
|
|
||||||
|
### Heroes
|
||||||
|
|
||||||
|
**`hero-band`** — The solid interior hero.
|
||||||
|
- Background `{colors.primary-deep}`, text `{colors.on-primary}`, type `{typography.body}`, rounded `{rounded.none}`, height 450. Full-bleed and square.
|
||||||
|
|
||||||
|
**`hero-title`** — Its headline.
|
||||||
|
- Background `{colors.primary-deep}`, text `{colors.on-primary}`, type `{typography.hero-title}`, rounded `{rounded.none}`, height 40.
|
||||||
|
|
||||||
|
**`hero-display`** — The home page headline, set on white rather than in a band.
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink}`, type `{typography.display}`, rounded `{rounded.none}`, height 188. The largest type in the system and the only role at weight 700.
|
||||||
|
|
||||||
|
**`navy-hero`** — The home page hero field.
|
||||||
|
- Background `{colors.navy}`, text `{colors.on-primary}`, type `{typography.body}`, rounded `{rounded.none}`. A gradient anchored on navy rather than a flat fill, carrying a product lockup on its right.
|
||||||
|
|
||||||
|
### Buttons
|
||||||
|
|
||||||
|
**`button-primary`** — The standard filled action.
|
||||||
|
- Background `{colors.primary}`, text `{colors.on-primary}`, type `{typography.button}`, rounded `{rounded.md}`, padding `12px 14px`, height 44.
|
||||||
|
|
||||||
|
**`button-outline`** — Its quiet partner, used beside a filled button in a hero.
|
||||||
|
- Background `{colors.canvas}`, text `{colors.primary-deep}`, type `{typography.button}`, rounded `{rounded.md}`, padding `8px 9px`. Bounded by a `{colors.hairline}` rule; the label is the deeper blue rather than the standard one.
|
||||||
|
|
||||||
|
**`button-floating`** — The persistent contact affordance pinned to the lower right.
|
||||||
|
- Background `{colors.primary}`, text `{colors.on-primary}`, type `{typography.caption}`, rounded `{rounded.md}`, padding `16px 20px`, height 58. The tallest control in the system and the only one that follows the page.
|
||||||
|
|
||||||
|
### Content
|
||||||
|
|
||||||
|
**`section-heading`** — A section title.
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink}`, type `{typography.section-title}`, rounded `{rounded.none}`, height 35.
|
||||||
|
|
||||||
|
**`lead-paragraph`** — The paragraph that follows a display headline.
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink-lead}`, type `{typography.lead}`, rounded `{rounded.none}`. Set at 28px in the one grey that appears nowhere else.
|
||||||
|
|
||||||
|
**`body-copy`** — Standard prose.
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink-body}`, type `{typography.body}`, rounded `{rounded.none}`.
|
||||||
|
|
||||||
|
**`feature-title`** — The heading inside a feature block.
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink}`, type `{typography.subhead}`, rounded `{rounded.none}`, height 22.
|
||||||
|
|
||||||
|
**`list-item`** — An entry in a linked list.
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink-list}`, type `{typography.list-item}`, rounded `{rounded.none}`, height 38. Weight 350, the lightest setting in the system.
|
||||||
|
|
||||||
|
**`meta-note`** — Captions and footnotes.
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink-meta}`, type `{typography.caption}`, rounded `{rounded.none}`.
|
||||||
|
|
||||||
|
**`text-link`** — An inline link.
|
||||||
|
- Background `{colors.canvas}`, text `{colors.primary}`, type `{typography.link}`, rounded `{rounded.none}`. Usually trailed by a chevron.
|
||||||
|
|
||||||
|
**`inline-anchor`** — A small anchored surface within running content.
|
||||||
|
- Background `{colors.canvas}`, text `{colors.primary}`, type `{typography.caption}`, rounded `{rounded.sm}`. The only place the 4px corner is used.
|
||||||
|
|
||||||
|
**`media-frame`** — The container around a photograph or illustration.
|
||||||
|
- Background `{colors.canvas}`, text `{colors.ink}`, type `{typography.caption}`, rounded `{rounded.lg}`.
|
||||||
|
|
||||||
|
### Bands
|
||||||
|
|
||||||
|
**`band-neutral`** — A section set apart on the chrome grey.
|
||||||
|
- Background `{colors.chrome}`, text `{colors.ink-body}`, type `{typography.body}`, rounded `{rounded.none}`.
|
||||||
|
|
||||||
|
**`band-blue`** — The pale blue variant.
|
||||||
|
- Background `{colors.band-blue}`, text `{colors.ink-body}`, type `{typography.body}`, rounded `{rounded.none}`.
|
||||||
|
|
||||||
|
**`band-lavender`** — The softest variant, used on product pages.
|
||||||
|
- Background `{colors.band-lavender}`, text `{colors.ink-body}`, type `{typography.body}`, rounded `{rounded.none}`. The one band whose upper edge curves.
|
||||||
|
|
||||||
|
**`sky-panel`** — A light blue panel inside the services layout.
|
||||||
|
- Background `{colors.sky}`, text `{colors.ink}`, type `{typography.body}`, rounded `{rounded.none}`.
|
||||||
|
|
||||||
|
**`footer`** — The link columns and legal strip.
|
||||||
|
- Background `{colors.band}`, text `{colors.ink-nav}`, type `{typography.nav-link}`, rounded `{rounded.none}`. The largest single non-white surface on the home page.
|
||||||
|
|
||||||
|
### Examples (illustrative)
|
||||||
|
|
||||||
|
> Kit-mirror demonstration surfaces. These are not brand-native components — they are the ten SaaS UI patterns downstream consumers re-skin, stamped here with this brand's own primitives so every example surface resolves against the documented spec rather than a template default.
|
||||||
|
|
||||||
|
**`ex-pricing-tier`** — A tier card on the canvas ground with a `{colors.hairline}` rule, `{rounded.md}` corner and `{spacing.giant}` interior.
|
||||||
|
|
||||||
|
**`ex-pricing-tier-featured`** — The promoted tier, polarity-flipped onto `{colors.ink}` with `{colors.on-primary}` text.
|
||||||
|
|
||||||
|
**`ex-product-selector`** — A what's-included summary card, since the brand sells enterprise software rather than configurable goods. `{rounded.md}` at `{spacing.giant}`.
|
||||||
|
|
||||||
|
**`ex-cart-drawer`** — A subscription summary with `{colors.hairline}` rules between line items, echoing the services page's hairline-separated feature grid.
|
||||||
|
|
||||||
|
**`ex-app-shell-row`** — A sidebar nav row at `{rounded.md}`, marked active by `{colors.primary}` — the same blue the active product tab uses.
|
||||||
|
|
||||||
|
**`ex-data-table-cell`** — Table chrome with `{typography.subhead}` headers over `{typography.caption}` cells and `{colors.hairline}` row rules, padded `{spacing.xl} {spacing.wide}`.
|
||||||
|
|
||||||
|
**`ex-auth-form-card`** — A sign-in card on the canvas ground at `{rounded.md}` with `{spacing.giant}` of interior room.
|
||||||
|
|
||||||
|
**`ex-modal-card`** — A modal surface at `{rounded.lg}`, the media frame's corner, with `{spacing.max}` interior.
|
||||||
|
|
||||||
|
**`ex-empty-state-card`** — An empty-state frame at `{rounded.lg}` with `{spacing.huge}` of room.
|
||||||
|
|
||||||
|
**`ex-toast`** — A toast at `{rounded.md}` padded `{spacing.xl} {spacing.wide}`, close to the primary button's own proportions.
|
||||||
|
|
||||||
|
## Do's and Don'ts
|
||||||
|
|
||||||
|
### Do
|
||||||
|
- Keep `{colors.primary}` for things that act — buttons, inline links, the active tab — and let everything else stay neutral.
|
||||||
|
- Separate sections with a full-width band rather than a border or a shadow. The bands are this layout's punctuation.
|
||||||
|
- Run every band square. `{rounded.none}` at full width is what makes a zone read as a zone.
|
||||||
|
- Use the weight axis at small sizes. `{typography.list-item}` at 350 and `{typography.nav-link}` at 400 are the same size on purpose.
|
||||||
|
- Set headings in true `{colors.ink}` black and step body copy down into `{colors.ink-body}` slate. The hue shift carries the hierarchy.
|
||||||
|
- Keep the chrome in `{colors.ink-nav}` grey so navigation stays visually distinct from content text.
|
||||||
|
- Cap controls at `{rounded.md}` and media at `{rounded.lg}`.
|
||||||
|
- Let the product illustrations carry the shadows. Floating UI cards inside an image are depicting an interface, not decorating a section.
|
||||||
|
|
||||||
|
### Don't
|
||||||
|
- Don't elevate a button or a card. Depth in this system is band and gradient, not shadow.
|
||||||
|
- Don't round a full-width region. It becomes a card and the banded rhythm collapses.
|
||||||
|
- Don't introduce a second accent hue. `{colors.sky}` and `{colors.navy}` are scoped to specific surfaces and are not general-purpose.
|
||||||
|
- Don't set body copy in `{colors.ink-nav}`. That grey belongs to the chrome; content uses the slate tiers.
|
||||||
|
- Don't flatten the weight range to 400 and 700. Losing 350 and 500 collapses three distinct roles in the 14–16px band.
|
||||||
|
- Don't add letter-spacing. The typeface is metrically tuned for these sizes and needs no correction.
|
||||||
|
- Don't crop the product illustrations to a uniform ratio. Each composition is sized to what it explains.
|
||||||
|
- Don't let a hero band and a content band sit adjacent without a white interval. The rhythm depends on white returning between coloured zones.
|
||||||
5
design-md/sap/README.md
Normal file
5
design-md/sap/README.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# SAP Inspired Design System Analysis
|
||||||
|
|
||||||
|
Design system details have been moved to: https://getdesign.md/sap/design-md
|
||||||
|
|
||||||
|
You can also view previews, dark mode examples, and download options on getdesign.md.
|
||||||
Loading…
x
Reference in New Issue
Block a user