@treasure-ai/treasure-deck 2026.10.9 → 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.
- package/dist/build.js +2 -2
- 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/parse.d.ts +4 -1
- package/dist/parse.js +32 -3
- package/dist/parse.js.map +1 -1
- package/dist/render.d.ts +3 -1
- package/dist/render.js +62 -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/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/skills/treasure-deck/SKILL.md +4 -1
- package/templates/specimen/specimen.md +12 -0
- package/themes/treasure-ai-2026/theme.css +109 -64
- package/themes/treasure-ai-2026/theme.yaml +1 -1
- package/vendor/lucide/icon-nodes.json +1 -0
package/dist/themecheck.js.map
CHANGED
|
@@ -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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,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
|
|
4
|
-
* editor's toolbar icons
|
|
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 {
|
|
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
|
|
8
|
-
* editor's toolbar icons
|
|
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.
|
|
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
|
-
|
|
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
|
package/dist/vendor.js.map
CHANGED
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"vendor.js","sourceRoot":"","sources":["../src/vendor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACnG,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC;AAErG,kDAAkD;AAClD,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,eAAe,EAAE,aAAa,EAAE,M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U,WAAW;IACzB,MAAM,CAAC,UAAU,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;IACrD,MAAM,OAAO,GAAG,aAAa,CAAC,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC;IAC/C,KAAK,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,IAAI,OAAO,EAAE,EAAE,CAAC;QACnC,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC;QACvC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,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
|
|
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
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
@@ -3,10 +3,13 @@
|
|
|
3
3
|
* palette primary #494FFF, secondary #8753FF and #C466D4, accents from the official palette only;
|
|
4
4
|
* at most two brand colors on a slide, plus black and white;
|
|
5
5
|
* type Manrope Bold headlines, Inter body, flush left;
|
|
6
|
-
* slides white content slides with black titles, purple dots and arrow sub-bullets, a
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
6
|
+
* slides white content slides with black titles, purple dots and arrow sub-bullets, a pastel wash at lower
|
|
7
|
+
* right under frosted gem-facet slabs, fine grain, and only the small gem at bottom left (the template
|
|
8
|
+
* has no footer band);
|
|
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;
|
|
10
13
|
* dark `mode: dark` is the brand hub's deep indigo (hsl(238 100% 8%)) with the washes as glows.
|
|
11
14
|
*/
|
|
12
15
|
.deck[data-theme="treasure-ai-2026"] {
|
|
@@ -25,31 +28,7 @@
|
|
|
25
28
|
header takes 4px of the top padding instead (see .slide-header), and titles sit where the default puts them. */
|
|
26
29
|
--deck-pad-y: 32px;
|
|
27
30
|
|
|
28
|
-
/*
|
|
29
|
-
--tx-sunset:
|
|
30
|
-
radial-gradient(42% 60% at 22% 4%, rgba(247, 190, 222, .85), transparent 70%),
|
|
31
|
-
radial-gradient(55% 75% at 78% 46%, rgba(251, 211, 172, .95), transparent 72%),
|
|
32
|
-
radial-gradient(48% 52% at 38% 108%, rgba(244, 172, 210, .8), transparent 70%),
|
|
33
|
-
radial-gradient(30% 60% at -4% 62%, rgba(226, 204, 248, .8), transparent 70%),
|
|
34
|
-
#fdf4ef;
|
|
35
|
-
--tx-rainbow:
|
|
36
|
-
radial-gradient(50% 62% at 32% 26%, rgba(251, 214, 186, .95), transparent 70%),
|
|
37
|
-
radial-gradient(40% 55% at 12% 100%, rgba(245, 172, 212, .9), transparent 70%),
|
|
38
|
-
radial-gradient(50% 75% at 104% 40%, rgba(170, 196, 255, .95), transparent 70%),
|
|
39
|
-
radial-gradient(42% 50% at 76% 104%, rgba(214, 190, 252, .9), transparent 70%),
|
|
40
|
-
#fbf4f8;
|
|
41
|
-
--tx-dusk:
|
|
42
|
-
radial-gradient(48% 70% at 12% 30%, rgba(214, 186, 248, .95), transparent 72%),
|
|
43
|
-
radial-gradient(52% 62% at 88% 98%, rgba(170, 180, 255, .95), transparent 70%),
|
|
44
|
-
radial-gradient(42% 50% at 92% 6%, rgba(200, 214, 255, .9), transparent 70%),
|
|
45
|
-
radial-gradient(40% 46% at 6% 104%, rgba(196, 160, 244, .85), transparent 70%),
|
|
46
|
-
#f2effd;
|
|
47
|
-
--tx-lavender:
|
|
48
|
-
radial-gradient(42% 62% at 80% 56%, rgba(246, 176, 220, .9), transparent 70%),
|
|
49
|
-
radial-gradient(46% 64% at 8% 72%, rgba(214, 192, 248, .9), transparent 70%),
|
|
50
|
-
radial-gradient(50% 40% at 50% 108%, rgba(222, 200, 250, .85), transparent 70%),
|
|
51
|
-
#fbf6fd;
|
|
52
|
-
/* 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. */
|
|
53
32
|
--tx-title:
|
|
54
33
|
radial-gradient(40% 52% at 50% 96%, rgba(252, 206, 160, .9), transparent 70%),
|
|
55
34
|
radial-gradient(38% 56% at 70% 92%, rgba(244, 140, 200, .7), transparent 70%),
|
|
@@ -64,12 +43,18 @@
|
|
|
64
43
|
--deck-accent-2: var(--tx-purple); --deck-warn: #d7343a; --deck-ok: #4f8a1e;
|
|
65
44
|
--deck-line: #e4e0f5; --deck-card: #ffffff; --deck-col-rule: #e4e0f5;
|
|
66
45
|
--deck-series-1: #494fff; --deck-series-2: #8753ff; --deck-series-3: #c466d4; --deck-series-4: #f69068; --deck-series-5: #9dcc4c; --deck-series-6: #f15c60;
|
|
67
|
-
--tx-sub: var(--tx-purple-text); --tx-rule: rgba(135, 83, 255, .32); --tx-tint: #f5f2ff; --tx-code: #0d0f3d; --tx-shadow: rgba(40, 30, 140, .
|
|
46
|
+
--tx-sub: var(--tx-purple-text); --tx-rule: rgba(135, 83, 255, .32); --tx-tint: #f5f2ff; --tx-code: #0d0f3d; --tx-shadow: rgba(40, 30, 140, .16);
|
|
47
|
+
--tx-edge: linear-gradient(135deg, rgba(135, 83, 255, .75), rgba(196, 102, 212, .45) 45%, rgba(73, 79, 255, .7));
|
|
48
|
+
--tx-glass: .9; --tx-grain: .08;
|
|
68
49
|
--tx-gem: url("assets/gem.svg"); --tx-logo: url("assets/logo.png");
|
|
69
|
-
/* "Regular page with gradient": a
|
|
50
|
+
/* "Regular page with gradient": a pastel wash (peach → pink → lavender → periwinkle) at lower right and a faint lilac
|
|
51
|
+
glow at the top right corner; the upper left stays white. */
|
|
70
52
|
background:
|
|
71
|
-
radial-gradient(
|
|
72
|
-
radial-gradient(
|
|
53
|
+
radial-gradient(40% 62% at 104% 100%, rgba(140, 160, 255, .62), transparent 70%),
|
|
54
|
+
radial-gradient(36% 52% at 84% 110%, rgba(198, 164, 252, .58), transparent 70%),
|
|
55
|
+
radial-gradient(32% 44% at 64% 116%, rgba(248, 184, 214, .52), transparent 70%),
|
|
56
|
+
radial-gradient(28% 38% at 46% 122%, rgba(252, 210, 172, .5), transparent 70%),
|
|
57
|
+
radial-gradient(34% 44% at 102% -10%, rgba(222, 208, 255, .55), transparent 70%),
|
|
73
58
|
var(--deck-bg);
|
|
74
59
|
}
|
|
75
60
|
.deck[data-theme="treasure-ai-2026"] .deck-progress { background: linear-gradient(90deg, var(--tx-purple), var(--tx-blue)); height: 3px; }
|
|
@@ -82,14 +67,32 @@
|
|
|
82
67
|
--deck-line: #23266a; --deck-card: #0c0f4f; --deck-col-rule: #23266a;
|
|
83
68
|
--deck-series-1: #8f93ff; --deck-series-2: #ad8bff; --deck-series-3: #d98be6; --deck-series-4: #f69068; --deck-series-5: #9dcc4c; --deck-series-6: #f15c60;
|
|
84
69
|
--tx-sub: #b9a4ff; --tx-rule: rgba(160, 140, 255, .35); --tx-tint: #10135a; --tx-code: #060824; --tx-shadow: rgba(0, 0, 0, .45);
|
|
70
|
+
--tx-edge: linear-gradient(135deg, rgba(160, 130, 255, .7), rgba(217, 139, 230, .35) 45%, rgba(130, 136, 255, .6));
|
|
71
|
+
--tx-glass: .05;
|
|
85
72
|
--tx-logo: url("assets/logo-white.png");
|
|
86
73
|
--tx-code-edge: 0 0 0 1px var(--deck-line);
|
|
87
74
|
background:
|
|
88
|
-
radial-gradient(48% 56% at 100% 108%, rgba(73, 79, 255, .
|
|
89
|
-
radial-gradient(40% 46% at 72% 114%, rgba(135, 83, 255, .
|
|
75
|
+
radial-gradient(48% 56% at 100% 108%, rgba(73, 79, 255, .4), transparent 70%),
|
|
76
|
+
radial-gradient(40% 46% at 72% 114%, rgba(135, 83, 255, .3), transparent 70%),
|
|
77
|
+
radial-gradient(26% 34% at 54% 118%, rgba(196, 102, 212, .2), transparent 70%),
|
|
78
|
+
radial-gradient(30% 36% at 100% -8%, rgba(135, 83, 255, .18), transparent 70%),
|
|
90
79
|
var(--deck-bg);
|
|
91
80
|
}
|
|
92
81
|
|
|
82
|
+
/* Frosted gem-facet slabs over the wash at right, as in the template's backgrounds (white on white elsewhere, so they
|
|
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. */
|
|
85
|
+
.deck[data-theme="treasure-ai-2026"] .slide:not(.has-bg):not(.has-side)::before {
|
|
86
|
+
content: ''; position: absolute; inset: 0; pointer-events: none; opacity: var(--tx-glass);
|
|
87
|
+
background: url("assets/glass.svg") center / 100% 100% no-repeat;
|
|
88
|
+
}
|
|
89
|
+
.deck[data-theme="treasure-ai-2026"] .slide:not(.has-bg):not(.layout-title):not(.layout-section)::after {
|
|
90
|
+
content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: var(--tx-grain); mix-blend-mode: multiply;
|
|
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>");
|
|
92
|
+
}
|
|
93
|
+
.deck[data-theme="treasure-ai-2026"][data-mode="dark"] .slide:not([data-mode="light"])::after,
|
|
94
|
+
.deck[data-theme="treasure-ai-2026"] .slide[data-mode="dark"]::after { mix-blend-mode: screen; opacity: .08; }
|
|
95
|
+
|
|
93
96
|
/* The template's thin rule down the full height of the left edge; the gem sits in the strip outside it.
|
|
94
97
|
With the table of contents shown, its column's divider is the left border, so the rule steps aside. */
|
|
95
98
|
.deck[data-theme="treasure-ai-2026"] .slide:not(.has-bg) .slide-canvas::before {
|
|
@@ -105,8 +108,10 @@
|
|
|
105
108
|
}
|
|
106
109
|
.deck[data-theme="treasure-ai-2026"] .slide h3 { font-family: var(--deck-font-display); color: var(--deck-strong); font-weight: 700; font-size: 21px; letter-spacing: -.005em; }
|
|
107
110
|
.deck[data-theme="treasure-ai-2026"] .slide-header { margin-bottom: 20px; padding-top: 4px; }
|
|
108
|
-
|
|
109
|
-
.deck[data-theme="treasure-ai-2026"] .eyebrow
|
|
111
|
+
/* Eyebrow: the section number, a short purple → blue hairline, then the section name. */
|
|
112
|
+
.deck[data-theme="treasure-ai-2026"] .eyebrow { font-family: var(--deck-font-display); font-weight: 700; letter-spacing: .14em; color: var(--tx-sub); margin-bottom: 10px; align-items: center; gap: 12px; }
|
|
113
|
+
.deck[data-theme="treasure-ai-2026"] .eyebrow-num { display: flex; align-items: center; gap: 12px; color: var(--deck-accent); letter-spacing: .06em; }
|
|
114
|
+
.deck[data-theme="treasure-ai-2026"] .eyebrow-num::after { content: ''; width: 28px; height: 1.5px; border-radius: 1px; background: linear-gradient(90deg, var(--tx-purple), var(--tx-blue)); }
|
|
110
115
|
.deck[data-theme="treasure-ai-2026"] .slide strong { font-weight: 600; color: var(--deck-strong); }
|
|
111
116
|
.deck[data-theme="treasure-ai-2026"] .slide a { color: var(--deck-accent); text-decoration-thickness: 1px; text-underline-offset: .15em; }
|
|
112
117
|
|
|
@@ -114,7 +119,8 @@
|
|
|
114
119
|
.deck[data-theme="treasure-ai-2026"] .slide-body ul { list-style: none; padding-left: 1.1em; }
|
|
115
120
|
.deck[data-theme="treasure-ai-2026"] .slide-body ul > li { position: relative; }
|
|
116
121
|
.deck[data-theme="treasure-ai-2026"] .slide-body ul > li::before {
|
|
117
|
-
content: ''; position: absolute; left: -1em; top: .52em; width: .
|
|
122
|
+
content: ''; position: absolute; left: -1em; top: .52em; width: .36em; height: .36em; border-radius: 50%;
|
|
123
|
+
background: linear-gradient(135deg, var(--tx-magenta), var(--tx-purple) 45%, var(--tx-blue));
|
|
118
124
|
}
|
|
119
125
|
.deck[data-theme="treasure-ai-2026"] .slide-body li > ul > li::before {
|
|
120
126
|
content: '→'; left: -1.25em; top: 0; width: auto; height: auto; border-radius: 0; background: none; color: var(--tx-purple);
|
|
@@ -132,13 +138,15 @@
|
|
|
132
138
|
font-family: var(--deck-font-display); font-size: 1.2em; font-weight: 500; line-height: 1.35; color: var(--deck-strong);
|
|
133
139
|
}
|
|
134
140
|
.deck[data-theme="treasure-ai-2026"] .slide blockquote::before {
|
|
135
|
-
content: '\201C'; position: absolute; left: -.05em; top: -.28em; font-size: 2.6em; font-weight: 800; line-height: 1;
|
|
141
|
+
content: '\201C'; position: absolute; left: -.05em; top: -.28em; font-size: 2.6em; font-weight: 800; line-height: 1;
|
|
142
|
+
background: linear-gradient(160deg, var(--tx-magenta), var(--tx-purple) 50%, var(--tx-blue)); -webkit-background-clip: text; background-clip: text; color: transparent;
|
|
136
143
|
}
|
|
137
144
|
|
|
138
145
|
/* Code: a deep-indigo panel with token colors from the brand palette. */
|
|
139
146
|
.deck[data-theme="treasure-ai-2026"] .slide code { background: var(--tx-tint); border-radius: 4px; padding: .05em .3em; color: var(--tx-sub); }
|
|
140
147
|
.deck[data-theme="treasure-ai-2026"] .slide pre.code {
|
|
141
|
-
background:
|
|
148
|
+
background: radial-gradient(60% 120% at 100% 0%, rgba(135, 83, 255, .22), transparent 70%), var(--tx-code); color: #e8e9ff; border-radius: 14px;
|
|
149
|
+
box-shadow: 0 22px 44px -24px rgba(13, 15, 61, .55), inset 0 1px rgba(255, 255, 255, .08), var(--tx-code-edge, 0 0 #0000);
|
|
142
150
|
--code-comment: #8589c2; --code-keyword: #b89cff; --code-string: #d9e47c; --code-number: #f69068; --code-title: #9da1ff;
|
|
143
151
|
--code-type: #e3a0ee; --code-variable: #f7a3a5; --code-operator: #aeb2ff; --code-meta: #8589c2;
|
|
144
152
|
}
|
|
@@ -146,12 +154,13 @@
|
|
|
146
154
|
.deck[data-theme="treasure-ai-2026"] .slide pre.code .line.line-hl { background: rgba(135, 83, 255, .26); box-shadow: inset 3px 0 var(--tx-purple); }
|
|
147
155
|
|
|
148
156
|
/* Tables: a purple header row with white small caps, lavender rules. */
|
|
149
|
-
.deck[data-theme="treasure-ai-2026"] .slide table { border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius:
|
|
157
|
+
.deck[data-theme="treasure-ai-2026"] .slide table { border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: 12px; background: var(--deck-card); box-shadow: 0 18px 40px -26px var(--tx-shadow), 0 0 0 1px var(--deck-line); }
|
|
150
158
|
.deck[data-theme="treasure-ai-2026"] .slide thead { background: linear-gradient(90deg, var(--tx-purple-text), var(--tx-blue)); }
|
|
151
159
|
.deck[data-theme="treasure-ai-2026"] .slide th { padding: 10px 16px 9px; font-size: 14px; font-weight: 700; color: #fff; background: none; }
|
|
152
160
|
.deck[data-theme="treasure-ai-2026"] .slide td { padding-left: 16px; padding-right: 16px; border-bottom: 1px solid var(--deck-line); }
|
|
153
161
|
.deck[data-theme="treasure-ai-2026"] .slide tbody tr:nth-child(even) td { background: color-mix(in oklab, var(--tx-tint) 60%, transparent); }
|
|
154
162
|
.deck[data-theme="treasure-ai-2026"] .slide tr:last-child td { border-bottom: 0; }
|
|
163
|
+
.deck[data-theme="treasure-ai-2026"] .slide td:first-child { font-weight: 600; color: var(--deck-strong); }
|
|
155
164
|
|
|
156
165
|
.deck[data-theme="treasure-ai-2026"] .slide :is(img, video).img-shadow { box-shadow: 0 18px 40px -16px var(--tx-shadow), 0 0 0 1px var(--deck-line); }
|
|
157
166
|
.deck[data-theme="treasure-ai-2026"] .slide :is(img, video).img-round { border-radius: var(--deck-radius); }
|
|
@@ -169,24 +178,56 @@
|
|
|
169
178
|
display: inline-block; vertical-align: middle; padding: .2em .7em; border-radius: 999px;
|
|
170
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);
|
|
171
180
|
}
|
|
172
|
-
|
|
173
|
-
|
|
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). */
|
|
183
|
+
.deck[data-theme="treasure-ai-2026"] .slide :is(.callout, .note, .warn) {
|
|
184
|
+
position: relative; padding: .7em 1.1em .7em 1.25em; border-radius: 12px;
|
|
185
|
+
background: linear-gradient(100deg, var(--tx-tint), color-mix(in oklab, var(--tx-tint) 35%, var(--deck-card)));
|
|
186
|
+
box-shadow: 0 0 0 1px color-mix(in oklab, var(--tx-purple) 14%, transparent), 0 12px 28px -22px var(--tx-shadow);
|
|
187
|
+
}
|
|
188
|
+
.deck[data-theme="treasure-ai-2026"] .slide :is(.callout, .note, .warn)::before {
|
|
189
|
+
content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 12px 0 0 12px;
|
|
190
|
+
background: linear-gradient(var(--tx-purple), var(--tx-blue));
|
|
191
|
+
}
|
|
192
|
+
.deck[data-theme="treasure-ai-2026"] .slide .warn {
|
|
193
|
+
background: linear-gradient(100deg, color-mix(in oklab, #f15c60 11%, var(--deck-bg)), color-mix(in oklab, #f69068 5%, var(--deck-card)));
|
|
194
|
+
box-shadow: 0 0 0 1px color-mix(in oklab, #f15c60 18%, transparent), 0 12px 28px -22px var(--tx-shadow);
|
|
195
|
+
}
|
|
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); }
|
|
174
204
|
|
|
175
|
-
/* 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. */
|
|
176
206
|
.deck[data-theme="treasure-ai-2026"] .layout-columns .col:has(> h3:first-child) {
|
|
177
|
-
padding: 20px 22px 14px;
|
|
207
|
+
padding: 20px 22px 14px; border-radius: 20px; border: 1.5px solid transparent;
|
|
208
|
+
background:
|
|
209
|
+
radial-gradient(70% 60% at 100% 0%, color-mix(in oklab, var(--tx-tint) 90%, transparent), transparent 70%) padding-box,
|
|
210
|
+
linear-gradient(var(--deck-card), var(--deck-card)) padding-box,
|
|
211
|
+
var(--tx-edge) border-box;
|
|
212
|
+
box-shadow: 0 20px 40px -30px var(--tx-shadow);
|
|
178
213
|
}
|
|
179
214
|
.deck[data-theme="treasure-ai-2026"] .layout-columns .col > h3:first-child {
|
|
180
|
-
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));
|
|
181
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)); }
|
|
182
228
|
|
|
183
229
|
/* Title and section slides: pastel washes with black type. Sections cycle the four gradients through section 16; later ones are Lavender. */
|
|
184
|
-
.deck[data-theme="treasure-ai-2026"] :is(.layout-title, .layout-section):not(.has-bg) { background: var(--tx-
|
|
185
|
-
.deck[data-theme="treasure-ai-2026"] .layout-title { --tx-wash: var(--tx-title); }
|
|
186
|
-
.deck[data-theme="treasure-ai-2026"] .layout-section { --tx-wash: var(--tx-lavender); }
|
|
187
|
-
.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); }
|
|
188
|
-
.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); }
|
|
189
|
-
.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); }
|
|
190
231
|
.deck[data-theme="treasure-ai-2026"] .layout-title:not(.has-bg) .slide-body { padding: 120px 360px 110px 88px; }
|
|
191
232
|
.deck[data-theme="treasure-ai-2026"] .layout-section:not(.has-bg) .slide-body { padding: 40px 200px 100px 88px; }
|
|
192
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; }
|
|
@@ -195,19 +236,20 @@
|
|
|
195
236
|
.deck[data-theme="treasure-ai-2026"] :is(.layout-title, .layout-section) .subtitle { font-size: 1.3em; }
|
|
196
237
|
.deck[data-theme="treasure-ai-2026"] :is(.layout-title, .layout-section) .meta { color: var(--deck-fg-muted); }
|
|
197
238
|
.deck[data-theme="treasure-ai-2026"] .layout-section .section-num {
|
|
198
|
-
font-family: var(--deck-font-display); font-size:
|
|
239
|
+
font-family: var(--deck-font-display); font-size: 132px; font-weight: 800; letter-spacing: -.05em; margin-bottom: 18px; color: var(--deck-accent);
|
|
240
|
+
background: linear-gradient(135deg, var(--tx-magenta), var(--tx-purple) 40%, var(--tx-blue)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
|
|
199
241
|
}
|
|
200
|
-
|
|
242
|
+
.deck[data-theme="treasure-ai-2026"][data-mode="dark"] .layout-section:not([data-mode="light"]) .section-num,
|
|
243
|
+
.deck[data-theme="treasure-ai-2026"] .layout-section[data-mode="dark"] .section-num { background-image: linear-gradient(135deg, #e3a0ee, #b392ff 40%, #9396ff); }
|
|
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; }
|
|
246
|
+
/* The title carries the full logo at top left. */
|
|
201
247
|
.deck[data-theme="treasure-ai-2026"] .layout-title:not(.has-bg):not(.has-side) .slide-frame::after {
|
|
202
248
|
content: ''; position: absolute; left: 88px; top: 52px; width: 190px; height: 26px; pointer-events: none;
|
|
203
249
|
background: var(--tx-logo) left center / contain no-repeat;
|
|
204
250
|
}
|
|
205
|
-
.deck[data-theme="treasure-ai-2026"] .layout-title
|
|
206
|
-
|
|
207
|
-
background: url("assets/glass.svg") center / 100% 100% no-repeat;
|
|
208
|
-
}
|
|
209
|
-
.deck[data-theme="treasure-ai-2026"][data-mode="dark"] .layout-title:not([data-mode="light"])::after,
|
|
210
|
-
.deck[data-theme="treasure-ai-2026"] .layout-title[data-mode="dark"]:not(.has-bg):not(.has-side)::after { opacity: .18; }
|
|
251
|
+
.deck[data-theme="treasure-ai-2026"][data-mode="dark"] :is(.layout-title, .layout-section):not([data-mode="light"]),
|
|
252
|
+
.deck[data-theme="treasure-ai-2026"] :is(.layout-title, .layout-section)[data-mode="dark"] { --tx-glass: .18; }
|
|
211
253
|
|
|
212
254
|
/* Dark title and section slides: deep indigo with the washes' hues as glows, white type. */
|
|
213
255
|
.deck[data-theme="treasure-ai-2026"][data-mode="dark"] :is(.layout-title, .layout-section):not([data-mode="light"]):not(.has-bg),
|
|
@@ -222,11 +264,12 @@
|
|
|
222
264
|
|
|
223
265
|
/* Footer: only the small gem, in the strip left of the edge rule, then the deck's footer: text and the page number. */
|
|
224
266
|
/* A fixed footer height keeps the gem in one place whether or not a slide shows footer text (title and section slides don't). */
|
|
225
|
-
|
|
267
|
+
/* The footer text is a shade darker than muted, for contrast over the wash at lower right. */
|
|
268
|
+
.deck[data-theme="treasure-ai-2026"] .slide-footer { --tx-footer: color-mix(in oklab, var(--deck-fg-muted) 72%, var(--deck-fg)); color: var(--tx-footer); bottom: 16px; height: 18px; }
|
|
226
269
|
.deck[data-theme="treasure-ai-2026"] .slide-footer .footer-brand { position: absolute; left: calc(9px - var(--deck-pad-x)); top: 3px; }
|
|
227
270
|
.deck[data-theme="treasure-ai-2026"] .footer-brand::before { content: ''; display: block; width: 18px; height: 12px; background: var(--tx-gem) center / contain no-repeat; }
|
|
228
|
-
.deck[data-theme="treasure-ai-2026"] .page-number { font-family: var(--deck-font-display); font-weight: 700; color: var(--
|
|
229
|
-
.deck[data-theme="treasure-ai-2026"] .page-total { font-weight: 500; }
|
|
271
|
+
.deck[data-theme="treasure-ai-2026"] .page-number { font-family: var(--deck-font-display); font-weight: 700; color: var(--tx-footer); }
|
|
272
|
+
.deck[data-theme="treasure-ai-2026"] .page-total { font-weight: 500; color: var(--tx-footer); }
|
|
230
273
|
|
|
231
274
|
/* Mermaid diagram colors (read by the runtime): purple → blue nodes with white labels. */
|
|
232
275
|
.deck[data-theme="treasure-ai-2026"] .slide {
|
|
@@ -250,7 +293,9 @@
|
|
|
250
293
|
already in the captured background layer, so it isn't drawn a second time. */
|
|
251
294
|
@media print {
|
|
252
295
|
.deck[data-theme="treasure-ai-2026"].has-print-bg .slide-canvas::before { display: none; }
|
|
253
|
-
.deck[data-theme="treasure-ai-2026"] .slide :is(h1 em, h2 em) { background: none !important; color: var(--tx-purple) !important; -webkit-text-fill-color: currentColor; }
|
|
296
|
+
.deck[data-theme="treasure-ai-2026"] .slide :is(h1 em, h2 em, .section-num) { background: none !important; color: var(--tx-purple) !important; -webkit-text-fill-color: currentColor; }
|
|
297
|
+
.deck[data-theme="treasure-ai-2026"] .slide blockquote::before { background: none !important; color: var(--tx-purple) !important; }
|
|
298
|
+
.deck[data-theme="treasure-ai-2026"] .slide::after { display: none; }
|
|
254
299
|
}
|
|
255
300
|
/* Print/PDF: paint the header gradient once across the table (Chrome paints it per cell; Apple's renderer shows seams). */
|
|
256
301
|
@media print {
|
|
@@ -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"
|