@markdy/renderer-dom 1.4.19 → 1.4.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -7511,6 +7511,8 @@ function createDiagram(opts) {
|
|
|
7511
7511
|
const newTheme = typeof theme === "string" ? resolveTheme2(theme) : theme;
|
|
7512
7512
|
plan.theme = newTheme;
|
|
7513
7513
|
applyThemeVariables(container, newTheme);
|
|
7514
|
+
applyThemeVariables(viewport, newTheme);
|
|
7515
|
+
viewport.style.background = newTheme.canvas;
|
|
7514
7516
|
applyThemeToScene(scene, newTheme);
|
|
7515
7517
|
if (footer) {
|
|
7516
7518
|
applyThemeVariables(footer, newTheme);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markdy/renderer-dom",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.20",
|
|
4
4
|
"description": "Browser renderer for diagram-native animated MarkdyScript architecture diagrams, built on the Web Animations API.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@markdy/core": "^1.4.
|
|
47
|
+
"@markdy/core": "^1.4.20",
|
|
48
48
|
"html2canvas": "^1.4.1"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@markdy/stdlib-systems": "^1.4.
|
|
51
|
+
"@markdy/stdlib-systems": "^1.4.20",
|
|
52
52
|
"jsdom": "^29.1.1",
|
|
53
53
|
"tsup": "^8.5.1",
|
|
54
54
|
"typescript": "^5.9.3",
|