@markdy/core 1.0.9 → 1.0.10
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/README.md +1 -1
- package/dist/index.js +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -1658,7 +1658,7 @@ function compilePlan(ast, theme) {
|
|
|
1658
1658
|
...beats.map((b) => b.end),
|
|
1659
1659
|
1
|
|
1660
1660
|
);
|
|
1661
|
-
const title = ast.meta.title ?? "
|
|
1661
|
+
const title = ast.meta.title ?? "";
|
|
1662
1662
|
return {
|
|
1663
1663
|
meta: ast.meta,
|
|
1664
1664
|
theme,
|
|
@@ -1725,9 +1725,9 @@ var THEMES = {
|
|
|
1725
1725
|
canvas: "#f6f8fc",
|
|
1726
1726
|
surface: "#ffffff",
|
|
1727
1727
|
surfaceRaised: "#f0f4f9",
|
|
1728
|
-
border: "#
|
|
1728
|
+
border: "#cbd5e1",
|
|
1729
1729
|
text: "#0f1c2e",
|
|
1730
|
-
textMuted: "#
|
|
1730
|
+
textMuted: "#475569",
|
|
1731
1731
|
gridMinor: "rgba(15, 23, 42, 0.06)",
|
|
1732
1732
|
gridMajor: "rgba(15, 23, 42, 0.10)",
|
|
1733
1733
|
vignette: "rgba(226, 232, 240, 0.6)",
|
|
@@ -1788,7 +1788,7 @@ var THEMES = {
|
|
|
1788
1788
|
surfaceRaised: "#f8fafc",
|
|
1789
1789
|
border: "#e2e8f0",
|
|
1790
1790
|
text: "#0f172a",
|
|
1791
|
-
textMuted: "#
|
|
1791
|
+
textMuted: "#475569",
|
|
1792
1792
|
paper: "#fafafa",
|
|
1793
1793
|
ink: "#0f172a",
|
|
1794
1794
|
muted: "#6b7280",
|
|
@@ -3579,7 +3579,7 @@ function diffDiagramASTs(beforeAST, afterAST) {
|
|
|
3579
3579
|
summaryLines.push("");
|
|
3580
3580
|
}
|
|
3581
3581
|
const evolutionLines = [
|
|
3582
|
-
`scene
|
|
3582
|
+
`scene theme=${afterAST.meta.theme || "paper"}`,
|
|
3583
3583
|
`layout ${afterAST.meta.direction || "LR"}`,
|
|
3584
3584
|
""
|
|
3585
3585
|
];
|
package/package.json
CHANGED