@treasure-ai/treasure-deck 2026.10.2 → 2026.10.3

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/runtime/embed.js +5 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@treasure-ai/treasure-deck",
3
- "version": "2026.10.2",
3
+ "version": "2026.10.3",
4
4
  "description": "Markdown presentations without <div> markup: four layouts, themes, and a single-file HTML output that publishes to Apps Script",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "homepage": "https://www.npmjs.com/package/@treasure-ai/treasure-deck",
package/runtime/embed.js CHANGED
@@ -29,10 +29,11 @@
29
29
  var style = document.createElement('style');
30
30
  style.textContent =
31
31
  // Editor colors, from the Treasure AI palette (themes/treasure-ai): indigo and periwinkle accents on cool neutrals,
32
- // light or dark with the system. Slide outlines use the deck's own accent.
33
- ':root{--ed-bg:#161a3d;--ed-bg-2:#232a5e;--ed-input:#0e1230;--ed-line:#2c3470;--ed-line-2:#3a4386;--ed-fg:#eef0ff;' +
34
- '--ed-fg-2:#cfd3f5;--ed-muted:#8b90c0;--ed-accent:#7878ff;--ed-accent-text:#aab0ff;--ed-on-accent:#0b0e26;--ed-danger:#c2415a;' +
35
- '--ed-shadow:rgba(4,6,30,.5);--ed-backdrop:#0b0e26;--ed-stub-line:rgba(170,176,255,.35);--ed-stub-bg:rgba(120,120,255,.06);--ed-thumb:rgba(170,176,255,.5)}' +
32
+ // light or dark with the system. Dark mode uses Treasure Work's dark grays, so the editor sits in its dock without a
33
+ // blue panel. Slide outlines use the deck's own accent.
34
+ ':root{--ed-bg:#2b2e36;--ed-bg-2:#363a43;--ed-input:#20242c;--ed-line:#3a3e47;--ed-line-2:#4a4f59;--ed-fg:#dce0e5;' +
35
+ '--ed-fg-2:#c0c6cd;--ed-muted:#8b95a1;--ed-accent:#7878ff;--ed-accent-text:#aab0ff;--ed-on-accent:#16181d;--ed-danger:#c2415a;' +
36
+ '--ed-shadow:rgba(0,0,0,.5);--ed-backdrop:#20242c;--ed-stub-line:rgba(170,176,255,.35);--ed-stub-bg:rgba(120,120,255,.06);--ed-thumb:rgba(170,176,255,.5)}' +
36
37
  '@media (prefers-color-scheme:light){:root{--ed-bg:#fff;--ed-bg-2:#f3f4fb;--ed-input:#f8f9fd;--ed-line:#e3e4f2;--ed-line-2:#cfd2ea;' +
37
38
  '--ed-fg:#1c1d33;--ed-fg-2:#3a3c5a;--ed-muted:#61637e;--ed-accent:#3240a4;--ed-accent-text:#3240a4;--ed-on-accent:#fff;' +
38
39
  '--ed-danger:#c2415a;--ed-shadow:rgba(30,36,110,.18);--ed-backdrop:#eceef8;--ed-stub-line:rgba(50,64,164,.35);--ed-stub-bg:rgba(50,64,164,.04);--ed-thumb:rgba(50,64,164,.4)}}' +