---
id: portfolio.ds.max-widths
name: "Max Widths"
type: token
status: active
relations: [{"type":"related_to","target":"portfolio.ds.typography"},{"type":"related_to","target":"portfolio.ds.rich-text"}]
sources: ["packages/design-system/src/styles/tokens.css","apps/portfolio-site/src/design-system/docs/max-widths.astro","apps/portfolio-site/src/lib/designSystemDocData.ts","apps/portfolio-site/src/lib/designSystemRegistry.ts"]
catalog: ["apps/portfolio-site/src/design-system/docs/max-widths.astro"]
previews: []
---
# Max Widths

## Purpose

Shared readable-width limits for text roles that need stable line lengths.

## Contract

- `--measure-rich-text-copy`: `70ch`, the canonical readable copy width.
- `--measure-rich-text-supporting`: `55ch`, the supporting-text width.
- `--measure-rich-text-subheading`: `32ch`, the nested-subheading width.
- Components consume these tokens instead of repeating their literal `ch` values.
- These tokens limit text measure; they do not own outer layout, padding, or alignment.

## Use

- Main article and conversational copy uses Copy.
- Supporting headings, summaries, and quotes use Supporting.
- Nested subheadings use Subheading.

## Do Not Use

- Full-width media, code, or layout surfaces.
- Component dimensions unrelated to readable text length.

## Accessibility

- Treat the measures as maximums so text can shrink with its container without horizontal scrolling.
- Recheck wrapping at every supported breakpoint and browser zoom level.
- Do not use a narrower measure when it would break words, controls, or localized copy.

## Verification

- Confirm the entry appears under the trailing Tokens group after the static separator.
- Confirm `/design-system/max-widths/` renders all three tokens.
- Confirm consuming components reference the variables rather than their literal values.
