@treasure-ai/treasure-deck 2026.12.1 → 2026.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/runtime/base.css +6 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@treasure-ai/treasure-deck",
|
|
3
|
-
"version": "2026.12.
|
|
3
|
+
"version": "2026.12.2",
|
|
4
4
|
"description": "Markdown presentations without <div> markup: four layouts, themes, and a single-file HTML output that publishes to Apps Script",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"homepage": "https://www.npmjs.com/package/@treasure-ai/treasure-deck",
|
package/runtime/base.css
CHANGED
|
@@ -194,20 +194,20 @@ body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
|
|
|
194
194
|
.slide .center { text-align: center; }
|
|
195
195
|
.slide .right { text-align: right; }
|
|
196
196
|
/* The lead: a standfirst, the casual sentence that frames a slide. Larger than body but a step down in contrast and
|
|
197
|
-
regular weight,
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
is
|
|
197
|
+
regular weight, so it reads as an intro paragraph rather than a second title; its **bold** words keep full
|
|
198
|
+
contrast. It spans the content width like body text: a narrower measure looks cramped between a full-width title
|
|
199
|
+
and body. Its color (--deck-lead-color) is an accent ink on light slides, and a soft grey on dark ones, where the
|
|
200
|
+
accent ink is too loud. A lead alone on a slide (a statement) keeps full contrast, with balanced lines. */
|
|
201
201
|
.slide { --deck-lead-color: color-mix(in oklab, var(--deck-accent) 60%, var(--deck-fg)); }
|
|
202
202
|
.deck[data-mode="dark"] .slide:not([data-mode="light"]), .deck .slide[data-mode="dark"] {
|
|
203
203
|
--deck-lead-color: color-mix(in oklab, var(--deck-fg) 72%, var(--deck-bg));
|
|
204
204
|
}
|
|
205
205
|
.slide .lead {
|
|
206
|
-
font-size: 1.2em; font-weight: 400; line-height: 1.45; letter-spacing: 0; text-wrap:
|
|
206
|
+
font-size: 1.2em; font-weight: 400; line-height: 1.45; letter-spacing: 0; text-wrap: pretty;
|
|
207
207
|
color: var(--deck-lead-color);
|
|
208
208
|
}
|
|
209
209
|
.deck .slide .slide-body .lead strong { color: var(--deck-fg); font-weight: 600; }
|
|
210
|
-
.slide .slide-content > .lead:only-child { font-size: 1.6em; line-height: 1.3;
|
|
210
|
+
.slide .slide-content > .lead:only-child { font-size: 1.6em; line-height: 1.3; text-wrap: balance; color: var(--deck-strong); }
|
|
211
211
|
.slide .lead.center { margin-inline: auto; }
|
|
212
212
|
/* The takeaway: the slide's "so what", in the flow (not pinned). An accent-outlined box with a stroked arrow, unlike a
|
|
213
213
|
callout's side rule or fill, and its **bold** words (the claim) in the accent. A lead stays plain: it is the casual
|