figspec

Unofficial static Figma frame/file viewer available as HTML CustomElement

refactor: Use single customElement for preview Use only <figspec-viewer> instead of with <figma-viewer-guide>. This reduces maintenance costs and makes modifying the codebase more easy. I also changed the DOM structure to rendering guides and tooltips inside one single <svg> container for simplicity (and for performance, hopefully).

Changes

8 changed files (+399/-338)