@treasure-ai/treasure-deck 2026.10.10 → 2026.10.12
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/build.d.ts +53 -2
- package/dist/build.js +92 -10
- package/dist/build.js.map +1 -1
- package/dist/check.d.ts +1 -1
- package/dist/check.js +2 -1
- package/dist/check.js.map +1 -1
- package/dist/cli.js +40 -5
- package/dist/cli.js.map +1 -1
- package/dist/dev.js +1 -5
- package/dist/dev.js.map +1 -1
- package/dist/import.d.ts +36 -0
- package/dist/import.js +177 -0
- package/dist/import.js.map +1 -0
- package/dist/parse.d.ts +4 -1
- package/dist/parse.js +32 -3
- package/dist/parse.js.map +1 -1
- package/dist/render.d.ts +7 -1
- package/dist/render.js +70 -1
- package/dist/render.js.map +1 -1
- package/dist/themecheck.d.ts +3 -2
- package/dist/themecheck.js +3 -2
- package/dist/themecheck.js.map +1 -1
- package/dist/vendor.d.ts +4 -3
- package/dist/vendor.js +13 -7
- package/dist/vendor.js.map +1 -1
- package/docs/commands.md +20 -2
- package/docs/syntax.md +30 -0
- package/docs/themes.md +3 -3
- package/package.json +3 -3
- package/runtime/base.css +21 -0
- package/runtime/embed.js +1 -0
- package/runtime/runtime.js +99 -0
- package/skills/treasure-deck/SKILL.md +8 -1
- package/templates/specimen/specimen.md +12 -0
- package/themes/treasure-ai-2026/theme.css +34 -42
- package/themes/treasure-ai-2026/theme.yaml +1 -1
- package/vendor/lucide/icon-nodes.json +1 -0
package/runtime/runtime.js
CHANGED
|
@@ -21,6 +21,8 @@
|
|
|
21
21
|
// written from them where the page has no URL to reopen (Apps Script's sandboxed iframe).
|
|
22
22
|
var pristineDeck = deck.outerHTML;
|
|
23
23
|
var runtimeSource = document.currentScript ? document.currentScript.textContent : '';
|
|
24
|
+
// The deck's source, which `deck build` puts in the page (unless --no-source), for the share panel's download.
|
|
25
|
+
var deckSource = document.getElementById('deck-source');
|
|
24
26
|
|
|
25
27
|
// Host adapter: Apps Script web apps run in a sandboxed iframe, so the top-level URL
|
|
26
28
|
// hash is reachable only through google.script.history / google.script.url.
|
|
@@ -65,6 +67,7 @@
|
|
|
65
67
|
'<button data-act="embed">Copy embed snippet</button>' +
|
|
66
68
|
'<button data-act="print">Print / save as PDF</button>' +
|
|
67
69
|
'<button data-act="presenter">Open presenter window</button>' +
|
|
70
|
+
(deckSource ? '<button data-act="download">Download source (.zip)</button>' : '') +
|
|
68
71
|
'<div class="deck-status"></div>');
|
|
69
72
|
share.hidden = true;
|
|
70
73
|
var notesPanel = el('div', 'deck-panel deck-notes-panel');
|
|
@@ -224,6 +227,101 @@
|
|
|
224
227
|
ta.remove();
|
|
225
228
|
}
|
|
226
229
|
|
|
230
|
+
// The deck folder as a .zip: the Markdown and theme files from the page's source, and its images and theme assets
|
|
231
|
+
// from the page's data: URIs, found by the hash the source lists them by. Under Apps Script, the one copy of a deck
|
|
232
|
+
// a viewer can reach.
|
|
233
|
+
function downloadDeck() {
|
|
234
|
+
var bundle = JSON.parse(deckSource.textContent);
|
|
235
|
+
var folder = bundle.deck.replace(/\.md$/, '');
|
|
236
|
+
var enc = new TextEncoder(), entries = [], missing = [];
|
|
237
|
+
function add(rel, data) {
|
|
238
|
+
if (/^\//.test(rel) || /(^|\/)\.\.(\/|$)/.test(rel)) { missing.push(rel); return; }
|
|
239
|
+
entries.push({ name: folder + '/' + rel, data: typeof data === 'string' ? enc.encode(data) : data });
|
|
240
|
+
}
|
|
241
|
+
function addInlined(media, base, found) {
|
|
242
|
+
Object.keys(media || {}).forEach(function (rel) {
|
|
243
|
+
var bytes = found[media[rel].sha256] || (media[rel].data && bytesOf(media[rel].data));
|
|
244
|
+
if (bytes) add(base + rel, bytes); else missing.push(base + rel);
|
|
245
|
+
});
|
|
246
|
+
}
|
|
247
|
+
status('Preparing the download…');
|
|
248
|
+
// In the chain, so an error hashing (no crypto.subtle off https and localhost) reaches the catch below.
|
|
249
|
+
Promise.resolve().then(inlinedFiles).then(function (found) {
|
|
250
|
+
Object.keys(bundle.files).forEach(function (rel) { add(rel, bundle.files[rel]); });
|
|
251
|
+
addInlined(bundle.media, '', found);
|
|
252
|
+
if (bundle.themeFolder) {
|
|
253
|
+
var base = bundle.theme.replace(/^\.\//, '').replace(/\/?$/, '/');
|
|
254
|
+
Object.keys(bundle.themeFolder.files).forEach(function (rel) { add(base + rel, bundle.themeFolder.files[rel]); });
|
|
255
|
+
addInlined(bundle.themeFolder.media, base, found);
|
|
256
|
+
}
|
|
257
|
+
// Videos kept out of the page (--media-dir) aren't in it to save.
|
|
258
|
+
missing = missing.concat(Object.keys(bundle.linked || {}));
|
|
259
|
+
var name = folder + '.zip';
|
|
260
|
+
var url = URL.createObjectURL(zip(entries));
|
|
261
|
+
var a = el('a');
|
|
262
|
+
a.href = url;
|
|
263
|
+
a.download = name;
|
|
264
|
+
document.body.appendChild(a);
|
|
265
|
+
a.click();
|
|
266
|
+
a.remove();
|
|
267
|
+
setTimeout(function () { URL.revokeObjectURL(url); }, 60000);
|
|
268
|
+
status('Saved ' + name + (missing.length ? ', without ' + missing.join(', ') : '') + '. Unzip it and edit it with: deck editor ' + folder);
|
|
269
|
+
}).catch(function (e) { status('The download failed: ' + e.message); });
|
|
270
|
+
}
|
|
271
|
+
// Each data: URI's bytes in the page as built (the deck, and the stylesheets with the theme's assets), by SHA-256.
|
|
272
|
+
function inlinedFiles() {
|
|
273
|
+
var text = pristineDeck + Array.prototype.map.call(document.querySelectorAll('style'), function (e) { return e.textContent; }).join('\n');
|
|
274
|
+
var re = /data:[\w.+-]+\/[\w.+-]+;base64,([A-Za-z0-9+\/]+=*)/g, m, seen = {}, found = {}, work = [];
|
|
275
|
+
while ((m = re.exec(text))) {
|
|
276
|
+
if (seen[m[1]]) continue;
|
|
277
|
+
seen[m[1]] = true;
|
|
278
|
+
work.push(bytesOf(m[1]));
|
|
279
|
+
}
|
|
280
|
+
return Promise.all(work.map(function (bytes) {
|
|
281
|
+
return crypto.subtle.digest('SHA-256', bytes).then(function (h) {
|
|
282
|
+
found[Array.prototype.map.call(new Uint8Array(h), function (b) { return (b < 16 ? '0' : '') + b.toString(16); }).join('')] = bytes;
|
|
283
|
+
});
|
|
284
|
+
})).then(function () { return found; });
|
|
285
|
+
}
|
|
286
|
+
function bytesOf(base64) {
|
|
287
|
+
var bin = atob(base64), bytes = new Uint8Array(bin.length);
|
|
288
|
+
for (var i = 0; i < bin.length; i++) bytes[i] = bin.charCodeAt(i);
|
|
289
|
+
return bytes;
|
|
290
|
+
}
|
|
291
|
+
var CRC_TABLE = (function () {
|
|
292
|
+
var t = [];
|
|
293
|
+
for (var n = 0; n < 256; n++) {
|
|
294
|
+
var c = n;
|
|
295
|
+
for (var k = 0; k < 8; k++) c = c & 1 ? 0xedb88320 ^ (c >>> 1) : c >>> 1;
|
|
296
|
+
t[n] = c >>> 0;
|
|
297
|
+
}
|
|
298
|
+
return t;
|
|
299
|
+
})();
|
|
300
|
+
function crc32(bytes) {
|
|
301
|
+
var c = -1;
|
|
302
|
+
for (var i = 0; i < bytes.length; i++) c = CRC_TABLE[(c ^ bytes[i]) & 255] ^ (c >>> 8);
|
|
303
|
+
return (c ^ -1) >>> 0;
|
|
304
|
+
}
|
|
305
|
+
// A zip of stored (uncompressed) entries, {name, data}: a deck's images are compressed already and its text is small.
|
|
306
|
+
function zip(entries) {
|
|
307
|
+
var enc = new TextEncoder(), parts = [], central = [], offset = 0, size = 0;
|
|
308
|
+
function u16(v) { return [v & 255, (v >>> 8) & 255]; }
|
|
309
|
+
function u32(v) { return u16(v & 0xffff).concat(u16(v >>> 16)); }
|
|
310
|
+
entries.forEach(function (e) {
|
|
311
|
+
var name = enc.encode(e.name);
|
|
312
|
+
// Version 2.0, UTF-8 names, stored, dated 1980-01-01, the CRC and sizes, the name's length, no extra field.
|
|
313
|
+
var fields = [].concat(u16(20), u16(0x0800), u16(0), u16(0), u16(0x21), u32(crc32(e.data)), u32(e.data.length), u32(e.data.length), u16(name.length), u16(0));
|
|
314
|
+
var local = new Uint8Array(u32(0x04034b50).concat(fields));
|
|
315
|
+
var entry = new Uint8Array(u32(0x02014b50).concat(u16(20), fields, u16(0), u16(0), u16(0), u32(0), u32(offset)));
|
|
316
|
+
parts.push(local, name, e.data);
|
|
317
|
+
central.push(entry, name);
|
|
318
|
+
offset += local.length + name.length + e.data.length;
|
|
319
|
+
size += entry.length + name.length;
|
|
320
|
+
});
|
|
321
|
+
var end = new Uint8Array(u32(0x06054b50).concat(u16(0), u16(0), u16(entries.length), u16(entries.length), u32(size), u32(offset), u16(0)));
|
|
322
|
+
return new Blob(parts.concat(central, [end]), { type: 'application/zip' });
|
|
323
|
+
}
|
|
324
|
+
|
|
227
325
|
share.addEventListener('click', function (e) {
|
|
228
326
|
var act = e.target && e.target.getAttribute('data-act');
|
|
229
327
|
var base = host.baseUrl();
|
|
@@ -233,6 +331,7 @@
|
|
|
233
331
|
else if (act === 'embed') copy(base && '<iframe src="' + base + '" width="960" height="540" frameborder="0" allowfullscreen></iframe>', 'Embed snippet');
|
|
234
332
|
else if (act === 'print') { share.hidden = true; window.print(); }
|
|
235
333
|
else if (act === 'presenter') { share.hidden = true; openPresenter(); }
|
|
334
|
+
else if (act === 'download') { used('download'); downloadDeck(); }
|
|
236
335
|
});
|
|
237
336
|
|
|
238
337
|
var typed = '';
|
|
@@ -133,8 +133,11 @@ Reach for `nowrap` on short label, number, and unit columns that break awkwardly
|
|
|
133
133
|
|
|
134
134
|
### Classes
|
|
135
135
|
|
|
136
|
-
- Blocks: `{.lead}` (the key sentence, 1.2× body size), `{.muted}`, `{.small}` (sources, footnotes), `{.center}` (horizontal centering only), `{.subtitle}` and `{.meta}` (title slides), `{.callout}`, `{.note}`, `{.warn}` (boxed asides).
|
|
136
|
+
- Blocks: `{.lead}` (the key sentence, 1.2× body size), `{.muted}`, `{.small}` (sources, footnotes), `{.center}` (horizontal centering only), `{.subtitle}` and `{.meta}` (title slides; under a columns slide's heading, a `{.subtitle}` spans all columns), `{.callout}`, `{.note}`, `{.warn}` (boxed asides).
|
|
137
137
|
- Spans: `[text]{.hl}`, `[new]{.badge}`, `[old]{.del}`.
|
|
138
|
+
- `{.steps}` under a numbered list draws it as a row of chevrons, a progress bar for a procedure; bold the current step (`3. **Folder**`). Repeat it on each step's slide with the next step bold.
|
|
139
|
+
- `:name:` is a [Lucide](https://lucide.dev/icons/) icon in the text's color, e.g. `### :shield-check: Read-only`. A card heading or a list item that opens with an icon reads best (in a list it replaces the bullet). Put a space or punctuation before it; a name Lucide doesn't have stays as text, so check the slide.
|
|
140
|
+
- A trailing `\` breaks a line inside a paragraph or heading (raw HTML such as `<br>` is off).
|
|
138
141
|
- Any other class needs a `theme.css` next to the deck, or it is a build error.
|
|
139
142
|
- A block's braces go right after its text. After an inline element such as `**bold**`, put a space first: `Some **bold** {.muted}`.
|
|
140
143
|
- `*emphasis*` in a heading becomes the theme's accent style.
|
|
@@ -316,6 +319,10 @@ Treasure Work publishes a built deck as an Apps Script web page through the `sha
|
|
|
316
319
|
4. Give the user the URL. Keep the artifact id from the result. To update the same page after edits, rebuild and pass that id as `artifact_id`; without it, the publish creates a second page.
|
|
317
320
|
5. Publishing needs the user's Google account connected in Settings ▸ Connectors. If the tool reports that it is missing, tell the user to connect it.
|
|
318
321
|
|
|
322
|
+
A built page carries the deck's source, so whoever can open it can get the deck folder back (share panel ▸ Download source, or `deck import`), hidden slides included. Build with `--no-source` when the user wants the page shared but not its source.
|
|
323
|
+
|
|
324
|
+
To start from a deck someone shared, run `deck import <page.html | url> [dir]` and edit the folder it writes. For an Apps Script deck that isn't public, it needs the user's Google sign-in (`gcloud auth login --enable-gdrive-access`); otherwise have the user download the `.zip` from the deck's share panel.
|
|
325
|
+
|
|
319
326
|
Don't publish the deck `.md` as a `note`: it would appear as a plain document, not slides. Don't use `mechanism: "drive"` for a deck either, since Drive doesn't serve the HTML as a page. A published page is a snapshot, so rebuild and republish after each edit.
|
|
320
327
|
|
|
321
328
|
## When the user wants a different look
|
|
@@ -48,6 +48,18 @@ A note with a side rule.{.note}
|
|
|
48
48
|
|
|
49
49
|
A warning about a pitfall.{.warn}
|
|
50
50
|
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
# Steps and icons
|
|
54
|
+
|
|
55
|
+
1. Draft
|
|
56
|
+
2. **Review**
|
|
57
|
+
3. Ship
|
|
58
|
+
{.steps}
|
|
59
|
+
|
|
60
|
+
- :shield-check: A list item that opens with an icon
|
|
61
|
+
- :rocket: Another, with the icon in place of its bullet
|
|
62
|
+
|
|
51
63
|
--- columns 1:1
|
|
52
64
|
|
|
53
65
|
# Columns and cards
|
|
@@ -6,9 +6,10 @@
|
|
|
6
6
|
* slides white content slides with black titles, purple dots and arrow sub-bullets, a pastel wash at lower
|
|
7
7
|
* right under frosted gem-facet slabs, fine grain, and only the small gem at bottom left (the template
|
|
8
8
|
* has no footer band);
|
|
9
|
-
* surfaces cards edged with a purple → blue hairline, callouts and tables lifted by soft
|
|
10
|
-
*
|
|
11
|
-
*
|
|
9
|
+
* surfaces cards edged with a purple → blue hairline, callouts filled purple → blue, notes and tables lifted by soft
|
|
10
|
+
* indigo shadows;
|
|
11
|
+
* gradients title and section slides share the template's light pastel sweep rising from the lower right under
|
|
12
|
+
* the frosted gem-facet slabs, with black type;
|
|
12
13
|
* dark `mode: dark` is the brand hub's deep indigo (hsl(238 100% 8%)) with the washes as glows.
|
|
13
14
|
*/
|
|
14
15
|
.deck[data-theme="treasure-ai-2026"] {
|
|
@@ -27,31 +28,7 @@
|
|
|
27
28
|
header takes 4px of the top padding instead (see .slide-header), and titles sit where the default puts them. */
|
|
28
29
|
--deck-pad-y: 32px;
|
|
29
30
|
|
|
30
|
-
/*
|
|
31
|
-
--tx-sunset:
|
|
32
|
-
radial-gradient(42% 60% at 22% 4%, rgba(247, 190, 222, .85), transparent 70%),
|
|
33
|
-
radial-gradient(55% 75% at 78% 46%, rgba(251, 211, 172, .95), transparent 72%),
|
|
34
|
-
radial-gradient(48% 52% at 38% 108%, rgba(244, 172, 210, .8), transparent 70%),
|
|
35
|
-
radial-gradient(30% 60% at -4% 62%, rgba(226, 204, 248, .8), transparent 70%),
|
|
36
|
-
#fdf4ef;
|
|
37
|
-
--tx-rainbow:
|
|
38
|
-
radial-gradient(50% 62% at 32% 26%, rgba(251, 214, 186, .95), transparent 70%),
|
|
39
|
-
radial-gradient(40% 55% at 12% 100%, rgba(245, 172, 212, .9), transparent 70%),
|
|
40
|
-
radial-gradient(50% 75% at 104% 40%, rgba(170, 196, 255, .95), transparent 70%),
|
|
41
|
-
radial-gradient(42% 50% at 76% 104%, rgba(214, 190, 252, .9), transparent 70%),
|
|
42
|
-
#fbf4f8;
|
|
43
|
-
--tx-dusk:
|
|
44
|
-
radial-gradient(48% 70% at 12% 30%, rgba(214, 186, 248, .95), transparent 72%),
|
|
45
|
-
radial-gradient(52% 62% at 88% 98%, rgba(170, 180, 255, .95), transparent 70%),
|
|
46
|
-
radial-gradient(42% 50% at 92% 6%, rgba(200, 214, 255, .9), transparent 70%),
|
|
47
|
-
radial-gradient(40% 46% at 6% 104%, rgba(196, 160, 244, .85), transparent 70%),
|
|
48
|
-
#f2effd;
|
|
49
|
-
--tx-lavender:
|
|
50
|
-
radial-gradient(42% 62% at 80% 56%, rgba(246, 176, 220, .9), transparent 70%),
|
|
51
|
-
radial-gradient(46% 64% at 8% 72%, rgba(214, 192, 248, .9), transparent 70%),
|
|
52
|
-
radial-gradient(50% 40% at 50% 108%, rgba(222, 200, 250, .85), transparent 70%),
|
|
53
|
-
#fbf6fd;
|
|
54
|
-
/* Title: white upper left, the brand sweep (peach → pink → violet → blue) rising from the lower right. */
|
|
31
|
+
/* Title and section: white upper left, the brand sweep (peach → pink → violet → blue) rising from the lower right. */
|
|
55
32
|
--tx-title:
|
|
56
33
|
radial-gradient(40% 52% at 50% 96%, rgba(252, 206, 160, .9), transparent 70%),
|
|
57
34
|
radial-gradient(38% 56% at 70% 92%, rgba(244, 140, 200, .7), transparent 70%),
|
|
@@ -103,12 +80,13 @@
|
|
|
103
80
|
}
|
|
104
81
|
|
|
105
82
|
/* Frosted gem-facet slabs over the wash at right, as in the template's backgrounds (white on white elsewhere, so they
|
|
106
|
-
only show where the wash is), and fine grain so the washes read as a printed surface rather than a screen gradient.
|
|
83
|
+
only show where the wash is), and fine grain so the washes read as a printed surface rather than a screen gradient.
|
|
84
|
+
Title and section slides keep their brand sweep clear of the grain. */
|
|
107
85
|
.deck[data-theme="treasure-ai-2026"] .slide:not(.has-bg):not(.has-side)::before {
|
|
108
86
|
content: ''; position: absolute; inset: 0; pointer-events: none; opacity: var(--tx-glass);
|
|
109
87
|
background: url("assets/glass.svg") center / 100% 100% no-repeat;
|
|
110
88
|
}
|
|
111
|
-
.deck[data-theme="treasure-ai-2026"] .slide:not(.has-bg)::after {
|
|
89
|
+
.deck[data-theme="treasure-ai-2026"] .slide:not(.has-bg):not(.layout-title):not(.layout-section)::after {
|
|
112
90
|
content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: var(--tx-grain); mix-blend-mode: multiply;
|
|
113
91
|
background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .55 0 0 0 .45 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
|
|
114
92
|
}
|
|
@@ -200,7 +178,8 @@
|
|
|
200
178
|
display: inline-block; vertical-align: middle; padding: .2em .7em; border-radius: 999px;
|
|
201
179
|
font-family: var(--deck-font-display); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--tx-blue);
|
|
202
180
|
}
|
|
203
|
-
/*
|
|
181
|
+
/* Notes and warnings: a lavender (or coral) wash fading to the card color, a gradient side rule, and a soft lift. A callout
|
|
182
|
+
is the key point, filled solid purple → blue with white type (the template's highlighted box). */
|
|
204
183
|
.deck[data-theme="treasure-ai-2026"] .slide :is(.callout, .note, .warn) {
|
|
205
184
|
position: relative; padding: .7em 1.1em .7em 1.25em; border-radius: 12px;
|
|
206
185
|
background: linear-gradient(100deg, var(--tx-tint), color-mix(in oklab, var(--tx-tint) 35%, var(--deck-card)));
|
|
@@ -215,8 +194,15 @@
|
|
|
215
194
|
box-shadow: 0 0 0 1px color-mix(in oklab, #f15c60 18%, transparent), 0 12px 28px -22px var(--tx-shadow);
|
|
216
195
|
}
|
|
217
196
|
.deck[data-theme="treasure-ai-2026"] .slide .warn::before { background: linear-gradient(#f15c60, #f69068); }
|
|
197
|
+
.deck[data-theme="treasure-ai-2026"] .slide .callout {
|
|
198
|
+
padding-left: 1.1em; color: #fff; background: linear-gradient(100deg, var(--tx-purple-text), var(--tx-blue));
|
|
199
|
+
box-shadow: 0 14px 30px -18px color-mix(in oklab, var(--tx-blue) 70%, transparent);
|
|
200
|
+
}
|
|
201
|
+
.deck[data-theme="treasure-ai-2026"] .slide .callout::before { content: none; }
|
|
202
|
+
.deck[data-theme="treasure-ai-2026"] .slide .callout :is(strong, a, code, .icon) { color: inherit; }
|
|
203
|
+
.deck[data-theme="treasure-ai-2026"] .slide .callout code { background: rgba(255, 255, 255, .18); }
|
|
218
204
|
|
|
219
|
-
/* Cards (a column opening with ###): the template's boxed columns, a thin purple rounded border and a
|
|
205
|
+
/* Cards (a column opening with ###): the template's boxed columns, a thin purple rounded border and a purple title. */
|
|
220
206
|
.deck[data-theme="treasure-ai-2026"] .layout-columns .col:has(> h3:first-child) {
|
|
221
207
|
padding: 20px 22px 14px; border-radius: 20px; border: 1.5px solid transparent;
|
|
222
208
|
background:
|
|
@@ -226,16 +212,22 @@
|
|
|
226
212
|
box-shadow: 0 20px 40px -30px var(--tx-shadow);
|
|
227
213
|
}
|
|
228
214
|
.deck[data-theme="treasure-ai-2026"] .layout-columns .col > h3:first-child {
|
|
229
|
-
margin: 0 0 .
|
|
215
|
+
margin: 0 0 .4em; font-size: 20px; font-weight: 700; letter-spacing: -.005em; line-height: 1.3; color: var(--tx-sub);
|
|
216
|
+
}
|
|
217
|
+
.deck[data-theme="treasure-ai-2026"] .layout-columns .col:has(> h3:first-child) > :not(h3:first-child) { font-size: .86em; }
|
|
218
|
+
/* A column (or card) opening with ####: a purple → blue header bar with a white label, as in the template's tables. */
|
|
219
|
+
.deck[data-theme="treasure-ai-2026"] .slide .col > h4:first-child {
|
|
220
|
+
margin: 0 0 .7em; padding: .4em 1em; border-radius: 6px; text-align: center; font-family: var(--deck-font-display); font-size: 16px; font-weight: 700;
|
|
221
|
+
color: #fff; background: linear-gradient(90deg, var(--tx-purple-text), var(--tx-blue));
|
|
230
222
|
}
|
|
223
|
+
.deck[data-theme="treasure-ai-2026"] .slide .col > h4:first-child > .icon { color: inherit; }
|
|
224
|
+
|
|
225
|
+
/* Steps: lavender chevrons; the current one filled purple → blue. */
|
|
226
|
+
.deck[data-theme="treasure-ai-2026"] .slide ol.steps > li { font-family: var(--deck-font-display); font-weight: 600; background: color-mix(in oklab, var(--tx-tint) 80%, var(--tx-purple) 8%); }
|
|
227
|
+
.deck[data-theme="treasure-ai-2026"] .slide ol.steps > li:has(> strong) { color: #fff; font-weight: 700; background: linear-gradient(90deg, var(--tx-purple-text), var(--tx-blue)); }
|
|
231
228
|
|
|
232
229
|
/* Title and section slides: pastel washes with black type. Sections cycle the four gradients through section 16; later ones are Lavender. */
|
|
233
|
-
.deck[data-theme="treasure-ai-2026"] :is(.layout-title, .layout-section):not(.has-bg) { background: var(--tx-
|
|
234
|
-
.deck[data-theme="treasure-ai-2026"] .layout-title { --tx-wash: var(--tx-title); }
|
|
235
|
-
.deck[data-theme="treasure-ai-2026"] .layout-section { --tx-wash: var(--tx-lavender); }
|
|
236
|
-
.deck[data-theme="treasure-ai-2026"] .layout-section:is([data-section="01"], [data-section="05"], [data-section="09"], [data-section="13"]) { --tx-wash: var(--tx-rainbow); }
|
|
237
|
-
.deck[data-theme="treasure-ai-2026"] .layout-section:is([data-section="02"], [data-section="06"], [data-section="10"], [data-section="14"]) { --tx-wash: var(--tx-dusk); }
|
|
238
|
-
.deck[data-theme="treasure-ai-2026"] .layout-section:is([data-section="04"], [data-section="08"], [data-section="12"], [data-section="16"]) { --tx-wash: var(--tx-sunset); }
|
|
230
|
+
.deck[data-theme="treasure-ai-2026"] :is(.layout-title, .layout-section):not(.has-bg) { background: var(--tx-title); }
|
|
239
231
|
.deck[data-theme="treasure-ai-2026"] .layout-title:not(.has-bg) .slide-body { padding: 120px 360px 110px 88px; }
|
|
240
232
|
.deck[data-theme="treasure-ai-2026"] .layout-section:not(.has-bg) .slide-body { padding: 40px 200px 100px 88px; }
|
|
241
233
|
.deck[data-theme="treasure-ai-2026"] :is(.layout-title, .layout-section) :is(h1, h2) { font-weight: 800; letter-spacing: -.025em; line-height: 1.08; }
|
|
@@ -249,15 +241,15 @@
|
|
|
249
241
|
}
|
|
250
242
|
.deck[data-theme="treasure-ai-2026"][data-mode="dark"] .layout-section:not([data-mode="light"]) .section-num,
|
|
251
243
|
.deck[data-theme="treasure-ai-2026"] .layout-section[data-mode="dark"] .section-num { background-image: linear-gradient(135deg, #e3a0ee, #b392ff 40%, #9396ff); }
|
|
252
|
-
/* The title and section
|
|
253
|
-
.deck[data-theme="treasure-ai-2026"] :is(.layout-title, .layout-section) { --tx-glass:
|
|
244
|
+
/* The title and section slabs stay light enough that the brand sweep shows through. */
|
|
245
|
+
.deck[data-theme="treasure-ai-2026"] :is(.layout-title, .layout-section) { --tx-glass: .75; }
|
|
254
246
|
/* The title carries the full logo at top left. */
|
|
255
247
|
.deck[data-theme="treasure-ai-2026"] .layout-title:not(.has-bg):not(.has-side) .slide-frame::after {
|
|
256
248
|
content: ''; position: absolute; left: 88px; top: 52px; width: 190px; height: 26px; pointer-events: none;
|
|
257
249
|
background: var(--tx-logo) left center / contain no-repeat;
|
|
258
250
|
}
|
|
259
251
|
.deck[data-theme="treasure-ai-2026"][data-mode="dark"] :is(.layout-title, .layout-section):not([data-mode="light"]),
|
|
260
|
-
.deck[data-theme="treasure-ai-2026"] :is(.layout-title, .layout-section)[data-mode="dark"] { --tx-glass: .
|
|
252
|
+
.deck[data-theme="treasure-ai-2026"] :is(.layout-title, .layout-section)[data-mode="dark"] { --tx-glass: .18; }
|
|
261
253
|
|
|
262
254
|
/* Dark title and section slides: deep indigo with the washes' hues as glows, white type. */
|
|
263
255
|
.deck[data-theme="treasure-ai-2026"][data-mode="dark"] :is(.layout-title, .layout-section):not([data-mode="light"]):not(.has-bg),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
name: treasure-ai-2026
|
|
2
|
-
description: Treasure AI 2026 brand — white slides with Manrope headlines, the template's pastel
|
|
2
|
+
description: Treasure AI 2026 brand — white slides with Manrope headlines, the template's pastel brand sweep, and the #494FFF / #8753FF palette
|
|
3
3
|
default_mode: light
|
|
4
4
|
fonts:
|
|
5
5
|
- "Manrope:wght@500;600;700;800"
|