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.
27 lines
1.6 KiB
27 lines
1.6 KiB
|
3 months ago
|
# Audit: mark
|
||
|
|
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; ColorRole correct (9 roles); padding em-literals need canonicalization
|
||
|
|
as-const: true · roles clean: true · variants clean: true · has-recipe: false
|
||
|
|
|
||
|
|
## Findings
|
||
|
|
### LOW: em-literal padding; no canonical scale defined — mark-001 <!-- id: mark-001 -->
|
||
|
|
- dimension: E-bis: Theming (SIZES)
|
||
|
|
- location: src/uix/eidos/components/mark/mark.css:14-15
|
||
|
|
- evidence: padding-inline: 0.16em; padding-block: 0.04em
|
||
|
|
- impact: Magic em literals for mark decoration; same issue as code.css padding
|
||
|
|
- proposed-fix: Define --mark-padding-inline and --mark-padding-block tokens
|
||
|
|
- verify: [downgraded] mark.css:14-15 'padding-inline: 0.16em; padding-block: 0.04em' — same rationale: em-relative inline-highlight padding scaling with prose font-size, no canonical em padding scale, radius uses canonical --radius-sm. Legitimate inline-flow literal, not drift. Downgraded MEDIUM→LOW.
|
||
|
|
- fix-status: open
|
||
|
|
|
||
|
|
## Theming facts (E-bis)
|
||
|
|
- magic literals: 0.16em @ src/uix/eidos/components/mark/mark.css:14 -> canonical mark-padding-inline token | 0.04em @ src/uix/eidos/components/mark/mark.css:15 -> canonical mark-padding-block token
|
||
|
|
- magic z-index: none
|
||
|
|
- non-canonical names: none
|
||
|
|
- roles clean: true · variants clean: true
|