@treasure-ai/treasure-deck 2026.10.10 → 2026.10.11

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.
@@ -1 +1 @@
1
- {"version":3,"file":"themecheck.js","sourceRoot":"","sources":["../src/themecheck.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAY,MAAM,aAAa,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE/C,+FAA+F;AAC/F,MAAM,CAAC,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,UAAU,EAAE,aAAa,CAAC,CAAC;AAe5E,0GAA0G;AAC1G,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,WAAW,EAAE,WAAW,EAAE,eAAe,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,eAAe,CAAC,CAAC;AAC3J,MAAM,YAAY,GAAG,IAAI,GAAG,CAAC,CAAC,WAAW,EAAE,WAAW,EAAE,eAAe,CAAC,CAAC,CAAC;AAC1E,wGAAwG;AACxG,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,iBAAiB,EAAE,aAAa,EAAE,WAAW,EAAE,iBAAiB,EAAE,eAAe,EAAE,aAAa,EAAE,aAAa,EAAE,kBAAkB;IACnI,WAAW,EAAE,aAAa,EAAE,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,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M,EAAE,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACvI,CAAC;AAED,yGAAyG;AACzG,MAAM,UAAU,kBAAkB,CAAC,KAAa,EAAE,CAAe;IAC/D,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;IAClI,OAAO,SAAS,KAAK,KAAK,CAAC,CAAC,IAAI,MAAM,CAAC,CAAC,QAAQ,KAAK,KAAK,GAAG,CAAC,CAAC,OAAO,EAAE,CAAC;AAC3E,CAAC"}
package/dist/vendor.d.ts CHANGED
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * Mermaid and lucide-static are devDependencies: installed, they take about 150 MB (Mermaid's sources and its
3
- * Node-only dependencies, every Lucide icon in five formats), while deck loads one Mermaid browser bundle and the
4
- * editor's toolbar icons. `pnpm build` copies those files into vendor/, which the package ships; a checkout that
5
- * hasn't been built reads them from node_modules.
3
+ * Node-only dependencies, every Lucide icon in five formats), while deck loads one Mermaid browser bundle, the
4
+ * editor's toolbar icons, and Lucide's icon outlines (one JSON file) for `:name:` icons on slides. `pnpm build` copies
5
+ * those files into vendor/, which the package ships; a checkout that hasn't been built reads them from node_modules.
6
+ * (The package root is found here rather than imported from build.ts, which imports render.ts, which imports this.)
6
7
  */
7
8
  export declare const VENDOR_DIR: string;
8
9
  /** The Lucide icons the editor's toolbar uses. */
