WORK-410
Setting up your dashboard 0 entities found · 8/31 branches scanned
ID:WORK-410Status:pending

Skeleton/skin split — spike

The gating spike for the v0.23.0 wholesale extraction. The skeleton/skin cut is a per-declaration design call (structure and aesthetics are braided inside single rules), so settle it empirically on a small slice before committing to the public contract every future theme depends on.

Priority:highComplexity:moderateMilestone:v0.22.0Source:SPEC-094

Criteria completion

Criteria completion: 0 of 3 (0%) checked; tracking started on Jun 12, no incremental history yet0%25%50%75%100%Jun 12Jun 15

Tracking started Jun 12 — check back for trends.

Branches 1
History 2
  1. cd1f8b8
    Created (pending)by bjornolofandersson
  2. df1ffa9
    Content editedby Claude
    plan: break down SPEC-094 first slice into v0.22.0 milestone

Scope

  • Take one card-surface rune + hint + one dimension file. Split them on the correctness-not-taste criterion (skeleton = what a rune breaks without; skin = anything a different theme would plausibly want different).
  • Deliver the split via cascade layers (@layer skeleton, skin); confirm the virtual-module loader can guarantee layer order.
  • Re-skin the slice with a deliberately un-Lumina editorial look (large serif display, no footer rules, centred preambles, a different inset feel) to surface where Lumina's opinion leaks into the skeleton.
  • Probe the engine coupling: how data-surface (SPEC-094 §8) and icon-from-config would remove the rune-name lists / embedded data-URIs.

Acceptance Criteria

  • A working split of the slice under @layer skeleton, skin, with the editorial re-skin overriding via low-specificity selectors (no specificity wars, no !important).
  • A written cut-line rule (which declaration classes are skeleton vs skin) and a packaging decision (@refrakt-md/skeleton package vs. a neutral base.css export).
  • A scope estimate for the full v0.23.0 extraction (file / declaration counts, plus the data-surface + icon-config engine changes) feeding the v0.23.0 milestone.

Dependencies

  • Best run after WORK-405 (tokenized type shrinks the classification surface) and using WORK-409 for the before/after diff.

References

  • SPEC-094 · packages/lumina/styles/dimensions/surfaces.css · packages/lumina/styles/runes/hint.css · packages/sveltekit/src/virtual-modules.ts.