SPB Git

Repository Public

design-system.md 2.6 KB

# ORIX website design system

Idea: a precision instrument. A near-black field, hairline rules, and one tri-colour beam (blue → violet → cyan) that appears only where something is alive: the orbit, the headline, focus rings. Each product page borrows its accent from the application's own icon.

Token Dark Light
--bg / --bg-2 #06070a / #0a0c11 #f5f5f2 / #ecece7
--surface / --surface-2 #0f1218 / #151922 #ffffff / #f8f8f6
--ink / --ink-2 / --ink-3 #f4f5f7 / #a9afbc / #8a91a3 #0a0c12 / #474d5c / #5a6070
--blue / --violet / --cyan #4c8dff / #8f6bff / #3fd8ee #1f5fe0 / #6741d9 / #0b8ea3
status ok #3ddc97, beta #f5b544, dev #6aa5ff, soon #a394ff darker equivalents, all ≥ 4.5:1
  • Type: the system's San Francisco stack (nothing to download), tight negative tracking on display sizes; SF Mono for eyebrows, versions, checksums and counters.
  • Shape: 24 px cards, pill buttons, squircle icon mask (22.37 %).
  • Mark: the "O" of ORIX is an orbit with one body on it. Original artwork (public/brand/orix-mark.svg).
  • Device frames: CSS shapes that depict no specific model. Mac captures keep their own window chrome.
  • Appearance: follows the system; the header toggle stores a preference in localStorage.

# Components

Navigation, footer, hero, universe, app card, platform tags, status indicator, primary action, quiet (unavailable) action, device frame, gallery + lightbox, feature grid, deep dive, specification list, download panel, changelog timeline, FAQ, news list, catalog search and filters, comparison table, admin form fields and sections. Classes live in src/app/globals.css; components in src/components/.

# Motion

Where What Cost control
Hero Real icons floating at three depths; pointer parallax; scroll fades the field transform/opacity only; pointer tracking only on fine pointers; paused off screen
Universe Icons ride three elliptical orbits (CSS offset-path), ordered by distance from release No JavaScript per frame; pause button; pauses on hover/focus and off screen
Pages Scroll reveals, card lift, gallery transitions One shared IntersectionObserver

With prefers-reduced-motion, nothing moves: orbiting icons freeze where their phase puts them, reveals are shown immediately.

# Accessibility

Skip link, visible focus, landmarks and one h1 per page, labelled controls, aria-pressed filters, a native <dialog> lightbox with keyboard navigation and focus return, 4.5:1 text contrast in both appearances (checked by axe in the test suite).

Files main
Menu

Theme