Skip to content

npm-v0.4.7

Choose a tag to compare

@github-actions github-actions released this 26 May 17:48
· 245 commits to main since this release

Fixed

  • convert-html: SVG currentColor now resolves to the element's computed color. Vectorized SVG paths using fill/stroke="currentColor" (e.g. adaptive logos and icons) previously failed conversion with Unknown color: "currentColor". The extractor now captures each SVG's computed CSS color and substitutes it before vectorizing, so an icon renders light on a dark slide and dark on a light one.
  • convert-html: saved deck tweak state is replayed before extraction. The exported __bundler/template is the DOM before the design tool applies the user's saved tweaks (TWEAK_DEFAULTS). These are now replayed — quoteStyle, dividerBg, .method-icon visibility, and the --t-icon-size / --t-icon-scale / --t-kf-num-size vars — so the rendered deck matches the design. Fixes a phantom box drawn around quote callouts when quoteStyle: "top" was set.
  • convert-html: hard-break labels that overflow their column now wrap. A text leaf containing a <br> was always marked noWrap; when a segment between breaks was wider than its (e.g. fixed-width) column it overflowed into adjacent content. noWrap is now kept only when each authored line fits — otherwise the text reflows within its measured width.
npm install -g openfig-cli