package/dist/vendor.js CHANGED
@@ -1,14 +1,15 @@
1
- import { copyFileSync, existsSync, mkdirSync, rmSync } from 'node:fs';
1
+ import { copyFileSync, existsSync, mkdirSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
2
2
  import { createRequire } from 'node:module';
3
3
  import * as path from 'node:path';
4
- import { PACKAGE_ROOT } from './build.js';
4
+ import { fileURLToPath } from 'node:url';
5
5
  /**
6
6
  * Mermaid and lucide-static are devDependencies: installed, they take about 150 MB (Mermaid's sources and its
7
- * Node-only dependencies, every Lucide icon in five formats), while deck loads one Mermaid browser bundle and the
8
- * editor's toolbar icons. `pnpm build` copies those files into vendor/, which the package ships; a checkout that
9
- * hasn't been built reads them from node_modules.
7
+ * Node-only dependencies, every Lucide icon in five formats), while deck loads one Mermaid browser bundle, the
8
+ * editor's toolbar icons, and Lucide's icon outlines (one JSON file) for `:name:` icons on slides. `pnpm build` copies
9
+ * those files into vendor/, which the package ships; a checkout that hasn't been built reads them from node_modules.
10
+ * (The package root is found here rather than imported from build.ts, which imports render.ts, which imports this.)
10
11
  */
11
- export const VENDOR_DIR = path.join(PACKAGE_ROOT, 'vendor');
12
+ export const VENDOR_DIR = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..', 'vendor');
12
13
  /** The Lucide icons the editor's toolbar uses. */
13
14
  export const ICONS = [
14
15
  'bold', 'italic', 'code', 'strikethrough', 'highlighter', 'link', 'pilcrow', 'heading-1', 'heading-2', 'heading-3',
@@ -23,6 +24,7 @@ function sources() {
23
24
  ['mermaid/mermaid.min.js', 'mermaid/dist/mermaid.min.js'],
24
25
  ['mermaid/LICENSE', 'mermaid/LICENSE'],
25
26
  ['lucide/LICENSE', 'lucide-static/LICENSE'],
27
+ ['lucide/icon-nodes.json', 'lucide-static/icon-nodes.json'],
26
28
  ...ICONS.map((name) => [`lucide/${name}.svg`, `lucide-static/icons/${name}.svg`]),
27
29
  ];
28
30
  }
@@ -40,7 +42,11 @@ export function writeVendor() {
40
42
  for (const [to, from] of sources()) {
41
43
  const dest = path.join(VENDOR_DIR, to);
42
44
  mkdirSync(path.dirname(dest), { recursive: true });
43
- copyFileSync(require.resolve(from), dest);
45
+ // JSON is copied without its indentation: Lucide's icon outlines shrink from 760 KB to about 300 KB.
46
+ if (to.endsWith('.json'))
47
+ writeFileSync(dest, JSON.stringify(JSON.parse(readFileSync(require.resolve(from), 'utf8'))));
48
+ else
49
+ copyFileSync(require.resolve(from), dest);
44
50
  }
45
51
  }
46
52
  //# sourceMappingURL=vendor.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"vendor.js","sourceRoot":"","sources":["../src/vendor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C;;;;;GAKG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;AAE5D,kDAAkD;AAClD,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW;IAClH,MAAM,EAAE,cAAc,EAAE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS;IAC9F,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,QAAQ,EAAE,qBAAqB,EAAE,QAAQ,EAAE,WAAW,EAAE,cAAc,EAAE,UAAU;IAC/H,cAAc,EAAE,eAAe,EAA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I,EAAE,CAAC,CAAC;QACnD,qGAAqG;QACrG,IAAI,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC;YAAE,aAAa,CAAC,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;;YAClH,YAAY,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IACjD,CAAC;AACH,CAAC"}
package/docs/syntax.md CHANGED
@@ -141,9 +141,39 @@ Local videos are inlined into the built page like images, so the deck stays one
141
141
  Attributes on headings, paragraphs, lists, and spans take a fixed vocabulary of classes that every theme styles, so switching themes needs no edits:
142
142
 
143
143
  - Blocks: `{.lead}` `{.small}` `{.muted}` `{.center}` `{.subtitle}` `{.meta}` `{.callout}` `{.note}` `{.warn}`
144
+ - Lists: `{.steps}` (below)
144
145
  - Spans: `[key insight]{.hl}`, `[new]{.badge}`, `[old]{.del}`
145
146
  - Inside headings, `*emphasis*` renders in the theme's accent style.
146
147
 
148
+ On a `columns` slide, a `{.subtitle}` paragraph right under the heading joins the slide header, so it spans all the columns (and a first column that opens with `###` is still a card). A trailing `\` breaks a line inside a paragraph or heading; raw HTML such as `<br>` is not allowed.
149
+
150
+ ### Icons
151
+
152
+ `:name:` draws a [Lucide](https://lucide.dev/icons/) icon inline, at the text's size and in its color (the accent color in headings). Icons are inlined as SVG at build time, so they work offline.
153
+
154
+ ```markdown
155
+ ### :shield-check: Read-only by design
156
+
157
+ - :key-round: The server token stays on your server
158
+ - :lock: Each chat token opens one chat
159
+ ```
160
+
161
+ A list item that opens with an icon shows the icon in place of its bullet. The name must stand apart from letters and digits on both sides (`10:30:45` and `a:b:c` stay text), and a name Lucide doesn't have stays as text. Code spans and code blocks never draw icons.
162
+
163
+ ### Steps
164
+
165
+ `{.steps}` under a numbered list draws it as a row of chevrons, numbered: a progress bar for a procedure. The bold item is the current step.
166
+
167
+ ```markdown
168
+ 1. Open
169
+ 2. Name
170
+ 3. **Folder**
171
+ 4. Token
172
+ {.steps}
173
+ ```
174
+
175
+ `{.steps}` on a bulleted list is a build error.
176
+
147
177
  A block's braces go right after its text (`Plain text{.center}`); after an inline element such as `**bold**`, braces belong to that element, so a block's braces then need a space before them (`Some **bold** {.muted}`). Define more classes in a deck-local `theme.css` ([Themes](themes.md)).
148
178
 
149
179
  ## Tables
package/docs/themes.md CHANGED
@@ -57,7 +57,7 @@ A theme sets a few **seed** colors on `.slide` (and again for dark slides): `--d
57
57
  | `--deck-scale-*`, `--deck-pad-*` (on `.deck`) | Density: type sizes and margins |
58
58
  | `--deck-col-rule` | Opt-in divider between columns |
59
59
 
60
- A theme must style the four layouts, every semantic class, and the standard Markdown elements (lists, tables, blockquotes, code, images). Beyond that it can do anything CSS allows: generated backgrounds, decorations per layout. Creativity lives in how a theme renders the same four layouts, not in extra layouts, so every deck works under every theme.
60
+ A theme must style the four layouts, every semantic class, and the standard Markdown elements (lists, tables, blockquotes, code, images). `:name:` icons and `{.steps}` lists are already styled by base.css from the theme's tokens (accent, chip, on-accent), so a theme only restyles them if it wants to. Beyond that it can do anything CSS allows: generated backgrounds, decorations per layout. Creativity lives in how a theme renders the same four layouts, not in extra layouts, so every deck works under every theme.
61
61
 
62
62
  ### Slide anatomy (shared by every theme)
63
63
 
@@ -130,9 +130,9 @@ Contrast is measured against the rendered pixels, so gradients, grain, and frost
130
130
  - Palette: primary `#494FFF`, secondary `#8753FF` and `#C466D4`, and the official accents (salmon, lime, coral) for chart series. As the brand asks, a slide uses at most two brand colors plus black and white: titles are black, the blue and purple carry everything else.
131
131
  - Manrope Bold headlines (800 on title and section slides), Inter body at 21px, all flush left. `*Accent*` words in headings take the template's purple → magenta gradient, as in "The *Agentic Experience* Platform".
132
132
  - Content slides are white, as in the template, with a faint lavender wash at the lower right and a thin full-height rule near the left edge. Titles carry no bar; the eyebrow is a small purple label. Bullets are purple dots, nested levels purple arrows, and third levels hollow rings. Subtitles are purple.
133
- - Cards are the template's boxed columns: white, a thin purple rounded border, and a small uppercase purple title. Tables have a purple → blue header row in white. Callouts are lavender with a purple side rule, and quotes are large Manrope behind a purple quotation mark.
133
+ - Cards are the template's boxed columns: white, a thin purple rounded border, and a purple title. A column that opens with `####` gets a purple → blue header bar, as in the template's "やること" panels. Tables have a purple → blue header row in white. A callout is the key point, filled purple → blue with white type; notes are lavender with a purple side rule; and quotes are large Manrope behind a purple quotation mark. Steps are lavender chevrons with the current one filled purple → blue.
134
134
  - Code: a deep-indigo panel with token colors from the brand palette.
135
- - Title: the full logo at top left over the brand's pastel sweep (peach → pink → violet → blue) rising from the lower right, with the frosted gem-facet slabs. Section: the template's named gradients with black type and a large blue number, cycling **Rainbow → Dusk → Lavender → Sunset** from one section to the next (through section 16; later sections are Lavender).
135
+ - Title: the full logo at top left over the brand's pastel sweep (peach → pink → violet → blue) rising from the lower right, with the frosted gem-facet slabs. Section: the same sweep and slabs, with black type and a large gradient number.
136
136
  - Banner: only the small gem, in the strip left of the edge rule, since the template drops the footer band; the deck's `footer:` text and the page number follow in gray.
137
137
  - `mode: dark` is the brand hub's deep indigo (`hsl(238 100% 8%)`) with the washes as soft glows and white type.
138
138
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@treasure-ai/treasure-deck",
3
- "version": "2026.10.10",
3
+ "version": "2026.10.11",
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",
@@ -53,10 +53,10 @@
53
53
  "dependencies": {
54
54
  "@wvlet/highlightjs-wvlet": "^2026.3.0",
55
55
  "highlight.js": "^11.12.0",
56
- "markdown-it": "^15.0.2",
56
+ "markdown-it": "^15.0.3",
57
57
  "markdown-it-attrs": "^5.0.1",
58
58
  "markdown-it-bracketed-spans": "^1.0.3",
59
- "vite": "^8.3.2",
59
+ "vite": "^8.3.3",
60
60
  "yaml": "^2.9.1"
61
61
  },
62
62
  "devDependencies": {
package/runtime/base.css CHANGED
@@ -182,6 +182,27 @@ body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
182
182
  .slide .small { font-size: .75em; }
183
183
  .slide .del { text-decoration: line-through; }
184
184
 
185
+ /* Icons (`:name:`, Lucide): sized and colored by the text they sit in; accent-colored in headings. A list item that
186
+ opens with an icon shows it in place of its bullet. */
187
+ .slide .icon { display: inline-block; width: 1em; height: 1em; vertical-align: -.14em; flex: none; }
188
+ .slide :is(h1, h2, h3, h4) > .icon { color: var(--deck-accent); margin-right: .15em; }
189
+ .slide .slide-body ul:has(> li > .icon:first-child) { padding-left: 1.5em; }
190
+ .slide .slide-body ul > li:has(> .icon:first-child) { position: relative; list-style: none; }
191
+ .slide .slide-body ul > li:has(> .icon:first-child)::before { content: none; }
192
+ .slide .slide-body ul > li:has(> .icon:first-child) > .icon:first-child { position: absolute; left: -1.4em; top: .2em; color: var(--deck-accent); }
193
+
194
+ /* Steps (`{.steps}` on a numbered list): a row of chevrons, numbered; a bold item is the current step. */
195
+ .slide ol.steps { display: flex; gap: 3px; list-style: none; padding: 0; margin: 0 0 .7em; counter-reset: step; font-size: .7em; line-height: 1.2; }
196
+ .slide ol.steps > li {
197
+ flex: 1; margin: 0; padding: .55em 1em .55em 1.5em; text-align: center; white-space: nowrap; color: color-mix(in oklab, var(--deck-fg) 82%, var(--deck-bg)); background: var(--deck-chip);
198
+ clip-path: polygon(0 0, calc(100% - .75em) 0, 100% 50%, calc(100% - .75em) 100%, 0 100%, .75em 50%);
199
+ }
200
+ .slide ol.steps > li:first-child { padding-left: 1em; clip-path: polygon(0 0, calc(100% - .75em) 0, 100% 50%, calc(100% - .75em) 100%, 0 100%); }
201
+ .slide ol.steps > li::before { counter-increment: step; content: counter(step); margin-right: .6em; font-variant-numeric: tabular-nums; }
202
+ .slide ol.steps > li:has(> strong) { color: var(--deck-on-accent); background: var(--deck-accent); font-weight: 700; }
203
+ /* .deck outranks a theme's `.slide strong` color, so the label keeps the step's on-accent color. */
204
+ .deck .slide ol.steps > li > strong { color: inherit; }
205
+
185
206
  /* Image placement */
186
207
  .slide :is(img, video).img-fit, .slide :is(img, video).img-cover { width: 100%; height: 100%; }
187
208
  .slide :is(img, video).img-fit { object-fit: contain; }
package/runtime/embed.js CHANGED
@@ -74,6 +74,7 @@
74
74
  '.deck-doc h1,.deck-doc h2,.deck-doc h3,.deck-doc h4{margin:.6em 0 .3em;line-height:1.25;color:var(--ed-fg)}.deck-doc h1{font-size:1.6em}.deck-doc h2{font-size:1.35em}.deck-doc h3{font-size:1.15em}' +
75
75
  '.deck-doc p,.deck-doc ul,.deck-doc ol,.deck-doc blockquote,.deck-doc table,.deck-doc pre{margin:.45em 0}.deck-doc ul,.deck-doc ol{padding-left:1.5em}' +
76
76
  '.deck-doc blockquote{margin-left:0;padding-left:12px;border-left:3px solid var(--ed-line-2);color:var(--ed-fg-2)}' +
77
+ '.deck-doc .icon{width:1em;height:1em;vertical-align:-.14em}' +
77
78
  '.deck-doc a{color:var(--ed-accent-text)}.deck-doc code{font:.9em ui-monospace,SFMono-Regular,Menlo,monospace;background:var(--ed-bg-2);border-radius:4px;padding:0 3px}' +
78
79
  '.deck-doc pre{padding:8px 10px;border-radius:6px;background:var(--ed-input);border:1px solid var(--ed-line);overflow:auto;font-size:13px}.deck-doc pre code{background:none;padding:0}' +
79
80
  '.deck-doc table{border-collapse:collapse}.deck-doc th,.deck-doc td{border:1px solid var(--ed-line-2);padding:3px 8px;text-align:left}' +
@@ -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.
@@ -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 indigo shadows;
10
- * gradients title and section slides are the template's light pastel washes with black type: the title is a
11
- * sweep rising from the lower right, and sections cycle Rainbow → Dusk → Lavender → Sunset;
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
- /* The template's four named gradients: light pastel washes over white. */
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
- /* Callouts: a lavender wash fading to the card color, a purple → blue side rule, and a soft lift. */
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 small uppercase purple title. */
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 .55em; font-size: 15px; font-weight: 800; letter-spacing: .06em; line-height: 1.3; text-transform: uppercase; color: var(--tx-sub);
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-wash); }
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 slides show the slabs fully over their washes. */
253
- .deck[data-theme="treasure-ai-2026"] :is(.layout-title, .layout-section) { --tx-glass: 1; --tx-grain: .2; }
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: .12; }
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 gradients (Sunset, Rainbow, Dusk, Lavender), and the #494FFF / #8753FF palette
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"