@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 CHANGED
@@ -37,7 +37,7 @@ import { parse, ParseError } from "@markdy/core";
37
37
  import type { DiagramAST } from "@markdy/core";
38
38
 
39
39
  const source = `
40
- scene "Request" theme=paper
40
+ scene theme=paper
41
41
  browser Web
42
42
  service API
43
43
  beat main:
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 ?? "Architecture Diagram";
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: "#d3dde9",
1728
+ border: "#cbd5e1",
1729
1729
  text: "#0f1c2e",
1730
- textMuted: "#5a6b80",
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: "#64748b",
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 "Architecture Evolution" theme=${afterAST.meta.theme || "paper"}`,
3582
+ `scene theme=${afterAST.meta.theme || "paper"}`,
3583
3583
  `layout ${afterAST.meta.direction || "LR"}`,
3584
3584
  ""
3585
3585
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markdy/core",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "Diagram-native MarkdyScript parser and compiler (auto-layout, edge routing, cue scheduling) — zero runtime dependencies.",
5
5
  "license": "MIT",
6
6
  "type": "module",