v0.25.1
Released June 24, 2026 · All releases
Changes
- Fix diagram rune silently failing when theme colors are non-hex. Mermaid only accepts hex colors, but
--rf-color-*tokens defined asoklch(...),color-mix(...), named colors, or nestedvar()reached it unconverted. The<rf-diagram>element now resolves each token to hex at render time via the browser's own color engine before initializing mermaid. - Fix steps rune forcing
display: blockon every<strong>. The title rule was scoped to.rf-step strong, which caught all inline bold in step body text and broke it onto its own line. It now targets only the leading title bold (.rf-step__content > p:first-child > strong:first-child), so inline bold renders inline. - Fix mobile docs layout where the secondary toolbar covered the top of the open side-nav panel, hiding its first link. The nav panel's
topoverride had the same specificity as the base.rf-mobile-panelrule and lost on import order, so the panel docked under the site header instead of the toolbar. The override is now a two-class selector that wins regardless of order, and the toolbar is pinned to a known height the panel offsets against exactly.