Local Build debbefcb43 fix(pdf): use html2canvas onclone to inline all styles before render
Previous flattenColors approach failed because html2canvas reads CSS
rules from stylesheets, not computed styles. Now in the onclone callback:
1. Walk all elements, get computed styles from original doc
2. Set every property as inline style on cloned elements
3. Remove all <style> tags and <link rel=stylesheet> from clone
This ensures html2canvas never encounters raw color-mix() in stylesheets.
2026-08-13 21:01:55 +02:00
2026-07-29 16:37:23 +02:00
S
Description
Static portfolio site
288 MiB
0 Stars 1 Watchers 0 Forks
Languages
HTML 85.1%
JavaScript 10%
CSS 4.9%