You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte-kit-vice/audit/components/display.md

1.7 KiB

Audit: display

audit-version: 1 audited-at: 2026-06-26 scope: eidos (eidos-only primitive) method: theming-coherence category sweep (typography), adversarially verified; roles + :Morfo lead-verified CLEAN across all eidos (no success/warning/danger/info; only alert-dialog uses :Morfo).

Summary

Counts (post-verification): CRITICAL 0 · HIGH 0 · MEDIUM 0 · LOW 1. conformance: morfo OK; no recipe; roles fragmented (content-role subset) as-const: true · roles clean: false · variants clean: true · has-recipe: false

Findings

LOW: em-literal for underline offset; hero sizing is special case — display-002

  • dimension: E-bis: Theming (SIZES)
  • location: src/uix/eidos/components/display/display.css:33
  • evidence: text-underline-offset: 0.12em (different from text 0.15em)
  • impact: Magic em literal; intentional hero differentiation but undocumented as canonical
  • proposed-fix: Define --display-underline-offset or document hero-specific em scale
  • verify: [downgraded] display.css:33 'text-underline-offset: 0.12em' is an em-relative underline offset for hero copy. The 0.12 vs 0.15 difference is a deliberate optical choice at hero sizes (smaller offset reads better on large type), documented in types.ts:20-27 re: hero tracking. No canonical --*-underline-offset token exists; em is the accepted unit (cf. link recipe base.ts:878). Cosmetic em literal, not drift aga
  • fix-status: open

Theming facts (E-bis)

  • magic literals: 0.12em @ src/uix/eidos/components/display/display.css:33 -> canonical display-underline-offset token (or hero scale)
  • magic z-index: none
  • non-canonical names: none
  • roles clean: false · variants clean: true

Powered by TurnKey Linux.