SPB Git

Repository Public

design-system.md 2.6 KB 36 lines markdown

1# ORIX website design system23**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.45| Token | Dark | Light |6|---|---|---|7| `--bg` / `--bg-2` | `#06070a` / `#0a0c11` | `#f5f5f2` / `#ecece7` |8| `--surface` / `--surface-2` | `#0f1218` / `#151922` | `#ffffff` / `#f8f8f6` |9| `--ink` / `--ink-2` / `--ink-3` | `#f4f5f7` / `#a9afbc` / `#8a91a3` | `#0a0c12` / `#474d5c` / `#5a6070` |10| `--blue` / `--violet` / `--cyan` | `#4c8dff` / `#8f6bff` / `#3fd8ee` | `#1f5fe0` / `#6741d9` / `#0b8ea3` |11| status | ok `#3ddc97`, beta `#f5b544`, dev `#6aa5ff`, soon `#a394ff` | darker equivalents, all ≥ 4.5:1 |1213- **Type:** the system's San Francisco stack (nothing to download), tight negative tracking on display sizes; SF Mono for eyebrows, versions, checksums and counters.14- **Shape:** 24 px cards, pill buttons, squircle icon mask (22.37 %).15- **Mark:** the "O" of ORIX is an orbit with one body on it. Original artwork (`public/brand/orix-mark.svg`).16- **Device frames:** CSS shapes that depict no specific model. Mac captures keep their own window chrome.17- **Appearance:** follows the system; the header toggle stores a preference in `localStorage`.1819## Components2021Navigation, 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/`.2223## Motion2425| Where | What | Cost control |26|---|---|---|27| 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 |28| 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 |29| Pages | Scroll reveals, card lift, gallery transitions | One shared `IntersectionObserver` |3031With `prefers-reduced-motion`, nothing moves: orbiting icons freeze where their phase puts them, reveals are shown immediately.3233## Accessibility3435Skip 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).36
Files main
Menu

Theme