alpha to alpha

120 added, 115 removed. Audit A to A.

---
version: alpha
name: "Oriel"
description: "Design system generated by OpenDesigner"
colors:
primary: "#2b4c8c"
on-primary: "#ffffff"
- surface: "#f4f4f4"
+ surface: "#fdfdfd"
on-surface: "#242424"
error: "#c45047"
typography:
- body-md: { fontFamily: "Instrument Sans", fontSize: 16px, lineHeight: 24px }
+ body-md: { fontFamily: "Onest", fontSize: 14px, lineHeight: 20px }
rounded:
- control: 12px
- container: 16px
+ control: 8px
+ container: 12px
spacing:
unit: 4px
---
# Oriel
**Oriel** is a design system; what it is for is not recorded yet (Q-scope-01).
- - **For:** people who use it often, as an everyday app
- - **Screens:** pages people read
+ - **For:** people who use it all day for work, in screens full of data
+ - **Screens:** app (screens where people get work done)
- **Runs on:** web
- - **Feel:** warm, refined (friendly, premium; picked for you)
+ - **Feel:** calm, focused, refined (deferential, minimal, premium; picked for you)
- **Brand color:** Your brand color (#2B4C8C) is on the buttons exactly, with white text that reads clearly on it. In dark mode, buttons use a lighter shade of it (#6084C7), so their dark text reads clearly.
- - **Decided:** 1 answer you gave, 7 picked for you; everything else uses sourced defaults
- - **Standards:** 289 house standards followed (locked, house standards v2); see the Standards section
+ - **Decided:** 2 answers you gave, 5 picked for you; everything else uses sourced defaults
+ - **Standards:** 289 house standards followed (locked, house standards v3); see the Standards section
- **Next:** zoom into Colors, Typography, Layout, or stop here: each level works
- **Licence risks:** none found
> Generated by the OpenDesigner engine 1.0.0 from `opendesigner/state.json` and `opendesigner/decisions.md`; `opendesigner/tokens/` is the source of truth. Change the system with `engine.py set ...` and `engine.py build`, not by editing this file (notes inside `<!-- od:keep -->` blocks survive). Each section opens with one plain sentence; open **More** for the designer and engineer detail.
## Overview
- > Zoom: sketch (0 of 3), 6 decisions in this area. To zoom in, answer Q-dir-01, Q-dir-02.
+ > Zoom: sketch (0 of 3), 5 decisions in this area. To zoom in, answer Q-dir-01, Q-dir-02.
<!-- od:zoom area=overview level=0 -->
- **Oriel feels friendly and premium. Screens are roomy, in a flat style.**
+ **Oriel feels deferential, minimal and premium. Screens are compact, in a flat style.**
Designers: visual style: flat, tonal, glass · Code: `preset in state.json`
<details><summary>More</summary>
**Your answers here** (each one either sets tokens or is a rule for this section):
- - What are these screens mostly for: selling, getting work done, reading, or enjoying an experience? **Read** (delegated; tokens; Q-scope-06)
+ - What are these screens mostly for: selling, getting work done, reading, or enjoying an experience? **app (Operate)** (delegated; tokens; Q-scope-06)
**Intent.** A design system generated from eight dials and a few raw inputs.
- - Audience: people who use it often, as an everyday app
+ - Audience: people who use it all day for work, in screens full of data
- The memorable thing: not recorded yet (Q-brand-02)
- - Surfaces: pages people read
+ - Surfaces: app (Operate: density compact; no hero; cards only to group related data)
- Platforms: web; inputs: pointer, touch
- - Direction: preset flat2 (the default until Q-dir-01 is answered); feel friendly, premium (words picked for you: warm, refined)
+ - Direction: preset flat2 (the default until Q-dir-01 is answered); feel deferential, minimal, premium (words picked for you: calm, focused, refined)
**Principles (ranked).**
No principles recorded yet (Q-brand-07). Until they are, the dials act as the tie-breakers below.
**Dial positions.** Three posture dials set the overall stance. Five character dials fine-tune it.
- - **Expression 62/100** (productive to expressive: leaning expressive): type ratio 1.25, hero moments: significant-moments, expressive motion: significant-moments, brand color role: accent+signature-surface, containment: mixed.
- - **Brand presence 62/100** (native to brand-led: leaning brand-led): typeface suggestion: open-custom-face, brand color placement: accent+signature-surface, native component share about 61%, voice guidance: short.
- - **Density 32/100** (spacious to compact: spacious): body 16px on the web, default control 48px, density mode spacious, icons 24px; hit areas never shrink.
- - **Energy 30/100** (calm to energetic: calm): standard easing [0.77, 0, 0.175, 1], duration multiplier 0.92, spring damping 1.0, heading weight 600, navigation: recessive.
- - **Roundness 64/100** (sharp to soft: leaning soft): control radius 12, icon corners rounded, caps round.
- - **Depth 45/100** (flat to deep: balanced): depth model: tonal.
- - **Colorfulness 38/100** (monochrome to vivid: leaning monochrome): scheme tonalSpot, accent chroma 42.7 (HCT), 1 accent(s), surfaces: neutral+one-accent.
- - **Warmth 20/100** (cool/formal to warm/friendly: cool/formal): neutral tint chroma 0.031 at hue 264, borders: strong-rules, title-case, contractions none.
+ - **Expression 30/100** (productive to expressive: productive): type ratio 1.2, hero moments: none, expressive motion: none, brand color role: reserved-accent, containment: whitespace.
+ - **Brand presence 35/100** (native to brand-led: leaning native): typeface suggestion: open-neutral-face, brand color placement: accent+signature-surface, native component share about 86%, voice guidance: none.
+ - **Density 80/100** (spacious to compact: compact): body 14px on the web, default control 32px, density mode compact, icons 16px; hit areas never shrink.
+ - **Energy 18/100** (calm to energetic: calm): standard easing [0.77, 0, 0.175, 1], duration multiplier 0.87, spring damping 1.0, heading weight 600, navigation: recessive.
+ - **Roundness 50/100** (sharp to soft: balanced): control radius 8, icon corners default, caps round.
+ - **Depth 28/100** (flat to deep: flat): depth model: ring+faint-shadow.
+ - **Colorfulness 22/100** (monochrome to vivid: monochrome): scheme neutral, accent chroma 42.7 (HCT), 1 accent(s), surfaces: neutral+one-accent.
+ - **Warmth 12/100** (cool/formal to warm/friendly: cool/formal): neutral tint chroma 0.037 at hue 257, borders: strong-rules, title-case, contractions none.
**Zoom by area** (sketch, broad, defined, detailed). You can stop at any level; each one works.
| Area | Zoom | Next questions |
|---|---|---|
| Colors | sketch | Q-color-02 |
| Typography | sketch | Q-type-01 |
| Layout | sketch | Q-space-01, Q-space-02, Q-space-03 |
| Elevation & Depth | sketch | Q-depth-01 |
| Shapes | sketch | Q-shape-01 |
| Components | sketch | Q-comp-01, Q-comp-02, Q-state-01 |
| Motion | sketch | Q-motion-01 |
| Modes and Themes | sketch | Q-theme-03 |
| Iconography and Imagery | sketch | Q-icon-01, Q-icon-02, Q-icon-06 |
| Content and Voice | sketch | Q-voice-01, Q-voice-02, Q-voice-03 |
| Accessibility | sketch | Q-aud-02, Q-aud-03, Q-aud-04 |
| Platforms and Devices | sketch | Q-plat-05, Q-plat-10, Q-plat-08 |
The tokens in `opendesigner/tokens/` (DTCG 2025.10 with `opendesigner.resolver.json`) are the source of truth. This file is a generated view.
- Decisions: D-0002 (answers.Q-aud-01), D-0006 (macros), D-0009 (answers.Q-scope-06), D-0011 (dials.expression), D-0012 (dials.brandPresence), D-0013 (dials.density).
+ Decisions: D-0002 (answers.Q-aud-01), D-0008 (macros), D-0011 (answers.Q-scope-06), D-0023 (dials.expression), D-0025 (dials.brandPresence).
</details>
+ **Taste card.** How it looks and feels, in five lines for you, your team and any AI that builds with it. Nothing on it is invented: each line says where it comes from.
+ Designers: style brief, mood in words · Code: `taste.brief, taste.never`
+
+ | Line | What it says | From |
+ |---|---|---|
+ | In your words | Not given yet. Describe the look as a picture, not adjectives (for example, "a quiet library at night"). | not asked yet |
+ | Color | One accent color: your brand color `#2B4C8C` (exactly) marks buttons, links and focus. Everything else stays neutral. Keep the accent to small areas, about 15% of a screen at most (a rule of thumb, DC-L15-03). | brand color; colorfulness 22/100 |
+ | Shape | Buttons and fields have 8px corners; cards have 12px corners. Cards get a faint outline and a very soft shadow. | roundness 50/100, depth 28/100 |
+ | Motion | Calm. Most movements take 200ms. They turn into fades when a person asks for less motion. | energy 18/100 |
+ | Never | Nothing yet. Say what it should never look like, or rate real screens in the taste poll. | not asked yet |
+
## Colors
- > Zoom: sketch (0 of 3), 7 decisions in this area. To zoom in, answer Q-color-02.
+ > Zoom: sketch (0 of 3), 4 decisions in this area. To zoom in, answer Q-color-02.
<!-- od:zoom area=color level=0 -->
**One accent color: your brand color `#2B4C8C` (exactly) marks buttons, links and focus.** Everything else stays neutral.
Designers: primary or brand accent · Code: `color.bg.accent`
<details><summary>More</summary>
- **Your answers here** (each one either sets tokens or is a rule for this section):
- - Your text, backgrounds and lines use grays. **Pure gray (chroma 0)** (delegated; tokens; Q-color-09)
-
- **Intent.** Brand color `#2B4C8C` drives the accent ramp's hue; the Colorfulness dial (38) sets its chroma (scheme tonalSpot, peak HCT chroma 42.72). The brand's role is **accent+signature-surface** and it sits closest to accent step 9. Your brand color #2B4C8C is on the buttons exactly (white text on it reads at 8.35:1). In dark mode, buttons use #6084C7, a lighter shade of it, because the dark text on dark-mode buttons would read at only 2.19:1 on the exact color.
+ **Intent.** Brand color `#2B4C8C` drives the accent ramp's hue; the Colorfulness dial (22) sets its chroma (scheme neutral, peak HCT chroma 42.72). The brand's role is **reserved-accent** and it sits closest to accent step 9. Your brand color #2B4C8C is on the buttons exactly (white text on it reads at 8.35:1). In dark mode, buttons use #6084C7, a lighter shade of it, because the dark text on dark-mode buttons would read at only 2.19:1 on the exact color.
**How ramps are built.** Each hue gets twelve steps in OKLCH, placed by contrast. Step 8 reaches at least 3:1 (edges and focus). Steps 10 and 11 reach the text minimum on backgrounds 1-4. Step 12 reaches at least 7:1. Steps 2-6 are spaced evenly in lightness between step 1 and step 7. Light and dark ramps are solved separately. Dark solids are lighter and carry dark text (dark mode is a separate mapping, never an inversion). Text minimum: 4.5:1 (WCAG 2.2 AA).
| Ramp | Light steps 1-12 | Solid carries |
|---|---|---|
| `accent` | `#fcfdff` `#f1f4fa` `#e5ecf9` `#d8e4f7` `#ccdbf6` `#c0d3f5` `#b4caf3` `#6b86b8` `#2b4c8c` `#24417b` `#213b6e` `#26344d` | light |
| `danger` | `#fffcfc` `#fdf2f0` `#fde7e3` `#ffdbd6` `#ffcfc9` `#ffc4bc` `#ffb8af` `#c56d64` `#c45047` `#b3473f` `#963932` `#532722` | light |
| `info` | `#fbfdff` `#ecf5fc` `#dbeefd` `#c8e7fe` `#b5e0ff` `#a3d8ff` `#8fd1ff` `#268dc9` `#007cb7` `#0070a6` `#005c8a` `#003755` | light |
| `neutral` | `#fdfdfd` `#f4f4f4` `#ebebeb` `#e3e3e3` `#dadada` `#d2d2d2` `#c9c9c9` `#868686` `#757575` `#646464` `#575757` `#242424` | light |
| `success` | `#fafefa` `#eef6ef` `#dff0e1` `#cfe9d3` `#bfe3c5` `#afddb7` `#9ed7a9` `#4a955d` `#00883d` `#007b36` `#00652c` `#133b1e` | light |
| `warning` | `#fffcf9` `#f8f4ec` `#f4eadb` `#f0e1c9` `#edd8b6` `#e9cea3` `#e5c591` `#a77f37` `#ebb34b` `#d9a442` `#845d00` `#453008` | dark |
**Step-distance guarantee** (neutral, light; WCAG contrast of a foreground step on background steps 1-5):
| Foreground | on 1 | on 2 | on 3 | on 4 | on 5 |
|---|---|---|---|---|---|
| neutral 8 | 3.58 | 3.31 | 3.05 | 2.84 | 2.60 |
| neutral 9 | 4.53 | 4.19 | 3.86 | 3.59 | 3.30 |
| neutral 10 | 5.82 | 5.38 | 4.96 | 4.61 | 4.23 |
| neutral 11 | 7.10 | 6.57 | 6.06 | 5.63 | 5.17 |
| neutral 12 | 15.26 | 14.11 | 13.02 | 12.10 | 11.10 |
**States.** Hover is at least 1.15:1 from its fill and pressed at least 1.3:1, as shade steps (DC-L01-17). Where a color is unknown at design time, use the state opacities in `opacity.state.*`.
| Fill | Base | Hover | Pressed |
|---|---|---|---|
| `color.bg.action.primary` | `#2b4c8c` | `#24417b` (1.19:1) | `#1c3972` (1.34:1) |
| `color.bg.accent.bold` | `#2b4c8c` | `#24417b` (1.19:1) | `#1c3972` (1.34:1) |
**Semantic roles** (use these, never the ramps):
| Token | Light | Dark | Use |
|---|---|---|---|
| `color.bg.accent.bold` | `#2b4c8c` | `#6084c7` | Solid accent fill. |
| `color.bg.accent.bold-hover` | `#24417b` | `#6d91d5` | Hover: one step, at least 1.15:1 from the solid (DC-L01-17). |
| `color.bg.accent.bold-pressed` | `#1c3972` | `#769be0` | Pressed: at least 1.3:1 from the solid. |
| `color.bg.accent.subtle` | `#e5ecf9` | `#212834` | Selected rows, accent badges. |
| `color.bg.accent.subtle-hover` | `#d8e4f7` | `#253042` | Hover on accent subtle fills. |
| `color.bg.accent.subtle-pressed` | `#ccdbf6` | `#2a3850` | Pressed accent subtle fills. |
| `color.bg.action.primary` | `#2b4c8c` | `#6084c7` | Primary action. One per view (DC-L15-03, L15 P08). |
| `color.bg.action.primary-hover` | `#24417b` | `#6d91d5` | Hover: one step, at least 1.15:1 from the solid (DC-L01-17). |
| `color.bg.action.primary-pressed` | `#1c3972` | `#769be0` | Pressed: at least 1.3:1 from the solid. |
| `color.bg.brand` | `#2b4c8c` | `#6084c7` | Brand fill for signature surfaces; carries text.on-brand (brandAnchor rule, DC-L01-09). |
| `color.bg.danger.bold` | `#c45047` | `#c7695f` | Danger solid fill. |
| `color.bg.danger.bold-hover` | `#b3473f` | `#d6766c` | Hover: one step, at least 1.15:1 from the solid (DC-L01-17). |
| `color.bg.danger.bold-pressed` | `#a93e37` | `#e18075` | Pressed: at least 1.3:1 from the solid. |
| `color.bg.danger.subtle` | `#fde7e3` | `#352321` | Danger banner and badge background. |
| `color.bg.disabled` | `#ebebeb` | `#2d2d2d` | Disabled control fill. |
- | `color.bg.field` | `#fdfdfd` | `#252525` | Text field fill: outlined fields sit on the raised surface (Q-form-01). |
+ | `color.bg.field` | `#ffffff` | `#252525` | Text field fill: outlined fields sit on the raised surface (Q-form-01). |
| `color.bg.info.bold` | `#007cb7` | `#088ccd` | Info solid fill. |
| `color.bg.info.bold-hover` | `#0070a6` | `#2699db` | Hover: one step, at least 1.15:1 from the solid (DC-L01-17). |
| `color.bg.info.bold-pressed` | `#006799` | `#34a3e6` | Pressed: at least 1.3:1 from the solid. |
| `color.bg.info.subtle` | `#dbeefd` | `#182935` | Info banner and badge background. |
| `color.bg.inverse` | `#242424` | `#e9e9e9` | Tooltips and toasts: the inverted surface. |
| `color.bg.neutral.subtle` | `#ebebeb` | `#363636` | Secondary buttons, chips, hovered rows. |
| `color.bg.neutral.subtle-hover` | `#e3e3e3` | `#3f3f3f` | Hover: +1 step (DC-L01-17). |
| `color.bg.neutral.subtle-pressed` | `#dadada` | `#484848` | Pressed or selected: +2 steps (DC-L01-17). |
| `color.bg.success.bold` | `#00883d` | `#3f9356` | Success solid fill. |
| `color.bg.success.bold-hover` | `#007b36` | `#4da062` | Hover: one step, at least 1.15:1 from the solid (DC-L01-17). |
| `color.bg.success.bold-pressed` | `#007132` | `#57aa6c` | Pressed: at least 1.3:1 from the solid. |
| `color.bg.success.subtle` | `#dff0e1` | `#1c2a1f` | Success banner and badge background. |
| `color.bg.warning.bold` | `#ebb34b` | `#e3b667` | Warning solid fill. |
| `color.bg.warning.bold-hover` | `#d9a442` | `#f4c678` | Hover: one step, at least 1.15:1 from the solid (DC-L01-17). |
| `color.bg.warning.bold-pressed` | `#ce9a36` | `#ffd388` | Pressed: at least 1.3:1 from the solid. |
| `color.bg.warning.subtle` | `#f4eadb` | `#2e2619` | Warning banner and badge background. |
| `color.border.accent` | `#6b86b8` | `#6382bc` | Selected card or accent outline. |
| `color.border.danger` | `#c56d64` | `#bd6b62` | Danger boundary, for example an invalid field (3:1). |
| `color.border.default` | `#868686` | `#808080` | Outlines (strong rules). |
- | `color.border.focus` | `#242424` | `#242424` | Focus ring from the raw focus color (L09 M12). |
- | `color.border.focus-inner` | `#242424` | `#e9e9e9` | Inner ring of the two-tone focus indicator; keeps 3:1 on every surface (DC-L08-11). |
+ | `color.border.focus` | `#2b4c8c` | `#8aadee` | Focus ring (3:1 against every surface, DC-L04-09). |
| `color.border.info` | `#268dc9` | `#2c89c1` | Info boundary, for example an invalid field (3:1). |
| `color.border.input` | `#868686` | `#808080` | Text field and select borders (3:1, DC-L01-16). |
| `color.border.separator` | `#dadada` | `#3f3f3f` | Hairlines between table rows and list items, lighter than border.subtle; decorative, so never the only cue (DC-L23-05). |
| `color.border.strong` | `#868686` | `#808080` | Boundaries that are the only cue: inputs, checkboxes, switches (3:1, WCAG 1.4.11). |
| `color.border.subtle` | `#c9c9c9` | `#484848` | Dividers (strong rules: Warmth 0-33, S-L06-067 inverse). |
| `color.border.success` | `#4a955d` | `#498f5a` | Success boundary, for example an invalid field (3:1). |
| `color.border.warning` | `#a77f37` | `#a17c39` | Warning boundary, for example an invalid field (3:1). |
| `color.icon.accent` | `#213b6e` | `#8aadee` | Selected and interactive icons. |
| `color.icon.default` | `#575757` | `#ababab` | Icons beside text; same color as secondary text (DC-L05-08). |
| `color.icon.on-accent` | `#ffffff` | `#151515` | Icons on solid accent fills. |
| `color.icon.subtle` | `#646464` | `#959595` | Decorative icons. |
| `color.overlay.scrim` | `#242424 @0.45` | `#000000` | Modal backdrop (DC-L04-18; Q-depth-06). |
- | `color.surface.base` | `#f4f4f4` | `#1d1d1d` | The page background. |
+ | `color.surface.base` | `#fdfdfd` | `#1d1d1d` | The page background. |
| `color.surface.nav` | `#f4f4f4` | `#151515` | Recessive navigation, dimmer than content (Linear 2026, S-L06-067). |
| `color.surface.overlay` | `#ffffff` | `#2d2d2d` | Menus, popovers, dialogs; always with elevation.floating or elevation.overlay. |
- | `color.surface.raised` | `#fdfdfd` | `#252525` | Cards and panels on the page. |
- | `color.surface.sunken` | `#ebebeb` | `#151515` | Wells, code blocks, page gutters. |
+ | `color.surface.raised` | `#ffffff` | `#252525` | Cards and panels on the page. |
+ | `color.surface.sunken` | `#f4f4f4` | `#151515` | Wells, code blocks, page gutters. |
| `color.text.accent` | `#213b6e` | `#8aadee` | Accent text and selected labels. |
| `color.text.danger` | `#963932` | `#f0948a` | Danger text and icons; pair with an icon or label (DC-L01-15). |
| `color.text.disabled` | `#868686` | `#808080` | Disabled labels; exempt from contrast minimums (WCAG 1.4.3 exception). |
| `color.text.info` | `#005c8a` | `#53b4f3` | Info text and icons; pair with an icon or label (DC-L01-15). |
| `color.text.inverse` | `#ffffff` | `#151515` | Text on color.bg.inverse (tooltips, toasts). |
| `color.text.link` | `#213b6e` | `#8aadee` | Links. Underline them in running text so color is not the only cue. |
| `color.text.on-accent` | `#ffffff` | `#151515` | Text and icons on color.bg.accent.bold* (auto-picked light or dark, S-L06-094). |
| `color.text.on-action` | `#ffffff` | `#151515` | Text on the primary action fill. |
| `color.text.on-brand` | `#ffffff` | `#151515` | Text on color.bg.brand. |
| `color.text.on-danger` | `#ffffff` | `#151515` | Text on bg.danger.bold. |
| `color.text.on-info` | `#ffffff` | `#151515` | Text on bg.info.bold. |
| `color.text.on-success` | `#ffffff` | `#151515` | Text on bg.success.bold. |
| `color.text.on-warning` | `#242424` | `#151515` | Text on bg.warning.bold. |
| `color.text.primary` | `#242424` | `#e9e9e9` | Body copy, headings, labels (guaranteed >= 7:1 on steps 1-5). |
| `color.text.secondary` | `#575757` | `#ababab` | Supporting text (guaranteed >= the text minimum on surfaces and neutral fills 1-4). |
| `color.text.success` | `#00652c` | `#70bc81` | Success text and icons; pair with an icon or label (DC-L01-15). |
| `color.text.tertiary` | `#646464` | `#959595` | Captions and placeholders (still meets the text minimum on surfaces 1-4). |
| `color.text.warning` | `#845d00` | `#fbd088` | Warning text and icons; pair with an icon or label (DC-L01-15). |
**Use / avoid.**
- Use one solid accent fill per view for the primary action; spend chroma on small, meaningful elements.
- Avoid gray text on colored fills; use the matching `text.on-*` role.
- Avoid color as the only signal: pair status colors with an icon or label.
- Charts: no chart palette yet (Q-color-19). Take chart colors from the status and accent hues, and check them separately.
**Tailwind classes:** `bg-action-primary`, `hover:bg-action-primary-hover`, `active:bg-action-primary-pressed`, `text-on-action`, `bg-surface-base`, `bg-surface-raised`, `text-fg-primary`, `text-fg-secondary`, `text-fg-link`, `border-line-subtle`, `border-line-input`, `outline-line-focus`, `bg-danger-bold`.
- Decisions: D-0008 (answers.Q-theme-01), D-0017 (dials.colorfulness), D-0025 (raw.brandColor), D-0026 (raw.neutralBase), D-0028 (dials.warmth), D-0030 (answers.Q-color-09), D-0031 (raw.focusColor).
+ Decisions: D-0010 (answers.Q-theme-01), D-0016 (raw.brandColor), D-0021 (dials.warmth), D-0022 (dials.colorfulness).
</details>
## Typography
> Zoom: sketch (0 of 3), 2 decisions in this area. To zoom in, answer Q-type-01.
<!-- od:zoom area=typography level=0 -->
- **Body text is 16px, and each larger size is about 1.25 times the one below.**
+ **Body text is 14px, and each larger size is about 1.2 times the one below.**
Designers: type scale: base size and ratio · Code: `font.size.14`
<details><summary>More</summary>
- **Intent.** Body text is 16px; sizes follow `round(16 x 1.25^n)` for n from -2 to 4, reaching about 2.5x body (product surfaces only). Sizes: 13, 16, 20, 25, 31, 39px.
+ **Intent.** Body text is 14px; sizes follow `round(14 x 1.2^n)` for n from -2 to 5, reaching about 2.5x body (product surfaces only). Sizes: 12, 14, 17, 20, 24, 29, 35px.
- - Text face: Instrument Sans, system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif. Licence status (hook H-type): **pending**.
- - Licence by platform: text: Instrument Sans (open licence or system font: web, apps and self-hosting); display: Newsreader: licensed for web, apps, self-hosting.
+ - Text face: Onest, system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif. Licence status (hook H-type): **pending**.
+ - Licence by platform: text: Onest (open licence or system font: web, apps and self-hosting); display: Onest (open licence or system font: web, apps and self-hosting).
- On iOS the Swift file uses Dynamic Type text styles (body 17 pt), so text follows the person's text size setting; Compose uses sp, which follows the Android font scale.
- Weights: body 400, label 500, heading 600 (two or three distinct weights per view).
- Emphasized variants: off (they turn on at Expression 67 and up, DC-L02-11).
- Line heights snap to a 4px grid: 1.5 up to 17px, 1.4 to 26px, 1.25 to 44px, 1.12 above.
- Letter spacing: +0.02em at 11-12px, -0.01em from 32px, -0.02em from 48px.
- Text scaling: CSS sizes are rem, line heights unitless, so text scales to 200% (WCAG 1.4.4); containers must grow with it.
- Scripts: Latin only; add scripts in raw.scripts to get per-script line heights (DC-L02-25).
| Style | Size/line (px) | Weight | Tracking | Use |
|---|---|---|---|---|
- | `text.body.lg` | 20/28 | 400 | 0em | Long-form reading, onboarding copy. |
- | `text.body.md` | 16/24 | 400 | 0em | Default UI text: forms, tables, descriptions. |
- | `text.body.sm` | 13/20 | 400 | 0em | Helper text, timestamps, captions. |
- | `text.code.md` | 16/24 | 400 | 0em | Code blocks, token names. |
- | `text.code.sm` | 13/20 | 400 | 0em | Inline values, dense code rows. |
- | `text.headline.md` | 39/48 | 600 | -0.01em | Page and section titles. |
- | `text.headline.sm` | 31/40 | 600 | 0em | Page and section titles. |
- | `text.label.lg` | 16/24 | 500 | 0em | Button and control labels. |
- | `text.label.md` | 13/20 | 500 | 0em | Small control labels, badges, dense tabs. |
- | `text.label.sm` | 13/20 | 500 | 0.05em caps | Overlines in capitals with wide tracking (DC-L02-18). |
- | `text.title.lg` | 25/36 | 600 | 0em | Card, panel and group titles. |
- | `text.title.md` | 20/28 | 600 | 0em | Card, panel and group titles. |
- | `text.title.sm` | 16/24 | 600 | 0em | Table headers, field-group titles. |
+ | `text.body.lg` | 17/24 | 400 | 0em | Long-form reading, onboarding copy. |
+ | `text.body.md` | 14/20 | 400 | 0em | Default UI text: forms, tables, descriptions. |
+ | `text.body.sm` | 12/16 | 400 | 0.02em | Helper text, timestamps, captions. |
+ | `text.code.md` | 14/20 | 400 | 0em | Code blocks, token names. |
+ | `text.code.sm` | 12/16 | 400 | 0.02em | Inline values, dense code rows. |
+ | `text.headline.lg` | 35/44 | 600 | -0.01em | Page and section titles. |
+ | `text.headline.md` | 29/36 | 600 | 0em | Page and section titles. |
+ | `text.headline.sm` | 24/32 | 600 | 0em | Page and section titles. |
+ | `text.label.lg` | 14/20 | 500 | 0em | Button and control labels. |
+ | `text.label.md` | 12/16 | 500 | 0.02em | Small control labels, badges, dense tabs. |
+ | `text.label.sm` | 12/16 | 500 | 0.05em caps | Overlines in capitals with wide tracking (DC-L02-18). |
+ | `text.numeric.lg` | 20/28 | 600 | 0em | Key numbers: balances, KPIs. |
+ | `text.numeric.md` | 14/20 | 400 | 0em | Amounts and table figures: tabular digits line up in columns; right-align numeric columns. |
+ | `text.title.lg` | 20/28 | 600 | 0em | Card, panel and group titles. |
+ | `text.title.md` | 17/24 | 600 | 0em | Card, panel and group titles. |
+ | `text.title.sm` | 14/20 | 600 | 0em | Table headers, field-group titles. |
**Use / avoid.**
- Use at most three sizes and two weights in one view; let color and weight carry hierarchy before size.
- Avoid all caps for sentences and in scripts without case; use weight for emphasis there.
**Tailwind classes:** `text-body-md`, `text-label-lg`, `text-title-md`, `text-headline-md`.
- Decisions: D-0019 (raw.textFace), D-0020 (raw.displayFace).
+ Decisions: D-0013 (raw.textFace), D-0027 (raw.displayFace).
</details>
## Layout
- > Zoom: sketch (0 of 3), 1 decision in this area. To zoom in, answer Q-space-01, Q-space-02, Q-space-03.
+ > Zoom: sketch (0 of 3), 0 decisions in this area. To zoom in, answer Q-space-01, Q-space-02, Q-space-03.
<!-- od:zoom area=layout level=0 -->
- **Spacing comes in steps of 4px, and screens use spacious spacing by default.**
+ **Spacing comes in steps of 4px, and screens use compact spacing by default.**
Designers: spacing scale, 0 to 96 · Code: `space.0 to space.96`
<details><summary>More</summary>
- **Intent.** Everything sits on a 4px unit: ladder 0, 2, 4, 6, 8, 12, 16, 20, 24, 32, 40, 48, 64, 80, 96. Density is a mode on the semantic layer (default **spacious**). Primitives and minimum tap areas never change.
+ **Intent.** Everything sits on a 4px unit: ladder 0, 2, 4, 6, 8, 12, 16, 20, 24, 32, 40, 48, 64, 80, 96. Density is a mode on the semantic layer (default **compact**). Primitives and minimum tap areas never change.
| Density | inset xs/sm/md/lg/xl | section sm/md/lg | control sm/md/lg | row sm/md/lg/two-line | outer:inner |
|---|---|---|---|---|---|
- | spacious (default) | 6 / 12 / 16 / 20 / 32 | 64 / 80 / 96 | 40 / 48 / 56 | 52 / 56 / 64 / 80 | 3.5 |
+ | spacious | 6 / 12 / 16 / 20 / 32 | 64 / 80 / 96 | 40 / 48 / 56 | 52 / 56 / 64 / 80 | 3.5 |
| comfortable | 4 / 8 / 12 / 16 / 24 | 32 / 40 / 64 | 32 / 40 / 48 | 44 / 48 / 56 / 72 | 2.5 |
- | compact | 2 / 6 / 8 / 12 / 20 | 16 / 24 / 40 | 24 / 32 / 40 | 36 / 40 / 48 / 64 | 2.0 |
+ | compact (default) | 2 / 6 / 8 / 12 / 20 | 16 / 24 / 40 | 24 / 32 / 40 | 36 / 40 / 48 / 64 | 2.0 |
- Target sizes: pointer 24px, touch 44px; `size.target.min` is the floor for the primary input, and `space.target.gap` separates adjacent targets.
- Inner gaps stay below outer gaps (at least half), so grouping reads without borders (L15 P16).
- Breakpoints and grid: not generated yet; use the platform defaults and keep layout spacing independent of density (DC-L03-17).
**Use / avoid.**
- Parents own spacing (padding and gap); children never set outer margins.
- Avoid values off the ladder; if one is needed, add it as a decision.
- Decisions: D-0013 (dials.density).
+ Decisions: none recorded yet; values are defaults from references/levers.json.
</details>
## Elevation & Depth
> Zoom: sketch (0 of 3), 1 decision in this area. To zoom in, answer Q-depth-01.
<!-- od:zoom area=elevation level=0 -->
- **Surfaces step in lightness; only menus and dialogs cast shadows.**
+ **Cards get a faint outline and a very soft shadow.**
Designers: flat, shadowed, tonal or glass · Code: `$extensions.opendesigner.model`
<details><summary>More</summary>
- **Intent.** Depth 45/100 selects the **tonal** model. Shadow alpha in light mode is 0.135; dark mode doubles it and lifts surfaces by lightness instead (sunken, base, raised, overlay).
+ **Intent.** Depth 28/100 selects the **ring+faint-shadow** model. Shadow alpha in light mode is 0.103; dark mode doubles it and lifts surfaces by lightness instead (sunken, base, raised, overlay).
| Token | Layers (x y blur spread) | Use |
|---|---|---|
- | `elevation.raised` | none | Cards that lift on hover, sticky headers, dragged rows. |
- | `elevation.floating` | 0 1 2 0, 0 4 12 0 | Menus, popovers, dropdowns. |
- | `elevation.overlay` | 0 1 2 0, 0 12 32 0 | Dialogs and sheets (with color.overlay.scrim). |
+ | `elevation.raised` | 0 0 0 1, 0 1 2 0 | Cards that lift on hover, sticky headers, dragged rows. |
+ | `elevation.floating` | 0 0 0 1, 0 1 2 0, 0 4 12 0 | Menus, popovers, dropdowns. |
+ | `elevation.overlay` | 0 0 0 1, 0 1 2 0, 0 12 32 0 | Dialogs and sheets (with color.overlay.scrim). |
- Borders: 1px default, 2px selected and focus, 4px emphasis; width changes use an inset shadow so layout does not jump.
- Stacking: page < raised < floating (menus) < overlay (dialogs with `color.overlay.scrim`).
- No materials or glass in this system.
- Decisions: D-0016 (dials.depth).
+ Decisions: D-0019 (dials.depth).
</details>
## Shapes
> Zoom: sketch (0 of 3), 1 decision in this area. To zoom in, answer Q-shape-01.
<!-- od:zoom area=shape level=0 -->
- **Buttons and fields have 12px corners; cards have 16px corners.**
+ **Buttons and fields have 8px corners; cards have 12px corners.**
Designers: corner radius, sharp to pill · Code: `radius.control, CSS border-radius`
<details><summary>More</summary>
- **Intent.** Roundness 64/100 gives controls a **12** radius; details 6px, containers 16px, overlays 24px, people full. Controls under 32px tall use `radius.control-sm` (8).
+ **Intent.** Roundness 50/100 gives controls a **8** radius; details 4px, containers 12px, overlays 16px, people full. Controls under 32px tall use `radius.control-sm` (6).
- Nested radius: inner = max(outer - padding, smallest step). Here it is 2px inside a container with `space.inset.lg` padding. Equal radii on nested shapes look uneven (DC-L04-05).
- - Focus ring: 2px, 2px offset, radius = control radius + offset (14).
- - Icons: rounded corners, round caps. On iOS, use continuous corners (DC-L04-04).
+ - Focus ring: 2px, 2px offset, radius = control radius + offset (10).
+ - Icons: default corners, round caps. On iOS, use continuous corners (DC-L04-04).
- Signature shapes: none generated; a brand shape library is a designer asset (hook H-motif).
- Decisions: D-0015 (dials.roundness).
+ Decisions: D-0017 (dials.roundness).
</details>
## Components
> Zoom: sketch (0 of 3), 0 decisions in this area. To zoom in, answer Q-comp-01, Q-comp-02, Q-state-01.
<!-- od:zoom area=components level=0 -->
**Version 1 plans 27 components, all built from these tokens.**
Designers: core set of about 25 components · Code: `button.* (proposed), APG pattern`
<details><summary>More</summary>
**Your answers here** (each one either sets tokens or is a rule for this section):
- - Does your product use AI, and if so, how should people spot and fix its work? **Chat components for products people talk to (shadcn Message, Bubble; Carbon AI chat)** (delegated; a rule here; Q-ai-01)
+ - Does your product use AI, and if so, how should people spot and fix its work? **Chat components for products people talk to (shadcn Message, Bubble; Carbon AI chat)** (chosen; a rule here; Q-ai-01)
- **Intent.** v1 components use the semantic tokens only. Base: not chosen yet (Q-comp-01). Buttons are 48px tall (spacious), 12 radius, `text.label.lg`; one primary action per view.
+ **Intent.** v1 components use the semantic tokens only. Base: not chosen yet (Q-comp-01). Buttons are 32px tall (compact), 8 radius, `text.label.lg`; one primary action per view.
| Component | Status |
|---|---|
| button | planned (tokens ready) |
| text-field | planned (tokens ready) |
| textarea | planned (tokens ready) |
| select | planned (tokens ready) |
| checkbox | planned (tokens ready) |
| radio | planned (tokens ready) |
| switch | planned (tokens ready) |
| slider | planned (tokens ready) |
| tabs | planned (tokens ready) |
| tooltip | planned (tokens ready) |
| popover | planned (tokens ready) |
| dialog | planned (tokens ready) |
| menu | planned (tokens ready) |
| progress-bar | planned (tokens ready) |
| spinner | planned (tokens ready) |
| banner | planned (tokens ready) |
| badge | planned (tokens ready) |
| avatar | planned (tokens ready) |
| card | planned (tokens ready) |
| list | planned (tokens ready) |
| table | planned (tokens ready) |
| link | planned (tokens ready) |
| breadcrumbs | planned (tokens ready) |
| side-navigation | planned (tokens ready) |
| accordion | planned (tokens ready) |
| chat-message | planned (tokens ready) |
| prompt-input | planned (tokens ready) |
**Contested policies:** Validation timing and disabled submit: pending; Field style: pending; Toasts: pending; Undo versus confirm: pending; Danger actions: pending; Button emphasis levels: pending.
**Use / avoid.**
- Every interactive component shows hover, pressed, focus-visible and disabled states from the tokens.
- - Inputs keep a 3:1 boundary (`color.border.input`); signifier strength: minimal-allowed.
+ - Inputs keep a 3:1 boundary (`color.border.input`); signifier strength: strong.
- Component docs belong in `opendesigner/components/<name>.md` (spec 7.8).
Decisions: none recorded yet; values are defaults from references/levers.json.
</details>
## Do's and Don'ts
**These rules keep screens clear and easy to read.** The engine checks the ones it can.
Designers: guardrails and design linting · Code: `engine.py validate, engine.py review`
<details><summary>More</summary>
**Enforced by construction.** The generator cannot break these:
- text contrast 4.5:1, and 3:1 for edges, in every mode
- text on colored fills picked automatically
- tap areas pointer 24px, touch 44px
- a 2px focus ring with a 2px offset
- a reduced-motion mode
- inner spacing smaller than outer spacing, three text colors, and nested radii
**Do**
- Use semantic tokens; never raw hex, px or ms values in components.
- Keep one primary action per view and at most three type sizes per view.
- Pair every status color with an icon or label; underline links in running text.
**Don't**
- Don't shrink hit areas in dense layouts; shrink visuals and extend the hit area.
- Don't use motion as the only signal, or flash more than three times a second.
- Don't copy another brand's identity from a reference (colors, typeface, logo, imagery, copy).
**Current validation findings:** none (errors 0, warnings 0).
**Waivers:** none.
</details>
## Standards
**Follow these rules when you build.** They come from sources marked non-negotiable, their values are locked, and `engine.py review` checks the ones it can.
- House standards v2: 289 rules followed in this project.
+ House standards v3: 289 rules followed in this project.
**Don't break these:**
- No motion on 100+ times-a-day actions (STD-when-to-animate-05).
- Never use ease-in on UI (STD-easing-duration-03).
- Never enter from scale(0) (STD-enter-exit-origin-01).
- Never use transition: all (STD-performance-properties-06).
- Never disable pinch zoom (STD-accessibility-motion-27).
<details><summary>Every theme (225 rules)</summary>
- **When to animate** (14 rules, 12 must): Decide whether to animate first; Name a valid purpose for every animation; Scale motion down as frequency rises; No motion on 100+ times-a-day actions; Never animate keyboard-initiated actions; Remove or shrink motion seen tens-of-times daily; Spend delight only on rare moments; Explanatory motion only in marketing, onboarding; and 4 more must rules. Locks `motion.duration.instant` 0ms.
- **Easing and duration** (12 rules, 10 must): Pick easing by the motion's job; Strong custom curves, not built-in keywords; Never use ease-in on UI; UI motion under 300ms unless justified; Duration budget for each element; Nothing over 1s unless illustrative; Duration grows with size and distance; Slow deliberate phase, snappy response; and 2 more must rules. Locks `motion.easing.linear` [0, 0, 1, 1], `motion.easing.hover` [0.25, 0.1, 0.25, 1], `motion.easing.enter` [0.23, 1, 0.32, 1], `motion.easing.exit` [0.23, 1, 0.32, 1], `motion.easing.standard` [0.77, 0, 0.175, 1], `motion.duration.micro` 100ms, `motion.duration.short` 150ms, `motion.duration.medium` 200ms, `motion.duration.long` 250ms.
- **Enter, exit and origin** (29 rules, 16 must): Never enter from scale(0); No opacity-only fade entrances; Scale popovers from their trigger; Keep modals scaling from center; Exit the way it entered; Dropdowns and popovers: scale 0.95, 200ms; Tooltips: scale 0.97, 125ms; Delay only the first tooltip; and 8 more must rules. Locks `motion.scale.enter` 0.95, `motion.duration.medium` 200ms (STD-easing-duration-07 wins), `motion.duration.tooltip` 125ms, `motion.scale.enter-tooltip` 0.97, `motion.duration.instant` 0ms (STD-when-to-animate-05 wins), `motion.duration.modal` 250ms, `motion.scale.enter-modal` 0.96, `motion.duration.stagger` 50ms, `motion.duration.reveal` 600ms, `motion.blur.crossfade` 2px, `motion.easing.drawer` [0.32, 0.72, 0, 1], `motion.duration.drawer` 500ms.
- **Springs and gestures** (32 rules, 21 must): Springs for anything a finger drives; Default springs are critically damped; Bounce only after a momentum gesture; Keep bounce subtle, 0.1 to 0.3; Sheet and drawer spring values; Every animation can be grabbed mid-flight; Never block input during transitions; Start from the on-screen value; and 13 more must rules. Locks `motion.spring.spatial.dampingRatio` 1.0, `motion.spring.spatial.stiffness` 246.7, `motion.spring.momentum` a composite value (see standards.md), `motion.spring.sheet` a composite value (see standards.md), `motion.spring.rotation` a composite value (see standards.md), `motion.gesture.deceleration-rate` 0.998, `motion.gesture.dismiss-velocity` 0.11, `motion.gesture.rubberband-constant` 0.55, `motion.gesture.direction-threshold` 10px.
- **Performance and properties** (14 rules, 9 must): Animate only transform and opacity; Only clip-path, accordion height, childless width; Never use transition: all; Motion: animate the full transform string; Keep per-frame values out of React state; Set drag transforms on the moving element; Pick the cheapest animation tool; Treat dropped frames as a regression; and 1 more must rule.
- **Accessibility in motion** (18 rules, 11 must): Ship reduced motion with the animation; Reduced motion is gentler, never zero; Check reduced motion by toggling it; Reduced transparency makes surfaces solid; Increased contrast gets solid, bordered surfaces; Scale layout with the user's text size; Gate hover motion to fine pointers; Build overlays on accessible primitives; and 3 more must rules. Locks `raw.reducedMotion` "replace", `motion.duration.reduced-fade` 200ms, `reduced:motion.transition.enter` a composite value (see standards.md), `reduced:motion.transition.exit` a composite value (see standards.md), `reduced:motion.transition.expand` a composite value (see standards.md).
- **Toasts, drawers and overlays** (23 rules, 7 must): Fill gaps between toasts for hover; Pause toast timers in a hidden tab; Toast classNames need !important; Copy Sonner styles into shadow DOM; Drawer curve: cubic-bezier(0.32, 0.72, 0, 1); Feedback on press, commit on release; Hold to confirm: slow press, fast release. Locks `motion.duration.toast` 400ms, `motion.easing.toast` [0.25, 0.1, 0.25, 1], `component.toast.gap` 14px, `component.toast.visible` 3, `component.toast.duration` 4000ms, `component.toast.offset.desktop` 32px, `component.toast.offset.mobile` 16px, `motion.easing.drawer` [0.32, 0.72, 0, 1] (STD-enter-exit-origin-41 wins), `motion.gesture.drag-lock-after-scroll` 100ms.
- **Mobile and touch** (20 rules, 16 must): Detect touch by capability, never by device; Remove the tap highlight flash globally; Press feedback scales to 0.97, briefly; Remove the tap delay on tappables; Touch targets 44pt on iOS, 48dp on Android; Size full-height layouts with dvh and svh; Form inputs at 16px or larger; Contain overscroll in app layouts; and 8 more must rules. Locks `motion.scale.press` 0.97, `motion.duration.micro` 100ms (STD-easing-duration-07 wins), `size.target.touch` 44px, `size.target.min` 44px, `font.size.input` 16px.
- **Visual details** (49 rules, 19 must): Cap body text near 65ch; Tabular digits for changing numbers; Use the ellipsis character; Loosen tracking on uppercase labels; Make letter-spacing specific to size; Reserve underlines for links; Metric-matched fallback font stack; Never stack light translucent surfaces; and 11 more must rules.
- **Process, review and taste** (14 rules, 8 must): Motion that merely runs is not done; Self-check motion before finishing; Report review findings as one table; Close every motion review with Block or Approve; Make the motion call yourself; Keep the motion note to a few lines; Say when feel can't be judged from code; Judge feel on real hardware.
</details>
Every rule, with its values, reasons and sources: `opendesigner/standards.md` (it also has the 64 rules this file leaves out). Read the themes you touch before you build.
## Motion
> Zoom: sketch (0 of 3), 1 decision in this area. To zoom in, answer Q-motion-01.
<!-- od:zoom area=motion level=0 -->
**Most movements take 200ms.** They turn into fades when a person asks for less motion.
Designers: motion system: duration, easing, springs · Code: `motion.duration.*, motion.easing.*`
<details><summary>More</summary>
- **Intent.** Energy 30/100: the duration multiplier x0.92 scales the extra step (standards fix medium, long). Standard easing `cubic-bezier(0.77, 0, 0.175, 1)`, enter `cubic-bezier(0.23, 1, 0.32, 1)`, exit `cubic-bezier(0.23, 1, 0.32, 1)`. Spatial spring: damping 1.0, stiffness 246.7 (Apple duration 0.4s, bounce 0.0; web `linear()` sample over 590ms).
+ **Intent.** Energy 18/100: the duration multiplier x0.87 scales the extra step (standards fix medium, long). Standard easing `cubic-bezier(0.77, 0, 0.175, 1)`, enter `cubic-bezier(0.23, 1, 0.32, 1)`, exit `cubic-bezier(0.23, 1, 0.32, 1)`. Spatial spring: damping 1.0, stiffness 246.7 (Apple duration 0.4s, bounce 0.0; web `linear()` sample over 590ms).
| Token | Value | Note |
|---|---|---|
| `motion.duration.instant` | 0ms | set by house standard STD-when-to-animate-05 |
| `motion.duration.micro` | 100ms | set by house standard STD-easing-duration-07 |
| `motion.duration.short` | 150ms | set by house standard STD-easing-duration-07 |
| `motion.duration.medium` | 200ms | set by house standard STD-easing-duration-07 |
| `motion.duration.long` | 250ms | set by house standard STD-easing-duration-07 |
- | `motion.duration.extra` | 640ms | illustrative and marketing motion only, never UI (STD-easing-duration-06) |
+ | `motion.duration.extra` | 610ms | illustrative and marketing motion only, never UI (STD-easing-duration-06) |
| `motion.duration.medium-exit` | 160ms | derived: about 0.8 x medium |
| `motion.duration.long-exit` | 200ms | derived: about 0.8 x long |
| `motion.duration.drawer` | 500ms | set by house standard STD-enter-exit-origin-41 |
| `motion.duration.modal` | 250ms | set by house standard STD-enter-exit-origin-11 |
| `motion.duration.reduced-fade` | 200ms | set by house standard STD-accessibility-motion-02 |
| `motion.duration.reveal` | 600ms | set by house standard STD-enter-exit-origin-26 |
| `motion.duration.stagger` | 50ms | set by house standard STD-enter-exit-origin-13 |
| `motion.duration.toast` | 400ms | set by house standard STD-components-toasts-drawers-07 |
| `motion.duration.tooltip` | 125ms | set by house standard STD-enter-exit-origin-09 |
- Exits are derived, not set on their own: each is about 20% shorter than the entrance in force (medium-exit 160ms from medium 200ms, long-exit 200ms from long 250ms; STD-easing-duration-11). Change an entrance and its exit follows. Linear easing only for spinners and progress.
- Reduced motion (`prefers-reduced-motion` or `data-motion="reduced"`): travel becomes opacity, feedback stays, `motion.transition.move` is 0ms.
- Springs are stored as damping and stiffness in `$extensions.opendesigner.spring` because DTCG 2025.10 has no spring type.
- Haptics: light intensity where the platform has them; sound: hook H-sound is pending.
- Decisions: D-0010 (34 values, standards), D-0014 (dials.energy).
+ Decisions: D-0012 (34 values, standards), D-0024 (dials.energy).
</details>
## Modes and Themes
> Zoom: sketch (0 of 3), 1 decision in this area. To zoom in, answer Q-theme-03.
<!-- od:zoom area=modes level=0 -->
**The system has light and dark color modes, three spacing densities and a reduced-motion mode.**
Designers: modes: light, dark, density, motion · Code: `resolver modifiers, Figma collection modes`
<details><summary>More</summary>
**Your answers here** (each one either sets tokens or is a rule for this section):
- Should the app have light and dark modes that follow the device, or just one mode? **Light and dark, matching the device setting** (delegated; tokens; Q-theme-01)
**Intent.** Modes live in the DTCG resolver (`opendesigner/tokens/opendesigner.resolver.json`); modifiers are orthogonal, so no two set the same token.
| Modifier | Contexts | Default |
|---|---|---|
| theme | light, dark | light |
- | density | spacious, comfortable, compact | spacious |
+ | density | spacious, comfortable, compact | compact |
| motion | standard, reduced | standard |
- Web: `prefers-color-scheme` with a `[data-theme]` override; `[data-density]`; `prefers-reduced-motion` with `[data-motion]` (see `opendesigner/build/css/tokens.css`).
- High-contrast themes are not generated; set `raw.contrastTarget` to AAA for 7:1 text everywhere.
- A second brand or a client re-skin may override the color primitives and `color.bg.brand`; semantic names never change.
- Decisions: D-0008 (answers.Q-theme-01).
+ Decisions: D-0010 (answers.Q-theme-01).
</details>
## Iconography and Imagery
> Zoom: sketch (0 of 3), 0 decisions in this area. To zoom in, answer Q-icon-01, Q-icon-02, Q-icon-06.
<!-- od:zoom area=iconography level=0 -->
- **Icons are 24px by default.** The logo, photos and custom icons come from a person, not from the engine.
+ **Icons are 16px by default.** The logo, photos and custom icons come from a person, not from the engine.
Designers: icon system: style, sizes, color · Code: `size.icon.*, icon.stroke.*, color.icon.*`
<details><summary>More</summary>
- **Intent.** Default icon size 24px; sizes 16/20/24 pair with 14/16/20px text. Stroke follows the label weight: 1.5px at 16, 2.0px at 20, 2.5px at 24. Rest style: outline.
+ **Intent.** Default icon size 16px; sizes 16/20/24 pair with 14/16/20px text. Stroke follows the label weight: 1.5px at 16, 2.0px at 20, 2.5px at 24. Rest style: outline.
| Asset | Hook | Status |
|---|---|---|
| Logo and marks | H-logo | pending |
| Favicon set | H-favicon | pending |
| App icon | H-appicon | pending |
| Custom icons | H-icons | pending |
| Illustration | H-illus | pending |
| Photography | H-photo | pending |
| Motifs and brand shapes | H-motif | pending |
- Placeholders are labelled as placeholders. A generated stand-in is never shown as a finished brand asset.
- Icon-only buttons need an accessible name and a hit area of `size.target.min`.
Decisions: none recorded yet; values are defaults from references/levers.json.
</details>
## Content and Voice
> Zoom: sketch (0 of 3), 0 decisions in this area. To zoom in, answer Q-voice-01, Q-voice-02, Q-voice-03.
<!-- od:zoom area=content level=0 -->
**Words stay plain and short, and every button says what it does.**
Designers: content: voice, tone, microcopy · Code: `DESIGN.md Content and Voice section`
<details><summary>More</summary>
- **Intent.** Draft: voice guidance level **short** (Brand presence 62); **title-case**; contractions **none** (Warmth 20). Voice guide hook H-voice: pending.
+ **Intent.** Draft: voice guidance level **none** (Brand presence 35); **title-case**; contractions **none** (Warmth 12). Voice guide hook H-voice: pending.
- Buttons say what they do in two to four words; errors say what happened and how to fix it.
- Reading level: plain language; avoid jargon in UI copy.
- Word list: not recorded yet (Q-voice-03).
Decisions: none recorded yet; values are defaults from references/levers.json.
</details>
## Accessibility
> Zoom: sketch (0 of 3), 0 decisions in this area. To zoom in, answer Q-aud-02, Q-aud-03, Q-aud-04.
<!-- od:zoom area=accessibility level=0 -->
**Text passes WCAG 2.2 AA contrast in every mode, and focus is always visible.**
Designers: WCAG 2.2 AA target · Code: `raw.contrastTarget`
<details><summary>More</summary>
**Your answers here** (each one either sets tokens or is a rule for this section):
- - Who uses it, and how often: all day for work, often, or now and then on the go? **Often, in an everyday app** (delegated; tokens; Q-aud-01)
+ - Who uses it, and how often: all day for work, often, or now and then on the go? **All day, in tools full of data** (delegated; tokens; Q-aud-01)
**Intent.** Standard: WCAG 2.2 AA. APCA is reported as advice only.
**The system guarantees:**
- text and edge contrast in every mode
- visible focus (2px ring, 2px offset, 3:1)
- minimum target sizes for each kind of input
- a reduced-motion mode
- rem-based type, so text scales to 200%
- text on colored fills chosen automatically
**Product teams own:** accessible names and labels, alt text, reading and focus order, and never using color alone. Also: clear error messages, dialogs that can be closed, no pre-checked consent boxes, and captions for media.
**Test on each platform:**
- keyboard only
- a screen reader (VoiceOver, NVDA or TalkBack)
- 200% zoom
- forced colors (Windows High Contrast)
- reduced motion
- touch on a phone, for every surface that allows touch
Decisions: none recorded yet; values are defaults from references/levers.json.
</details>
## Platforms and Devices
> Zoom: sketch (0 of 3), 1 decision in this area. To zoom in, answer Q-plat-05, Q-plat-10, Q-plat-08.
<!-- od:zoom area=platforms level=0 -->
**It runs on web, and each platform keeps its own navigation.**
Designers: target platforms · Code: `raw.platforms; size.target.min`
<details><summary>More</summary>
**Your answers here** (each one either sets tokens or is a rule for this section):
- Where will it run first: web, iOS, Android or desktop? **Web** (delegated; tokens; Q-plat-01)
- **Intent.** Platforms: web. Inputs: pointer, touch. Brand presence 62: each platform keeps its own shapes and materials: no; each platform keeps its own body text size: no.
+ **Intent.** Platforms: web. Inputs: pointer, touch. Brand presence 35: each platform keeps its own shapes and materials: yes; each platform keeps its own body text size: yes.
- Navigation, back, sheets and pickers stay native on every platform (DC-L10-02).
- Swift and Compose files in `opendesigner/build/` use the same names as the CSS variables (Figma code syntax matches them).
- - Fonts by platform: text: Instrument Sans (open licence or system font: web, apps and self-hosting); display: Newsreader: licensed for web, apps, self-hosting.
+ - Fonts by platform: text: Onest (open licence or system font: web, apps and self-hosting); display: Onest (open licence or system font: web, apps and self-hosting).
- Decisions: D-0005 (answers.Q-plat-01).
+ Decisions: D-0007 (answers.Q-plat-01).
</details>
## Decisions
- **31 decisions so far.** Each one says who set it and why.
+ **27 decisions so far.** Each one says who set it and why.
Designers: decision history with reasons · Code: `opendesigner/decisions.md`
<details><summary>More</summary>
Your own decisions first (the newest value per path), then your changes to standards, then one row per standards batch. Full log: [opendesigner/decisions.md](opendesigner/decisions.md).
| Id | Path | Value | Set by | Reason |
|---|---|---|---|---|
- | D-0002 | `answers.Q-aud-01` | "regular" | delegated | sketch: picked for them |
- | D-0003 | `context.audience` | "people who use it often, as an everyday app" | delegated | sketch: plain words for Q-aud-01, picked for them |
- | D-0005 | `answers.Q-plat-01` | ["web"] | delegated | sketch: picked for them |
- | D-0006 | `macros` | ["friendly", "premium"] | delegated | sketch: picked for them (feel words: warm, refined) |
- | D-0007 | `taste.feelWords` | ["warm", "refined"] | delegated | sketch: feel words picked for them |
- | D-0008 | `answers.Q-theme-01` | "system-light-dark" | delegated | sketch: picked for them |
- | D-0009 | `answers.Q-scope-06` | "read" | delegated | sketch: picked for them |
- | D-0011 | `dials.expression` | 62 | delegated | editorial voice: serif accents, generous display sizes in the answer |
- | D-0012 | `dials.brandPresence` | 62 | delegated | terracotta and the serif carry the brand through the composer |
- | D-0013 | `dials.density` | 32 | delegated | reading product: airy, unhurried spacing |
- | D-0014 | `dials.energy` | 30 | delegated | calm; streaming and send feedback only |
- | D-0015 | `dials.roundness` | 64 | delegated | soft paper-card corners, pill controls |
- | D-0016 | `dials.depth` | 45 | delegated | cards lift slightly off the paper |
- | D-0017 | `dials.colorfulness` | 38 | delegated | warm neutrals, one terracotta accent |
- | D-0019 | `raw.textFace` | "Instrument Sans" | delegated | warm grotesque for UI labels and input text |
- | D-0020 | `raw.displayFace` | "Newsreader" | delegated | editorial serif for answers, headings and mode names |
- | D-0021 | `raw.fontLicence` | {"web": true, "app": true, "selfHost": true} | delegated | both faces are SIL OFL on Google Fonts |
- | D-0024 | `answers.Q-ai-01` | "chat" | delegated | the product is a conversational research assistant |
- | D-0025 | `raw.brandColor` | "#2B4C8C" | chosen | round 3: the owner said the colours need work; cream, terracotta and brown read as the forbidden warm trio and sit close to a real AI brand's clay-on-ivory;... |
- | D-0026 | `raw.neutralBase` | null | delegated | round 3: no parchment; neutrals come from the tint |
- | D-0028 | `dials.warmth` | 20 | delegated | round 3: warmth 88 made the neutrals brown |
- | D-0029 | `raw.neutralTint` | "pure" | delegated | round 3: true greys; the neutral tint came out blue and turned the page monochrome blue |
- | D-0030 | `answers.Q-color-09` | "pure" | delegated | round 3: pure greys, matching raw.neutralTint; the warm answer was left from round 1 |
- | D-0031 | `raw.focusColor` | "#242424" | delegated | round 3: blue means a source; focus and actions are ink |
- | D-0010 | standards | House standards v2: 289 applied | standard (locked) | OpenDesigner's house standards (sources marked non-negotiable) are applied without asking and locked. Change one only when the person asks: engine.py... |
+ | D-0002 | `answers.Q-aud-01` | "dense" | delegated | sketch: picked for them |
+ | D-0004 | `context.audience` | "people who use it all day for work, in screens full of data" | delegated | sketch: plain words for Q-aud-01, picked for them |
+ | D-0007 | `answers.Q-plat-01` | ["web"] | delegated | sketch: picked for them |
+ | D-0008 | `macros` | ["deferential", "minimal", "premium"] | delegated | sketch: picked for them (feel words: calm, focused, refined) |
+ | D-0009 | `taste.feelWords` | ["calm", "focused", "refined"] | delegated | sketch: feel words picked for them |
+ | D-0010 | `answers.Q-theme-01` | "system-light-dark" | delegated | sketch: picked for them |
+ | D-0011 | `answers.Q-scope-06` | ["app:operate"] | delegated | sketch: picked for them |
+ | D-0013 | `raw.textFace` | "Onest" | delegated | one clean grotesque for every control |
+ | D-0015 | `raw.neutralTint` | "pure" | delegated | white working surfaces, no parchment |
+ | D-0016 | `raw.brandColor` | "#2B4C8C" | chosen | ink blue means a source |
+ | D-0017 | `dials.roundness` | 50 | delegated | work tool: quiet chrome, one accent |
+ | D-0019 | `dials.depth` | 28 | delegated | work tool: quiet chrome, one accent |
+ | D-0021 | `dials.warmth` | 12 | delegated | work tool: quiet chrome, one accent |
+ | D-0022 | `dials.colorfulness` | 22 | delegated | work tool: quiet chrome, one accent |
+ | D-0023 | `dials.expression` | 30 | delegated | work tool: quiet chrome, one accent |
+ | D-0024 | `dials.energy` | 18 | delegated | work tool: quiet chrome, one accent |
+ | D-0025 | `dials.brandPresence` | 35 | delegated | work tool: quiet chrome, one accent |
+ | D-0026 | `answers.Q-ai-01` | "chat" | chosen | (no reason given) |
+ | D-0027 | `raw.displayFace` | "Onest" | delegated | one face: a serif answer reads as another product's signature, and it was used for one element |
+ | D-0012 | standards | House standards v3: 289 applied | standard (locked) | OpenDesigner's house standards (sources marked non-negotiable) are applied without asking and locked. Change one only when the person asks: engine.py... |
</details>
## Open Items
**These parts are still defaults, guesses, or waiting for a person.**
- Still defaults (zoom 0, sketch): Colors, Typography, Layout, Elevation & Depth, Shapes, Components, Motion, Modes and Themes, Iconography and Imagery, Content and Voice, Accessibility, Platforms and Devices
- Assets not final: Logo, wordmark, symbol, lockups (H-logo): pending; App icon (H-appicon): pending; Favicon set (H-favicon): pending; Custom icons, pictograms, spot icons (H-icons): pending; Illustration, characters, empty-state art (H-illus): pending; Photography and art direction (H-photo): pending; Brand typeface files (H-type): pending; Fixed brand colors (H-color): pending; Motion signature and rich media (H-motion): pending; Graphic devices, patterns, textures, brand gradients, signature shape (H-motif): pending; UI sounds and sonic logo (H-sound): pending; Custom haptic patterns (H-haptic): pending; Voice and tone guide (H-voice): pending; Brand guidelines PDF (H-brandbook): pending
- - Answers taken on assumption or delegated: answers.Q-aud-01 (delegated), context.audience (delegated), answers.Q-plat-01 (delegated), macros (delegated), taste.feelWords (delegated), answers.Q-theme-01 (delegated), answers.Q-scope-06 (delegated), dials.expression (delegated), dials.brandPresence (delegated), dials.density (delegated), dials.energy (delegated), dials.roundness (delegated), dials.depth (delegated), dials.colorfulness (delegated), dials.warmth (delegated), raw.textFace (delegated), raw.displayFace (delegated), raw.fontLicence (delegated), answers.Q-color-09 (delegated), raw.neutralBase (delegated), answers.Q-ai-01 (delegated), raw.neutralTint (delegated), raw.focusColor (delegated)
+ - Answers taken on assumption or delegated: answers.Q-aud-01 (delegated), defaults.work-tool (auto_default), context.audience (delegated), answers.Q-plat-01 (delegated), macros (delegated), taste.feelWords (delegated), answers.Q-theme-01 (delegated), answers.Q-scope-06 (delegated), raw.textFace (delegated), raw.displayFace (delegated), raw.neutralTint (delegated), dials.roundness (delegated), dials.depth (delegated), dials.warmth (delegated), dials.colorfulness (delegated), dials.expression (delegated), dials.energy (delegated), dials.brandPresence (delegated)
- Waivers: none.
- Licence risks: none found.
- Validation: 0 errors, 0 warnings.
## For Agents
**AI agents: read this file and the tokens before you change any screen.**
1. Before any visual work, read this file, PRODUCT.md and `opendesigner/tokens/` (start at `opendesigner/tokens/opendesigner.resolver.json`).
2. Use tokens, never raw values: CSS `var(--ds-...)`, Tailwind classes from `opendesigner/build/tailwind/theme.css`, `DS.*` in Swift. In Compose: colors from `LocalDsColors.current` (provide `DsLightColors` or `DsDarkColors`), then `DsSpace`, `DsType` and `DsMotion`.
- 3. Do not change a locked decision without asking the owner.
+ 3. Do not change a locked decision without asking the owner. Keep new screens inside the taste card at the top of the Overview, and never add anything on its Never list without asking.
4. To change the system: `engine.py set <path> <value> --why "..."`, then `engine.py generate`, `engine.py validate`, `engine.py design-md`.
5. To extend: add a decision (never hand-edit tokens or this file). Keep semantic names the same across modes. Deprecate instead of deleting.
6. After any implementation, run `engine.py review` and re-read this file.
7. Follow the Standards section. Change a standard only when the person explicitly asks: `engine.py standard override <id> --why "<their words>"`.
**Tailwind v4 classes** (one import: `@import "tailwindcss"; @import "<path>/opendesigner/build/tailwind/theme.css";`; Tailwind's default colors, text sizes, radii and shadows are switched off, so only these exist):
| Area | Classes |
|---|---|
| Color | `bg-action-primary`, `hover:bg-action-primary-hover`, `active:bg-action-primary-pressed`, `text-on-action`, `bg-surface-base`, `bg-surface-raised`, `text-fg-primary`, `text-fg-secondary`, `text-fg-link`, `border-line-subtle`, `border-line-input`, `outline-line-focus`, `bg-danger-bold` |
| Layout | `p-inset-md`, `gap-stack-md`, `gap-inline-sm`, `h-control-md`, `size-icon-md`, `min-h-target-min` |
| Shape | `rounded-control`, `rounded-container`, `rounded-overlay`, `rounded-full` |
| Elevation | `shadow-raised`, `shadow-floating`, `shadow-overlay` |
| Type | `text-body-md`, `text-label-lg`, `text-title-md`, `text-headline-md` |
| Motion | `transition-feedback`, `ease-enter`, `ease-exit`, `ease-hover` |