j3w1/theme implementation brief — editor-search theme: j3w1-theme 1.1.0 profile: default sourceDigest: sha256-C+iD5Q7l0XPU/boMj003wPbPLBOq3C3ZM7s4OfzJ6mc= pin: https://raw.githubusercontent.com/j3w1/theme/v1.1.0/exports/components/editor-search.json spec: spec/components/editor-search.md site: https://j3w1.github.io/theme/reference/#c-editor-search maturity: stable priority: R2 Summary: Literal search and match navigation over escaped read-only source text. Use the pinned approved default profile. Pending roles in that profile use-and-report their decision IDs; this does not approve them. Proposed profiles are preview-only and blocked for delivery. Heritage profiles are historical-only. Deprecated or heritage roles are blocked for new approved-profile mappings. Consume roles within their documented scope, never primitives. Release numbering does not approve profiles or tokens. Tokens (resolved): root.bg #100c0c ({color.surface.default}) use root.text #e99499 ({color.text.default}) use root.border #a3676b ({color.border.control}) use-and-report (D-007) heading.text #ffa2a7 ({color.text.bright}) use secondary.text #bd787d ({color.text.muted}) use control.bg #000000 ({color.surface.input}) use control.focus #e53935 ({color.interaction.focus.ring}) use dependency.role-border-width-default 1px ({border.width.default}) use dependency.role-color-code-search-current-bg #ffa2a7 ({color.code.search-current-bg}) use dependency.role-color-code-search-current-text #0c0909 ({color.code.search-current-text}) use dependency.role-color-code-search-match-bg #630f0d ({color.code.search-match-bg}) use dependency.role-color-interaction-focus-ring-container #ffa2a7 ({color.interaction.focus.ring-container}) use dependency.role-color-surface-code #000000 ({color.surface.code}) use dependency.role-density-comfortable-control-height 32px ({density.comfortable.control-height}) use dependency.role-density-compact-control-height 24px ({density.compact.control-height}) use dependency.role-radius-none 0px ({radius.none}) use dependency.role-space-12 12px ({space.12}) use dependency.role-space-2 2px ({space.2}) use dependency.role-space-8 8px ({space.8}) use State dependency disclosures: D-007 States: default, filled, no-results, focus-visible default: Plain escaped source. [Readable preformatted text.] filled: Match fill; current match has its own marker. [Exact current and total counts.] no-results: No highlighted matches. [Explicit zero-results status.] focus-visible: Dashed control ring. [Native keyboard focus.] Keyboard: Tab / Shift+Tab: Reach query and match navigation. Enter / Shift+Enter: Move to next or previous match. Escape: Clear the query and retain focus. ARIA: Native search input, buttons, pre and mark Responsive: Wrap labels and actions without changing source order. Use logical spacing in RTL. Preserve native target sizes at both densities; only bounded data regions may scroll horizontally. Portability: Find literal text in a read-only code sample. Search, previous and next expose exact match counts and the current match. The component does not execute regexes, mutate source text or provide a code editor backend. native: Use equivalent native semantics and approved roles; record any unsupported behavior as a mapping deviation. Rules: use only these values; no invented colours; radius 0; borders 1px (2px emphasis); focus is a 1px dashed ring, selection is a fill; do not restyle unrelated elements; report deviations per agents/consume.md; record theme.lock.json at the pinned revision.