WORK-665
ID:WORK-665Status:ready

hero is a composition over section

hero becomes a section with a split, cover, the header and {% actions %}, with no rune CSS of its own (SPEC-160 D7). WORK-654 leaves a composed hero fixture; this item completes it and compares it with the plugin.

Priority:highComplexity:complexMilestone:v0.44.0Source:SPEC-160
claude/post-v0.43-roadmap-mf1ngx View source

Criteria completion

Criteria completion: 0 of 8 (0%) checked; tracking started on Oct 26, no incremental history yet0%25%50%75%100%Oct 26Oct 28

Tracking started Oct 26 — check back for trends.

History 2
  1. a785d87
    statusdraft→ready
    by bjornolofandersson
  2. 07d27ce
    Created (draft)by bjornolofandersson

Acceptance Criteria

  • A composed hero definition declares align, the split attributes, content-place, height and aspect, and forwards them to its section
  • It declares defaults: { width: full, elevation: flush, prominence: display } and writes guest-fit="bleed" on its section
  • It reads no heading as an eyebrow (ADR-046), and a second leading heading is body rather than dropped (BUG-047)
  • Rendered beside the plugin hero for every gallery fixture, light and dark, including cover; every difference is listed and explained
  • actions.css in skeleton and Lumina sets the button-size custom properties from the enclosing section's data-prominence: display and prominent give today's hero size (0.7rem 1.75rem at --rf-text), and anything else gives today's cta size (SPEC-160 D7)
  • The size rules reach only an actions whose nearest enclosing rune carries the prominence, asserted with a card holding actions inside a display hero, which keeps default buttons
  • The composed hero's buttons match the plugin hero's in size, with no hero.css
  • The plugin hero is unchanged; replacing it is a later step, taken once the comparison is reviewed

Blocked by

  • WORK-663
  • WORK-664
  • WORK-654: actions and the hero fixture (v0.43.0)
  • WORK-656: the eyebrow pill in the sections dimension (v0.43.0)

References

  • SPEC-160: D7.
  • SPEC-145: D31–D34.