@elixpo/lixsketch 5.5.0 → 5.5.2

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.
@@ -271,9 +271,9 @@ var SketchEngine = class {
271
271
  if (selection.multiSelection) window.multiSelection = selection.multiSelection;
272
272
  if (selection.clearAllSelections) window.clearAllSelections = selection.clearAllSelections;
273
273
  if (copyPaste.initCopyPaste) copyPaste.initCopyPaste();
274
- const aiRenderer = await import("./AIRenderer-M4LMJ66J.js");
274
+ const aiRenderer = await import("./AIRenderer-S2SKFJKT.js");
275
275
  if (aiRenderer.initAIRenderer) aiRenderer.initAIRenderer();
276
- const graphEngine = await import("./GraphEngine-QE5B2PMR.js");
276
+ const graphEngine = await import("./GraphEngine-IHRVGUGG.js");
277
277
  if (graphEngine.initGraphEngine) graphEngine.initGraphEngine();
278
278
  const sceneSerializer = await import("./SceneSerializer-4U4B24JM.js");
279
279
  if (sceneSerializer.initSceneSerializer) sceneSerializer.initSceneSerializer();
@@ -410,4 +410,4 @@ export {
410
410
  SketchEngine,
411
411
  SketchEngine_default as default
412
412
  };
413
- //# sourceMappingURL=SketchEngine-YA4RG3KX.js.map
413
+ //# sourceMappingURL=SketchEngine-4WSPTHZ3.js.map
@@ -427,7 +427,7 @@ function useSketchEngine(svgRef, ready = true) {
427
427
  setZoom: (zoom) => useSketchStore_default.setState({ zoom }),
428
428
  getState: () => useSketchStore_default.getState()
429
429
  };
430
- const { SketchEngine } = await import("./SketchEngine-YA4RG3KX.js");
430
+ const { SketchEngine } = await import("./SketchEngine-4WSPTHZ3.js");
431
431
  if (cancelled) return;
432
432
  const engine = new SketchEngine(svgRef.current);
433
433
  await engine.init();
@@ -881,13 +881,20 @@ function useTranslation() {
881
881
 
882
882
  // src/react/components/AppMenu.jsx
883
883
  import { Fragment as Fragment2, jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
884
- var CANVAS_BACKGROUNDS = [
884
+ var CANVAS_BACKGROUNDS_LIGHT = [
885
885
  { color: "#ffffff", label: "menu.canvasBg.white" },
886
886
  { color: "#faf9f5", label: "menu.canvasBg.cream" },
887
887
  { color: "#f5f3ed", label: "menu.canvasBg.paper" },
888
888
  { color: "#f0f5fb", label: "menu.canvasBg.skyTint" },
889
889
  { color: "#f0f5ef", label: "menu.canvasBg.sageTint" }
890
890
  ];
891
+ var CANVAS_BACKGROUNDS_DARK = [
892
+ { color: "#000000", label: "menu.canvasBg.black" },
893
+ { color: "#161718", label: "menu.canvasBg.darkGray" },
894
+ { color: "#13171C", label: "menu.canvasBg.blueBlack" },
895
+ { color: "#181605", label: "menu.canvasBg.darkYellow" },
896
+ { color: "#1B1615", label: "menu.canvasBg.darkBrown" }
897
+ ];
891
898
  function AppMenu() {
892
899
  const { t, language } = useTranslation();
893
900
  const LINKS = [
@@ -1318,7 +1325,7 @@ function AppMenu() {
1318
1325
  ] }),
1319
1326
  /* @__PURE__ */ jsxs4("div", { className: "px-3 py-2", children: [
1320
1327
  /* @__PURE__ */ jsx4("p", { className: "text-text-dim text-xs uppercase tracking-wider mb-2", children: t("menu.canvasBackground") }),
1321
- /* @__PURE__ */ jsx4("div", { className: "flex items-center gap-1.5", children: CANVAS_BACKGROUNDS.map((bg) => /* @__PURE__ */ jsx4(
1328
+ /* @__PURE__ */ jsx4("div", { className: "flex items-center gap-1.5", children: (theme === "dark" ? CANVAS_BACKGROUNDS_DARK : CANVAS_BACKGROUNDS_LIGHT).map((bg) => /* @__PURE__ */ jsx4(
1322
1329
  "button",
1323
1330
  {
1324
1331
  onClick: () => setCanvasBackground(bg.color),