Skip to content

Commit 7d4e71d

Browse files
committed
feat(registry): make caption-highlight data-driven with automatic grouping
Replaces the hardcoded RAW_GROUPS index-pair array with hfMakeGroups, a real fitting/pause/punctuation-based grouper, and wires the component into the shared caption-data runtime (validate/gate/attach). Adds CSS brand hooks: .hl-word text color from --hf-caption-primary, .hl-word-bg gradient from --hf-caption-accent (second stop via color-mix()).
1 parent 392a9d2 commit 7d4e71d

1 file changed

Lines changed: 356 additions & 106 deletions

File tree

0 commit comments

Comments
 (0)