WORK-367
ID:WORK-367Status:ready

substrate pattern attribute: engine enum + shared base gradient stylesheet

Add the substrate pattern attribute with a fixed engine-level enum and a shared, always-included base stylesheet of token-driven gradient recipes.

Priority:mediumComplexity:moderateMilestone:v0.20.0Source:SPEC-087
claude/mcp-server-verify-4lnxej View source

Criteria completion

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

Tracking started Jun 9 — check back for trends.

Branches 2
claude/mcp-server-verify-4lnxej current ready
claude/spec-087-surface-fills donemain done
History 1
  1. 1da59d6
    Created (ready)by bjornolofandersson

Acceptance Criteria

  • Pattern vocabulary is a fixed engine enum (dots|grid|lines|cross|checker|none), not a theme preset registry; none is the empty default.
  • substrate="dots" plus inline facets substrate-size|opacity|fill work standalone; substrate-fill selects inherit|inset.
  • Engine emits markers only (data-substrate, --substrate-*); a shared base stylesheet (always included, not per-theme) realises geometry via token-driven gradients, exposing only --substrate-* hooks; patterns track tint/inset colour.
  • Optional named recipes belong in refrakt.config.json (deferred until inline facets prove insufficient).

Approach

Engine emits markers; CSS draws, like data-method. SPEC-087 §1.

References

  • SPEC-087