@steamfield/decks 0.0.0-stage → 1.0.0-rc.1
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/LICENSE +201 -0
- package/README.md +28 -2
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +5 -0
- package/dist/index-B2n69xrC.d.ts +75 -0
- package/dist/index-BURtH7IB.d.ts +182 -0
- package/dist/index-BV_-6L5L.d.ts +136 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +6 -0
- package/dist/kit/chrome/od-byline.css +7 -0
- package/dist/kit/chrome/od-cover-head.css +10 -0
- package/dist/kit/chrome/od-eyebrow.css +13 -0
- package/dist/kit/chrome/od-logo.css +167 -0
- package/dist/kit/chrome/od-qr-card.css +30 -0
- package/dist/kit/ink/code-ink.css +83 -0
- package/dist/kit/ink/graph-3d.css +29 -0
- package/dist/kit/ink/ink-bars.css +7 -0
- package/dist/kit/ink/ink-card-rect.css +6 -0
- package/dist/kit/ink/ink-chip.css +62 -0
- package/dist/kit/ink/ink-line.css +7 -0
- package/dist/kit/ink/ink-number.css +22 -0
- package/dist/kit/ink/ink-ping.css +4 -0
- package/dist/kit/ink/ink-rule.css +4 -0
- package/dist/kit/ink/ink-timeline-cursor.css +3 -0
- package/dist/kit/ink/ink-timeline.css +9 -0
- package/dist/kit/ink/underline.css +12 -0
- package/dist/kit/ink/unit-grid.css +3 -0
- package/dist/kit/story/story-card.css +19 -0
- package/dist/kit/story/story-link.css +13 -0
- package/dist/kit/story/story-stage.css +59 -0
- package/dist/kit/styles/base.css +82 -0
- package/dist/kit/styles/compat.css +78 -0
- package/dist/kit/styles/components.css +224 -0
- package/dist/kit/styles/fonts/inter-cyrillic-ext-wght-normal.woff2 +0 -0
- package/dist/kit/styles/fonts/inter-cyrillic-wght-normal.woff2 +0 -0
- package/dist/kit/styles/fonts/inter-greek-ext-wght-normal.woff2 +0 -0
- package/dist/kit/styles/fonts/inter-greek-wght-normal.woff2 +0 -0
- package/dist/kit/styles/fonts/inter-latin-ext-wght-normal.woff2 +0 -0
- package/dist/kit/styles/fonts/inter-latin-wght-normal.woff2 +0 -0
- package/dist/kit/styles/fonts/inter-vietnamese-wght-normal.woff2 +0 -0
- package/dist/kit/styles/fonts.css +73 -0
- package/dist/kit/styles/index.css +36 -0
- package/dist/kit/styles/layout.css +181 -0
- package/dist/kit/styles/stats.css +92 -0
- package/dist/kit/styles/story-frame.css +179 -0
- package/dist/kit/styles/story-marks.css +115 -0
- package/dist/kit/styles/story-transition.css +182 -0
- package/dist/kit/styles.css +1 -0
- package/dist/kit.d.ts +880 -0
- package/dist/kit.js +3475 -0
- package/dist/layers.css +60 -0
- package/dist/layouts.css +58 -0
- package/dist/lint/ai-rhetoric-patterns.tsv +110 -0
- package/dist/lint/deck-writing-reminder.md +9 -0
- package/dist/motion.css +215 -0
- package/dist/motion.d.ts +2 -0
- package/dist/motion.js +1 -0
- package/dist/node.d.ts +63 -0
- package/dist/node.js +1 -0
- package/dist/overview-view.css +58 -0
- package/dist/play-view.css +29 -0
- package/dist/plugin/skills/building-a-deck/SKILL.md +22 -0
- package/dist/plugin/skills/building-a-deck/references/workflow.md +86 -0
- package/dist/plugin/skills/deck-data/SKILL.md +27 -0
- package/dist/plugin/skills/deck-data/references/fact-check.md +59 -0
- package/dist/plugin/skills/deck-data/references/provenance.md +61 -0
- package/dist/plugin/skills/deck-design/SKILL.md +31 -0
- package/dist/plugin/skills/deck-design/references/layout.md +55 -0
- package/dist/plugin/skills/deck-motion/SKILL.md +34 -0
- package/dist/plugin/skills/deck-motion/references/motion.md +66 -0
- package/dist/plugin/skills/visualization/SKILL.md +34 -0
- package/dist/plugin/skills/visualization/references/VENDORED.md +25 -0
- package/dist/plugin/skills/visualization/references/annotations.md +27 -0
- package/dist/plugin/skills/visualization/references/chart-selection.md +29 -0
- package/dist/plugin/skills/visualization/references/color-strategy.md +22 -0
- package/dist/plugin/skills/visualization/references/encoding-channels.md +44 -0
- package/dist/plugin/skills/visualization/references/ink.md +38 -0
- package/dist/plugin/skills/visualization/references/marks.md +33 -0
- package/dist/plugin/skills/visualization/references/presentation.md +43 -0
- package/dist/plugin/skills/working-with-decks/SKILL.md +34 -0
- package/dist/plugin/skills/working-with-decks/references/project.md +59 -0
- package/dist/plugin/skills/writing-slides/SKILL.md +45 -0
- package/dist/plugin/skills/writing-slides/references/lint.md +11 -0
- package/dist/plugin/skills/writing-slides/references/prose-patterns.md +48 -0
- package/dist/presenter-view.css +113 -0
- package/dist/print-view.module.css +32 -0
- package/dist/prose-patterns-DPqjGBFu.js +76 -0
- package/dist/prose-scan-BrWZ7gxZ.js +233 -0
- package/dist/src-C-OfT72W.js +396 -0
- package/dist/src-CmQgaG1b.js +2469 -0
- package/dist/src-DizFoqYt.js +1508 -0
- package/dist/templates/conventional/deck.config.ts +7 -0
- package/dist/templates/conventional/setup.ts +3 -0
- package/dist/templates/conventional/slides/01-cover.mdx +9 -0
- package/dist/templates/conventional/slides/02-first-point.mdx +12 -0
- package/dist/templates/conventional/styles/index.css +1 -0
- package/dist/templates/story/components/FirstStage.tsx +34 -0
- package/dist/templates/story/data/01-first.ts +8 -0
- package/dist/templates/story/data-sources.md +7 -0
- package/dist/templates/story/deck.config.ts +8 -0
- package/dist/templates/story/setup.ts +3 -0
- package/dist/templates/story/slides/01-cover.mdx +9 -0
- package/dist/templates/story/slides/02-first-point.mdx +6 -0
- package/dist/templates/story/styles/index.css +1 -0
- package/dist/transition.css +87 -0
- package/docs/README.md +28 -0
- package/docs/canvas.md +134 -0
- package/docs/cli.md +49 -0
- package/docs/code-blocks.md +132 -0
- package/docs/config.md +183 -0
- package/docs/getting-started.md +204 -0
- package/docs/kit.md +371 -0
- package/docs/migrating-from-slidev.md +45 -0
- package/docs/motion.md +396 -0
- package/docs/presenting.md +99 -0
- package/docs/slides.md +246 -0
- package/package.json +108 -4
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/* @slidev/client/styles/index.ts imports @unocss/reset/tailwind.css. */
|
|
2
|
+
:where([data-deck-slide]),
|
|
3
|
+
:where([data-deck-slide]) *,
|
|
4
|
+
:where([data-deck-slide])::before,
|
|
5
|
+
:where([data-deck-slide]) *::before,
|
|
6
|
+
:where([data-deck-slide])::after,
|
|
7
|
+
:where([data-deck-slide]) *::after {
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
border-width: 0;
|
|
10
|
+
border-style: solid;
|
|
11
|
+
}
|
|
12
|
+
:where([data-deck-slide]) {
|
|
13
|
+
line-height: 1.5;
|
|
14
|
+
-webkit-text-size-adjust: 100%;
|
|
15
|
+
tab-size: 4;
|
|
16
|
+
}
|
|
17
|
+
:where([data-deck-slide]) {
|
|
18
|
+
margin: 0;
|
|
19
|
+
line-height: inherit;
|
|
20
|
+
}
|
|
21
|
+
:where([data-deck-slide]) h1,
|
|
22
|
+
:where([data-deck-slide]) h2,
|
|
23
|
+
:where([data-deck-slide]) h3,
|
|
24
|
+
:where([data-deck-slide]) p,
|
|
25
|
+
:where([data-deck-slide]) ul {
|
|
26
|
+
margin: 0;
|
|
27
|
+
}
|
|
28
|
+
:where([data-deck-slide]) h1,
|
|
29
|
+
:where([data-deck-slide]) h2,
|
|
30
|
+
:where([data-deck-slide]) h3 {
|
|
31
|
+
font-size: inherit;
|
|
32
|
+
font-weight: inherit;
|
|
33
|
+
}
|
|
34
|
+
:where([data-deck-slide]) ul {
|
|
35
|
+
list-style: none;
|
|
36
|
+
padding: 0;
|
|
37
|
+
}
|
|
38
|
+
:where([data-deck-slide]) a {
|
|
39
|
+
color: inherit;
|
|
40
|
+
text-decoration: inherit;
|
|
41
|
+
}
|
|
42
|
+
:where([data-deck-slide]) svg {
|
|
43
|
+
display: block;
|
|
44
|
+
vertical-align: middle;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/* @slidev/client/styles/layouts-base.css: more specific than .od-h2/.od-bullets. */
|
|
48
|
+
[data-deck-slide] h2 {
|
|
49
|
+
font-size: calc(1.875rem * var(--deck-text-scale, 1));
|
|
50
|
+
line-height: 2.25rem;
|
|
51
|
+
}
|
|
52
|
+
[data-deck-slide] li {
|
|
53
|
+
margin-left: 1.1em;
|
|
54
|
+
margin-right: 0;
|
|
55
|
+
padding-left: 0.2em;
|
|
56
|
+
padding-right: 0;
|
|
57
|
+
line-height: 1.8em;
|
|
58
|
+
}
|
|
59
|
+
[data-deck-slide] a {
|
|
60
|
+
border-bottom: 1px dashed currentColor;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/* slidev-theme-the-unnamed/styles/layout.css. */
|
|
64
|
+
[data-deck-slide] a:hover {
|
|
65
|
+
color: inherit;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
[data-deck-slide] h1 {
|
|
69
|
+
font-size: calc(2.25rem * var(--deck-text-scale, 1));
|
|
70
|
+
line-height: 2.5rem;
|
|
71
|
+
margin-left: -0.05em;
|
|
72
|
+
margin-right: 0;
|
|
73
|
+
margin-bottom: 1rem;
|
|
74
|
+
}
|
|
75
|
+
[data-deck-slide] h3 {
|
|
76
|
+
font-size: calc(1.5rem * var(--deck-text-scale, 1));
|
|
77
|
+
line-height: 2rem;
|
|
78
|
+
}
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
/* ── Overline / eyebrow ── */
|
|
2
|
+
.od-eyebrow {
|
|
3
|
+
font-size: calc(0.98rem * var(--deck-text-scale, 1));
|
|
4
|
+
font-weight: 510;
|
|
5
|
+
letter-spacing: 0.16em;
|
|
6
|
+
text-transform: uppercase;
|
|
7
|
+
color: var(--od-cyan);
|
|
8
|
+
}
|
|
9
|
+
.od-eyebrow.amber {
|
|
10
|
+
color: var(--od-amber);
|
|
11
|
+
}
|
|
12
|
+
.od-eyebrow.violet {
|
|
13
|
+
color: var(--od-violet);
|
|
14
|
+
}
|
|
15
|
+
.od-eyebrow.emerald {
|
|
16
|
+
color: var(--od-emerald);
|
|
17
|
+
}
|
|
18
|
+
.od-eyebrow.rose {
|
|
19
|
+
color: var(--od-rose);
|
|
20
|
+
}
|
|
21
|
+
.od-eyebrow-rule {
|
|
22
|
+
width: 40px;
|
|
23
|
+
height: 2px;
|
|
24
|
+
background: linear-gradient(90deg, var(--od-cyan), var(--od-blue));
|
|
25
|
+
display: block;
|
|
26
|
+
}
|
|
27
|
+
.od-eyebrow + .od-h2 {
|
|
28
|
+
margin: 1.1rem 0 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/* ── Brand ── */
|
|
32
|
+
.od-brand {
|
|
33
|
+
display: flex;
|
|
34
|
+
align-items: center;
|
|
35
|
+
gap: 0.85rem;
|
|
36
|
+
}
|
|
37
|
+
.od-brand-name {
|
|
38
|
+
font-weight: 700;
|
|
39
|
+
font-size: calc(1.95rem * var(--deck-text-scale, 1));
|
|
40
|
+
letter-spacing: -0.022em;
|
|
41
|
+
line-height: 1;
|
|
42
|
+
background-image: var(--od-wordmark-gradient);
|
|
43
|
+
-webkit-background-clip: text;
|
|
44
|
+
background-clip: text;
|
|
45
|
+
-webkit-text-fill-color: transparent;
|
|
46
|
+
color: transparent;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* ── Inline slide source/citation (lower-left, above footer) ── */
|
|
50
|
+
.od-slide-source {
|
|
51
|
+
margin-top: auto;
|
|
52
|
+
font-size: calc(0.95rem * var(--deck-text-scale, 1));
|
|
53
|
+
line-height: 1.4 !important;
|
|
54
|
+
color: var(--od-text-faint);
|
|
55
|
+
}
|
|
56
|
+
.od-slide-source + .od-footer {
|
|
57
|
+
margin-top: 1rem;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/* ── Footer ── */
|
|
61
|
+
.od-footer {
|
|
62
|
+
margin-top: auto;
|
|
63
|
+
padding-top: 1.5rem;
|
|
64
|
+
border-top: 1px solid var(--od-border-rule);
|
|
65
|
+
display: flex;
|
|
66
|
+
align-items: center;
|
|
67
|
+
justify-content: space-between;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/* ── Bullet list ── */
|
|
71
|
+
.od-bullets {
|
|
72
|
+
list-style: none !important;
|
|
73
|
+
padding: 0;
|
|
74
|
+
margin: 2.2rem 0 0;
|
|
75
|
+
}
|
|
76
|
+
.od-bullets li::marker {
|
|
77
|
+
content: "" !important;
|
|
78
|
+
}
|
|
79
|
+
.od-bullets li {
|
|
80
|
+
position: relative;
|
|
81
|
+
padding-left: 2rem;
|
|
82
|
+
margin-bottom: 1.7rem;
|
|
83
|
+
font-size: calc(1.4rem * var(--deck-text-scale, 1));
|
|
84
|
+
line-height: 1.6;
|
|
85
|
+
color: var(--od-text-secondary);
|
|
86
|
+
}
|
|
87
|
+
.od-bullets li::before {
|
|
88
|
+
content: "";
|
|
89
|
+
position: absolute;
|
|
90
|
+
left: 0;
|
|
91
|
+
top: 0.62em;
|
|
92
|
+
width: 7px;
|
|
93
|
+
height: 7px;
|
|
94
|
+
border-radius: 9999px;
|
|
95
|
+
background: var(--od-cyan);
|
|
96
|
+
}
|
|
97
|
+
.od-bullets.amber li::before {
|
|
98
|
+
background: var(--od-amber);
|
|
99
|
+
}
|
|
100
|
+
.od-bullets.emerald li::before {
|
|
101
|
+
background: var(--od-emerald);
|
|
102
|
+
}
|
|
103
|
+
.od-bullets.violet li::before {
|
|
104
|
+
background: var(--od-violet);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.od-bullets.od-bullets-tight {
|
|
108
|
+
margin: 0 !important;
|
|
109
|
+
padding: 0 !important;
|
|
110
|
+
}
|
|
111
|
+
.od-bullets.od-bullets-tight li {
|
|
112
|
+
padding-left: 1.5rem;
|
|
113
|
+
margin-bottom: 0.6rem;
|
|
114
|
+
line-height: 1.45;
|
|
115
|
+
}
|
|
116
|
+
.od-bullets.od-bullets-tight li:last-child {
|
|
117
|
+
margin-bottom: 0;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/* Muted overline label for sub-sections within a slide */
|
|
121
|
+
.od-intro-label {
|
|
122
|
+
font-size: calc(0.9rem * var(--deck-text-scale, 1));
|
|
123
|
+
font-weight: 510;
|
|
124
|
+
letter-spacing: 0.16em;
|
|
125
|
+
text-transform: uppercase;
|
|
126
|
+
color: var(--od-text-faint);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* ── Intro photo ── */
|
|
130
|
+
.od-intro-photo {
|
|
131
|
+
width: 100%;
|
|
132
|
+
max-width: 420px;
|
|
133
|
+
aspect-ratio: 1;
|
|
134
|
+
border-radius: 10px;
|
|
135
|
+
border: 1px solid var(--od-border);
|
|
136
|
+
box-shadow: 0 4px 32px rgba(var(--od-glow-primary-rgb), 0.06);
|
|
137
|
+
background-size: cover;
|
|
138
|
+
background-position: center;
|
|
139
|
+
justify-self: center;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/* ── Comparison table ── */
|
|
143
|
+
.od-compare {
|
|
144
|
+
width: 100%;
|
|
145
|
+
border-collapse: collapse;
|
|
146
|
+
margin-top: 1.5rem;
|
|
147
|
+
}
|
|
148
|
+
.od-compare th {
|
|
149
|
+
padding: 0.95rem 1.2rem;
|
|
150
|
+
font-size: calc(0.95rem * var(--deck-text-scale, 1));
|
|
151
|
+
font-weight: 510;
|
|
152
|
+
letter-spacing: 0.08em;
|
|
153
|
+
text-transform: uppercase;
|
|
154
|
+
color: var(--od-text-muted);
|
|
155
|
+
text-align: left;
|
|
156
|
+
border-bottom: 1px solid var(--od-border);
|
|
157
|
+
}
|
|
158
|
+
.od-compare th:not(:first-child) {
|
|
159
|
+
text-align: right;
|
|
160
|
+
}
|
|
161
|
+
.od-compare td {
|
|
162
|
+
padding: 1.05rem 1.2rem;
|
|
163
|
+
font-size: calc(1.28rem * var(--deck-text-scale, 1));
|
|
164
|
+
color: var(--od-text-secondary);
|
|
165
|
+
border-bottom: 1px solid var(--od-border-subtle);
|
|
166
|
+
}
|
|
167
|
+
.od-compare td:not(:first-child) {
|
|
168
|
+
text-align: right;
|
|
169
|
+
font-family: var(--od-font-sans);
|
|
170
|
+
font-size: calc(1.18rem * var(--deck-text-scale, 1));
|
|
171
|
+
}
|
|
172
|
+
.od-compare td.rose {
|
|
173
|
+
color: var(--od-rose);
|
|
174
|
+
}
|
|
175
|
+
.od-compare td.amber {
|
|
176
|
+
color: var(--od-amber-soft);
|
|
177
|
+
}
|
|
178
|
+
.od-compare td.green {
|
|
179
|
+
color: var(--od-emerald);
|
|
180
|
+
}
|
|
181
|
+
.od-compare td.dim {
|
|
182
|
+
color: var(--od-text-faint);
|
|
183
|
+
}
|
|
184
|
+
.od-compare tr:last-child td {
|
|
185
|
+
border-bottom: none;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/* ── Quote block ── */
|
|
189
|
+
.od-quote {
|
|
190
|
+
margin: 2rem 0;
|
|
191
|
+
padding: 1.8rem 2.2rem;
|
|
192
|
+
background: var(--od-surface);
|
|
193
|
+
border-left: 3px solid var(--od-cyan);
|
|
194
|
+
border-radius: 0 12px 12px 0;
|
|
195
|
+
font-size: calc(1.5rem * var(--deck-text-scale, 1));
|
|
196
|
+
font-style: italic;
|
|
197
|
+
line-height: 1.55 !important;
|
|
198
|
+
color: var(--od-text-secondary);
|
|
199
|
+
}
|
|
200
|
+
.od-quote-cite {
|
|
201
|
+
display: block;
|
|
202
|
+
margin-top: 1rem;
|
|
203
|
+
font-size: calc(1.08rem * var(--deck-text-scale, 1));
|
|
204
|
+
font-style: normal;
|
|
205
|
+
color: var(--od-text-faint);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/* ── Key-value pair rows ── */
|
|
209
|
+
.od-kv-grid {
|
|
210
|
+
display: grid;
|
|
211
|
+
grid-template-columns: auto 1fr;
|
|
212
|
+
gap: 0.8rem 2rem;
|
|
213
|
+
margin-top: 1.5rem;
|
|
214
|
+
}
|
|
215
|
+
.od-kv-key {
|
|
216
|
+
font-family: var(--od-font-sans);
|
|
217
|
+
font-size: calc(1.05rem * var(--deck-text-scale, 1));
|
|
218
|
+
font-weight: 500;
|
|
219
|
+
color: var(--od-text);
|
|
220
|
+
}
|
|
221
|
+
.od-kv-val {
|
|
222
|
+
font-size: calc(1.05rem * var(--deck-text-scale, 1));
|
|
223
|
+
color: var(--od-text-muted);
|
|
224
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Inter, self-hosted. The decks name the family `Inter` in their headmatter
|
|
3
|
+
* fonts with `provider: none`, so no page requests Google Fonts. These are
|
|
4
|
+
* @fontsource-variable/inter's variable (wght 100-900) subsets, renamed from
|
|
5
|
+
* `Inter Variable` to `Inter`: one file per subset serves every weight the
|
|
6
|
+
* decks use (300, 400, 510, 590, 700), as Google's Inter does.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
@font-face {
|
|
10
|
+
font-family: "Inter";
|
|
11
|
+
font-style: normal;
|
|
12
|
+
font-display: swap;
|
|
13
|
+
font-weight: 100 900;
|
|
14
|
+
src: url(./fonts/inter-cyrillic-ext-wght-normal.woff2) format("woff2-variations");
|
|
15
|
+
unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@font-face {
|
|
19
|
+
font-family: "Inter";
|
|
20
|
+
font-style: normal;
|
|
21
|
+
font-display: swap;
|
|
22
|
+
font-weight: 100 900;
|
|
23
|
+
src: url(./fonts/inter-cyrillic-wght-normal.woff2) format("woff2-variations");
|
|
24
|
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@font-face {
|
|
28
|
+
font-family: "Inter";
|
|
29
|
+
font-style: normal;
|
|
30
|
+
font-display: swap;
|
|
31
|
+
font-weight: 100 900;
|
|
32
|
+
src: url(./fonts/inter-greek-ext-wght-normal.woff2) format("woff2-variations");
|
|
33
|
+
unicode-range: U+1F00-1FFF;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@font-face {
|
|
37
|
+
font-family: "Inter";
|
|
38
|
+
font-style: normal;
|
|
39
|
+
font-display: swap;
|
|
40
|
+
font-weight: 100 900;
|
|
41
|
+
src: url(./fonts/inter-greek-wght-normal.woff2) format("woff2-variations");
|
|
42
|
+
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@font-face {
|
|
46
|
+
font-family: "Inter";
|
|
47
|
+
font-style: normal;
|
|
48
|
+
font-display: swap;
|
|
49
|
+
font-weight: 100 900;
|
|
50
|
+
src: url(./fonts/inter-vietnamese-wght-normal.woff2) format("woff2-variations");
|
|
51
|
+
unicode-range:
|
|
52
|
+
U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@font-face {
|
|
56
|
+
font-family: "Inter";
|
|
57
|
+
font-style: normal;
|
|
58
|
+
font-display: swap;
|
|
59
|
+
font-weight: 100 900;
|
|
60
|
+
src: url(./fonts/inter-latin-ext-wght-normal.woff2) format("woff2-variations");
|
|
61
|
+
unicode-range:
|
|
62
|
+
U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@font-face {
|
|
66
|
+
font-family: "Inter";
|
|
67
|
+
font-style: normal;
|
|
68
|
+
font-display: swap;
|
|
69
|
+
font-weight: 100 900;
|
|
70
|
+
src: url(./fonts/inter-latin-wght-normal.woff2) format("woff2-variations");
|
|
71
|
+
unicode-range:
|
|
72
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
73
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@import "./fonts.css";
|
|
2
|
+
@import "./compat.css";
|
|
3
|
+
@import "./base.css";
|
|
4
|
+
@import "./layout.css";
|
|
5
|
+
@import "./components.css";
|
|
6
|
+
@import "./stats.css";
|
|
7
|
+
@import "./story-frame.css";
|
|
8
|
+
@import "./story-marks.css";
|
|
9
|
+
@import "../story/story-stage.css";
|
|
10
|
+
@import "../story/story-card.css";
|
|
11
|
+
@import "../story/story-link.css";
|
|
12
|
+
@import "../chrome/od-qr-card.css";
|
|
13
|
+
@import "../chrome/od-byline.css";
|
|
14
|
+
@import "../chrome/od-cover-head.css";
|
|
15
|
+
@import "../chrome/od-logo.css";
|
|
16
|
+
@import "./story-transition.css";
|
|
17
|
+
@import "../ink/unit-grid.css";
|
|
18
|
+
@import "../ink/ink-ping.css";
|
|
19
|
+
@import "../ink/code-ink.css";
|
|
20
|
+
@import "../ink/graph-3d.css";
|
|
21
|
+
@import "../ink/ink-number.css";
|
|
22
|
+
@import "../ink/ink-chip.css";
|
|
23
|
+
@import "../ink/ink-rule.css";
|
|
24
|
+
@import "../ink/ink-card-rect.css";
|
|
25
|
+
@import "../chrome/od-eyebrow.css";
|
|
26
|
+
@import "../ink/ink-line.css";
|
|
27
|
+
@import "../ink/ink-bars.css";
|
|
28
|
+
@import "../ink/ink-timeline.css";
|
|
29
|
+
@import "../ink/ink-timeline-cursor.css";
|
|
30
|
+
@import "../ink/underline.css";
|
|
31
|
+
.oc-slide-chart {
|
|
32
|
+
min-height: 1px;
|
|
33
|
+
}
|
|
34
|
+
.oc-slide-chart .oc-root {
|
|
35
|
+
background: transparent;
|
|
36
|
+
}
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
/* ── Slide scaffolding ── */
|
|
2
|
+
.od-slide {
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 100%;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
padding: 4.4cqh 5.7cqw;
|
|
8
|
+
padding-bottom: max(4.4cqh, var(--deck-credit-space, 0px));
|
|
9
|
+
background: var(--od-canvas);
|
|
10
|
+
color: var(--od-text);
|
|
11
|
+
font-feature-settings: "cv01", "ss03";
|
|
12
|
+
-webkit-font-smoothing: antialiased;
|
|
13
|
+
-moz-osx-font-smoothing: grayscale;
|
|
14
|
+
text-rendering: optimizeLegibility;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* ── Cover (cyan + blue glow) ── */
|
|
18
|
+
.od-slide.is-cover,
|
|
19
|
+
.od-slide.is-close {
|
|
20
|
+
justify-content: space-between;
|
|
21
|
+
padding: 8.1cqh 5.7cqw;
|
|
22
|
+
padding-bottom: max(8.1cqh, var(--deck-credit-space, 0px));
|
|
23
|
+
}
|
|
24
|
+
.od-slide.is-cover {
|
|
25
|
+
background:
|
|
26
|
+
radial-gradient(
|
|
27
|
+
57cqw 70cqh at 86% 12%,
|
|
28
|
+
rgba(var(--od-glow-primary-rgb), 0.1),
|
|
29
|
+
rgba(var(--od-glow-primary-rgb), 0) 55%
|
|
30
|
+
),
|
|
31
|
+
radial-gradient(
|
|
32
|
+
43cqw 57cqh at 8% 102%,
|
|
33
|
+
rgba(var(--od-glow-secondary-rgb), 0.07),
|
|
34
|
+
rgba(var(--od-glow-secondary-rgb), 0) 55%
|
|
35
|
+
),
|
|
36
|
+
var(--od-canvas-cover);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* ── Close slide (cover layout, softer cyan + accent glow) ──
|
|
40
|
+
Accent defaults to blue; glow-* modifiers swap the second gradient. */
|
|
41
|
+
.od-slide.is-close {
|
|
42
|
+
background:
|
|
43
|
+
radial-gradient(
|
|
44
|
+
57cqw 70cqh at 86% 12%,
|
|
45
|
+
rgba(var(--od-glow-primary-rgb), 0.08),
|
|
46
|
+
rgba(var(--od-glow-primary-rgb), 0) 55%
|
|
47
|
+
),
|
|
48
|
+
radial-gradient(
|
|
49
|
+
43cqw 57cqh at 8% 102%,
|
|
50
|
+
var(--od-glow-soft, rgba(var(--od-glow-secondary-rgb), 0.06)),
|
|
51
|
+
var(--od-glow-fade, rgba(var(--od-glow-secondary-rgb), 0)) 55%
|
|
52
|
+
),
|
|
53
|
+
var(--od-canvas-cover);
|
|
54
|
+
}
|
|
55
|
+
.od-close-body {
|
|
56
|
+
flex: 1;
|
|
57
|
+
min-height: 0;
|
|
58
|
+
display: flex;
|
|
59
|
+
align-items: center;
|
|
60
|
+
gap: 4cqw;
|
|
61
|
+
padding: 2cqh 0;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/* ── Glow accent modifiers (consumed by is-section and is-close) ── */
|
|
65
|
+
.od-slide.glow-amber {
|
|
66
|
+
--od-glow-soft: rgba(var(--od-glow-amber-rgb), 0.06);
|
|
67
|
+
--od-glow-fade: rgba(var(--od-glow-amber-rgb), 0);
|
|
68
|
+
}
|
|
69
|
+
.od-slide.glow-violet {
|
|
70
|
+
--od-glow-soft: rgba(var(--od-glow-violet-rgb), 0.06);
|
|
71
|
+
--od-glow-fade: rgba(var(--od-glow-violet-rgb), 0);
|
|
72
|
+
}
|
|
73
|
+
.od-slide.glow-emerald {
|
|
74
|
+
--od-glow-soft: rgba(var(--od-glow-emerald-rgb), 0.06);
|
|
75
|
+
--od-glow-fade: rgba(var(--od-glow-emerald-rgb), 0);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/* ── Chart slide ── */
|
|
79
|
+
.od-slide.is-chart {
|
|
80
|
+
padding-top: 3.4cqh;
|
|
81
|
+
padding-bottom: max(3cqh, var(--deck-credit-space, 0px));
|
|
82
|
+
}
|
|
83
|
+
.od-chart-host {
|
|
84
|
+
flex: 1;
|
|
85
|
+
min-height: 0;
|
|
86
|
+
margin-top: 1.5rem;
|
|
87
|
+
}
|
|
88
|
+
.od-chart-host--full {
|
|
89
|
+
margin-top: 0;
|
|
90
|
+
}
|
|
91
|
+
.od-chart-host .oc-root {
|
|
92
|
+
background: transparent !important;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/* ── Two-column ── */
|
|
96
|
+
.od-twocol {
|
|
97
|
+
flex: 1;
|
|
98
|
+
display: grid;
|
|
99
|
+
grid-template-columns: 1fr 1fr;
|
|
100
|
+
gap: 5cqw;
|
|
101
|
+
align-items: center;
|
|
102
|
+
}
|
|
103
|
+
.od-twocol.wide-left {
|
|
104
|
+
grid-template-columns: 1.2fr 0.8fr;
|
|
105
|
+
}
|
|
106
|
+
.od-twocol.wide-right {
|
|
107
|
+
grid-template-columns: 0.85fr 1.15fr;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/* ── Timeline ── */
|
|
111
|
+
.od-slide.is-timeline {
|
|
112
|
+
padding-top: 3.6cqh;
|
|
113
|
+
padding-bottom: max(3cqh, var(--deck-credit-space, 0px));
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* ── Section divider slide ── */
|
|
117
|
+
.od-slide.is-section {
|
|
118
|
+
justify-content: center;
|
|
119
|
+
align-items: flex-start;
|
|
120
|
+
padding: 8cqh 8cqw;
|
|
121
|
+
padding-bottom: max(8cqh, var(--deck-credit-space, 0px));
|
|
122
|
+
background:
|
|
123
|
+
radial-gradient(
|
|
124
|
+
40cqw 40cqh at 80% 50%,
|
|
125
|
+
var(--od-glow-soft, rgba(var(--od-glow-primary-rgb), 0.06)),
|
|
126
|
+
transparent 60%
|
|
127
|
+
),
|
|
128
|
+
var(--od-canvas);
|
|
129
|
+
}
|
|
130
|
+
.od-slide.is-section {
|
|
131
|
+
position: relative;
|
|
132
|
+
}
|
|
133
|
+
.od-slide.is-section .od-footer {
|
|
134
|
+
position: absolute;
|
|
135
|
+
left: 8cqw;
|
|
136
|
+
right: 8cqw;
|
|
137
|
+
bottom: 4.4cqh;
|
|
138
|
+
margin-top: 0;
|
|
139
|
+
}
|
|
140
|
+
.od-section-num {
|
|
141
|
+
font-family: var(--od-font-sans);
|
|
142
|
+
font-size: calc(1.3rem * var(--deck-text-scale, 1));
|
|
143
|
+
font-weight: 500;
|
|
144
|
+
color: var(--od-cyan);
|
|
145
|
+
margin-bottom: 1.4rem;
|
|
146
|
+
letter-spacing: 0.05em;
|
|
147
|
+
}
|
|
148
|
+
.od-section-num.amber {
|
|
149
|
+
color: var(--od-amber);
|
|
150
|
+
}
|
|
151
|
+
.od-section-num.violet {
|
|
152
|
+
color: var(--od-violet);
|
|
153
|
+
}
|
|
154
|
+
.od-section-num.emerald {
|
|
155
|
+
color: var(--od-emerald);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/* ── Section divider WITH a visualization (two-column) ── */
|
|
159
|
+
.od-slide.is-section.is-section-viz {
|
|
160
|
+
flex-direction: row;
|
|
161
|
+
align-items: center;
|
|
162
|
+
gap: 5cqw;
|
|
163
|
+
padding: 8cqh 8cqw;
|
|
164
|
+
padding-bottom: max(8cqh, var(--deck-credit-space, 0px));
|
|
165
|
+
background:
|
|
166
|
+
radial-gradient(46cqw 52cqh at 78% 50%, rgba(var(--od-glow-rose-rgb), 0.07), transparent 62%),
|
|
167
|
+
var(--od-canvas);
|
|
168
|
+
}
|
|
169
|
+
.od-section-head {
|
|
170
|
+
flex: 0 0 40%;
|
|
171
|
+
max-width: 40%;
|
|
172
|
+
}
|
|
173
|
+
.od-section-viz {
|
|
174
|
+
flex: 1 1 auto;
|
|
175
|
+
min-width: 0;
|
|
176
|
+
display: flex;
|
|
177
|
+
flex-direction: column;
|
|
178
|
+
align-items: stretch;
|
|
179
|
+
justify-content: center;
|
|
180
|
+
gap: 2.2rem;
|
|
181
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/* ── Big-stat metrics ── */
|
|
2
|
+
.od-stats {
|
|
3
|
+
flex: 1;
|
|
4
|
+
display: grid;
|
|
5
|
+
grid-template-columns: repeat(4, 1fr);
|
|
6
|
+
align-items: center;
|
|
7
|
+
background: radial-gradient(
|
|
8
|
+
52cqw 33cqh at 50% 52%,
|
|
9
|
+
rgba(var(--od-glow-primary-rgb), 0.05),
|
|
10
|
+
rgba(var(--od-glow-primary-rgb), 0) 66%
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
.od-stats.three-col {
|
|
14
|
+
grid-template-columns: repeat(3, 1fr);
|
|
15
|
+
}
|
|
16
|
+
.od-stat {
|
|
17
|
+
padding: 0 2.5cqw;
|
|
18
|
+
}
|
|
19
|
+
.od-stat + .od-stat {
|
|
20
|
+
border-left: 1px solid var(--od-border);
|
|
21
|
+
}
|
|
22
|
+
.od-stat-num {
|
|
23
|
+
font-family: var(--od-font-sans);
|
|
24
|
+
font-size: calc(5rem * var(--deck-text-scale, 1));
|
|
25
|
+
font-weight: 500;
|
|
26
|
+
letter-spacing: -0.04em;
|
|
27
|
+
line-height: 1;
|
|
28
|
+
background: linear-gradient(168deg, var(--od-text-highlight) 32%, var(--od-cyan-soft) 128%);
|
|
29
|
+
-webkit-background-clip: text;
|
|
30
|
+
background-clip: text;
|
|
31
|
+
-webkit-text-fill-color: transparent;
|
|
32
|
+
color: transparent;
|
|
33
|
+
}
|
|
34
|
+
.od-stat-num.amber-grad {
|
|
35
|
+
background: linear-gradient(168deg, var(--od-text-highlight) 32%, var(--od-amber-soft) 128%);
|
|
36
|
+
-webkit-background-clip: text;
|
|
37
|
+
background-clip: text;
|
|
38
|
+
}
|
|
39
|
+
.od-stat-num.cyan-grad {
|
|
40
|
+
background: linear-gradient(168deg, var(--od-text-highlight) 32%, var(--od-cyan-soft) 128%);
|
|
41
|
+
-webkit-background-clip: text;
|
|
42
|
+
background-clip: text;
|
|
43
|
+
}
|
|
44
|
+
.od-stat-num.violet-grad {
|
|
45
|
+
background: linear-gradient(168deg, var(--od-text-highlight) 32%, var(--od-violet) 128%);
|
|
46
|
+
-webkit-background-clip: text;
|
|
47
|
+
background-clip: text;
|
|
48
|
+
}
|
|
49
|
+
.od-stat-num .unit {
|
|
50
|
+
font-size: calc(2.8rem * var(--deck-text-scale, 1));
|
|
51
|
+
-webkit-text-fill-color: var(--od-text-muted);
|
|
52
|
+
color: var(--od-text-muted);
|
|
53
|
+
}
|
|
54
|
+
.od-stat-label {
|
|
55
|
+
margin-top: 1.1rem;
|
|
56
|
+
font-size: calc(1.32rem * var(--deck-text-scale, 1));
|
|
57
|
+
color: var(--od-text-muted);
|
|
58
|
+
}
|
|
59
|
+
.od-stat-delta {
|
|
60
|
+
margin-top: 0.6rem;
|
|
61
|
+
font-family: var(--od-font-sans);
|
|
62
|
+
font-size: calc(1.02rem * var(--deck-text-scale, 1));
|
|
63
|
+
}
|
|
64
|
+
.od-stat-delta.up {
|
|
65
|
+
color: var(--od-emerald);
|
|
66
|
+
}
|
|
67
|
+
.od-stat-delta.down {
|
|
68
|
+
color: var(--od-rose);
|
|
69
|
+
}
|
|
70
|
+
.od-stat-delta.flat {
|
|
71
|
+
color: var(--od-text-faint);
|
|
72
|
+
}
|
|
73
|
+
.od-stat-delta.amber {
|
|
74
|
+
color: var(--od-amber);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.od-stat-block {
|
|
78
|
+
display: flex;
|
|
79
|
+
flex-direction: column;
|
|
80
|
+
gap: 1.4rem;
|
|
81
|
+
}
|
|
82
|
+
.od-stat-row {
|
|
83
|
+
display: flex;
|
|
84
|
+
flex-direction: column;
|
|
85
|
+
}
|
|
86
|
+
.od-stat-row .od-stat-value {
|
|
87
|
+
font-family: var(--od-font-sans);
|
|
88
|
+
font-size: calc(2.8rem * var(--deck-text-scale, 1));
|
|
89
|
+
font-weight: 800;
|
|
90
|
+
line-height: 1.1;
|
|
91
|
+
letter-spacing: -0.04em;
|
|
92
|
+
}
|