Skip to content

T-CNW8-design-language-layer-styling-idiom

Status: open/ready · Impact: low · Complexity: small

Each layer styles differently — @determined/ui leans on Tailwind arbitrary values, app-frame on scoped CSS — but nothing states the idiom, so moves between layers are unpredictable (SURVEY drift 11). Write one idiom per layer down.

LocationRole today
packages/ts/ui/Tailwind arbitrary-value idiom (text-(--d-text-muted)), by practice only.
packages/ts/app-frame/Scoped-CSS idiom, by practice only.
packages/ts/ui/docs/design-system.mdStates neither.

A short spec section naming the idiom per layer (ui, app-frame, experiences/products) and when each applies, so code moved between layers gets restyled to the destination idiom deliberately.

  1. Confirm the de-facto idiom per layer from current code.
  2. Write the section into design-system.md; cross-link from S-0010.
LocationKindChange
packages/ts/ui/docs/design-system.mdmodifyper-layer idiom section
docs/planning/standards/S-0010-design-language-consumption.mdmodifycross-link
  • AC-1: The spec names the idiom for ui, app-frame, and experiences/products.
  • AC-2: S-0010 links the section.
  • Rewriting existing styles to match (only the rule is written).
  • none
  • SURVEY.md drift 11; docs/planning/design-language/PLAN.md Phase 2.

← Back to Tasks