slidev-theme-neversink 0.0.0

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.
Files changed (147) hide show
  1. package/.github/workflows/deploy.yml +67 -0
  2. package/.prettierrc +15 -0
  3. package/.vscode/settings.json +4 -0
  4. package/LICENSE +21 -0
  5. package/README.md +112 -0
  6. package/assets/nyu_long_black_on_white.svg +41 -0
  7. package/components/Admonition.vue +80 -0
  8. package/components/AdmonitionType.vue +56 -0
  9. package/components/CreditScroll.vue +94 -0
  10. package/components/SpeechBubble.vue +294 -0
  11. package/components/StickyNote.vue +71 -0
  12. package/components/vue3-kawaii/README.md +5 -0
  13. package/components/vue3-kawaii/components/backpack/BackPack.vue +123 -0
  14. package/components/vue3-kawaii/components/backpack/backpackpaths.js +17 -0
  15. package/components/vue3-kawaii/components/browser/Browser.vue +56 -0
  16. package/components/vue3-kawaii/components/browser/browserpaths.js +9 -0
  17. package/components/vue3-kawaii/components/cat/Cat.vue +89 -0
  18. package/components/vue3-kawaii/components/cat/catpaths.js +8 -0
  19. package/components/vue3-kawaii/components/common/face/Face.vue +95 -0
  20. package/components/vue3-kawaii/components/common/face/facepaths.js +24 -0
  21. package/components/vue3-kawaii/components/common/wrapper/Wrapper.vue +24 -0
  22. package/components/vue3-kawaii/components/creditCard/CreditCard.vue +47 -0
  23. package/components/vue3-kawaii/components/creditCard/creditcardpaths.js +8 -0
  24. package/components/vue3-kawaii/components/ghost/Ghost.vue +48 -0
  25. package/components/vue3-kawaii/components/ghost/ghostpaths.js +8 -0
  26. package/components/vue3-kawaii/components/iceCream/IceCream.vue +49 -0
  27. package/components/vue3-kawaii/components/iceCream/icecreampaths.js +9 -0
  28. package/components/vue3-kawaii/components/mug/Mug.vue +48 -0
  29. package/components/vue3-kawaii/components/mug/mugpaths.js +7 -0
  30. package/components/vue3-kawaii/components/planet/Planet.vue +58 -0
  31. package/components/vue3-kawaii/components/planet/planetpaths.js +7 -0
  32. package/components/vue3-kawaii/components/speechBubble/SpeechBubbleGuy.vue +63 -0
  33. package/components/vue3-kawaii/components/speechBubble/speechbubblepaths.js +8 -0
  34. package/components/vue3-kawaii/utils/getUniqueId.js +10 -0
  35. package/docs/.vitepress/config.js +75 -0
  36. package/docs/.vitepress/theme/index.js +50 -0
  37. package/docs/.vitepress/theme/style.css +145 -0
  38. package/docs/api-examples.md +49 -0
  39. package/docs/branding.md +43 -0
  40. package/docs/colors.md +108 -0
  41. package/docs/components/admonitions.md +106 -0
  42. package/docs/components/creditscroll.md +1 -0
  43. package/docs/components/kawaii.md +26 -0
  44. package/docs/components/qrcode.md +24 -0
  45. package/docs/components/speechbubble.md +69 -0
  46. package/docs/components/stickynote.md +54 -0
  47. package/docs/components.md +19 -0
  48. package/docs/contributing.md +5 -0
  49. package/docs/customizing.md +38 -0
  50. package/docs/getting-started.md +32 -0
  51. package/docs/index.md +19 -0
  52. package/docs/layouts/cover.md +69 -0
  53. package/docs/layouts/credits.md +111 -0
  54. package/docs/layouts/default.md +88 -0
  55. package/docs/layouts/full.md +131 -0
  56. package/docs/layouts/intro.md +63 -0
  57. package/docs/layouts/quote.md +51 -0
  58. package/docs/layouts/section.md +67 -0
  59. package/docs/layouts/side-title.md +180 -0
  60. package/docs/layouts/top-title-two-cols.md +171 -0
  61. package/docs/layouts/top-title.md +103 -0
  62. package/docs/layouts/two-cols-title.md +273 -0
  63. package/docs/layouts.md +92 -0
  64. package/docs/markdown-examples.md +85 -0
  65. package/docs/markdown.md +87 -0
  66. package/docs/parts/columnsystem.md +18 -0
  67. package/docs/parts/layoutpicker.md +73 -0
  68. package/docs/public/deck.png +0 -0
  69. package/docs/public/layouts/side-title-12row.svg +27 -0
  70. package/docs/public/layouts/side-title-is-3.svg +7 -0
  71. package/docs/public/layouts/side-title-is-6.svg +7 -0
  72. package/docs/public/layouts/side-title-side.svg +13 -0
  73. package/docs/public/layouts/two-col-title-12row.svg +31 -0
  74. package/docs/public/layouts/two-col-title-align.svg +13 -0
  75. package/docs/public/layouts/two-col-title-is-4.svg +23 -0
  76. package/docs/public/layouts/two-col-title-is-6.svg +23 -0
  77. package/docs/public/layouts/two-col-title-titlepos.svg +31 -0
  78. package/docs/public/screenshots/1.png +0 -0
  79. package/docs/public/screenshots/10.png +0 -0
  80. package/docs/public/screenshots/11.png +0 -0
  81. package/docs/public/screenshots/12.png +0 -0
  82. package/docs/public/screenshots/13.png +0 -0
  83. package/docs/public/screenshots/14.png +0 -0
  84. package/docs/public/screenshots/15.png +0 -0
  85. package/docs/public/screenshots/16.png +0 -0
  86. package/docs/public/screenshots/17.png +0 -0
  87. package/docs/public/screenshots/18.png +0 -0
  88. package/docs/public/screenshots/19.png +0 -0
  89. package/docs/public/screenshots/2.png +0 -0
  90. package/docs/public/screenshots/20.png +0 -0
  91. package/docs/public/screenshots/21.png +0 -0
  92. package/docs/public/screenshots/22.png +0 -0
  93. package/docs/public/screenshots/23.png +0 -0
  94. package/docs/public/screenshots/24.png +0 -0
  95. package/docs/public/screenshots/25.png +0 -0
  96. package/docs/public/screenshots/26.png +0 -0
  97. package/docs/public/screenshots/27.png +0 -0
  98. package/docs/public/screenshots/28.png +0 -0
  99. package/docs/public/screenshots/29.png +0 -0
  100. package/docs/public/screenshots/3.png +0 -0
  101. package/docs/public/screenshots/30.png +0 -0
  102. package/docs/public/screenshots/31.png +0 -0
  103. package/docs/public/screenshots/32.png +0 -0
  104. package/docs/public/screenshots/33.png +0 -0
  105. package/docs/public/screenshots/34.png +0 -0
  106. package/docs/public/screenshots/35.png +0 -0
  107. package/docs/public/screenshots/36.png +0 -0
  108. package/docs/public/screenshots/37.png +0 -0
  109. package/docs/public/screenshots/38.png +0 -0
  110. package/docs/public/screenshots/4.png +0 -0
  111. package/docs/public/screenshots/5.png +0 -0
  112. package/docs/public/screenshots/6.png +0 -0
  113. package/docs/public/screenshots/7.png +0 -0
  114. package/docs/public/screenshots/8.png +0 -0
  115. package/docs/public/screenshots/9.png +0 -0
  116. package/example.md +1503 -0
  117. package/layoutHelper.ts +118 -0
  118. package/layouts/cover.vue +93 -0
  119. package/layouts/credits.vue +35 -0
  120. package/layouts/default.vue +18 -0
  121. package/layouts/four-cell.vue +210 -0
  122. package/layouts/full.vue +22 -0
  123. package/layouts/intro.vue +75 -0
  124. package/layouts/quote.vue +62 -0
  125. package/layouts/section.vue +84 -0
  126. package/layouts/side-title.vue +142 -0
  127. package/layouts/top-title-two-cols.vue +131 -0
  128. package/layouts/top-title.vue +63 -0
  129. package/layouts/two-cols-title.vue +176 -0
  130. package/layouts/two-cols.vue +141 -0
  131. package/package.json +54 -0
  132. package/public/images/photo.png +0 -0
  133. package/public/images/photo2.png +0 -0
  134. package/public/images/scatter1.png +0 -0
  135. package/public/images/scatter1.svg +20 -0
  136. package/screenshot.md +874 -0
  137. package/setup/main.ts +45 -0
  138. package/setup/shiki.ts +14 -0
  139. package/slide-bottom.vue +107 -0
  140. package/styles/base.css +240 -0
  141. package/styles/bubbles.css +4 -0
  142. package/styles/colors.css +12 -0
  143. package/styles/index.ts +11 -0
  144. package/styles/layouts.css +76 -0
  145. package/styles/stickynote.css +4 -0
  146. package/uno.config.ts +222 -0
  147. package/vite.config.ts +16 -0
package/screenshot.md ADDED
@@ -0,0 +1,874 @@
1
+ ---
2
+ colorSchema: light
3
+ layout: cover
4
+ routerMode: hash
5
+ title: Screenshot Deck
6
+ theme: ./
7
+ neversink_slug: 'Neversink Example Deck'
8
+ ---
9
+
10
+ # Screenshot deck for the Neversink theme
11
+
12
+
13
+ ---
14
+ layout: cover
15
+ color: light
16
+ ---
17
+
18
+ # This is my slide title
19
+
20
+ by **My Author**
21
+
22
+ :: note ::
23
+
24
+ \* This is a note about the slide.
25
+
26
+
27
+ ---
28
+ layout: cover
29
+ color: emerald-light
30
+ ---
31
+
32
+ # It's not easy being green
33
+
34
+ by **Kermit the Frog**
35
+
36
+ :: note ::
37
+
38
+ \* This is emerald, not green.
39
+
40
+ ---
41
+ layout: intro
42
+ color: light
43
+ ---
44
+
45
+ # This is my intro slide
46
+
47
+ by **My Author**
48
+
49
+ :: note ::
50
+
51
+ \* This is a note about the slide.
52
+
53
+
54
+ ---
55
+ layout: intro
56
+ color: indigo
57
+ ---
58
+
59
+ # This is my intro slide in indigo
60
+
61
+ by **My Author**
62
+
63
+ :: note ::
64
+
65
+ \* This is a note about the slide.
66
+
67
+
68
+ ---
69
+ layout: default
70
+ ---
71
+
72
+ # This is the `default` layout
73
+
74
+ This is kind of the basic slide. The main content is interpreted as
75
+ markdown and rendered in the center of the slide.
76
+
77
+ Speaking of markdown, you can use markdown to make things **bold** or
78
+ _italic_ or even `code` like `this`. In **Neversink** you can also
79
+ ==highlight things using the double equals signs like this== thanks
80
+ to the `markdown-it-mark` plugin.
81
+
82
+ Of course you can make bullet lists:
83
+
84
+ - Hi
85
+ - There
86
+ - Bananas
87
+
88
+ and use all the Slidev [markdown features](https://sli.dev/guide/syntax) like LaTeX math $x^2$, etc...
89
+
90
+ ---
91
+ layout: default
92
+ color: navy
93
+ ---
94
+
95
+ # This is the `default` layout
96
+
97
+ This is kind of the basic slide. The main content is interpreted as
98
+ markdown and rendered in the center of the slide.
99
+
100
+ Speaking of markdown, you can use markdown to make things **bold** or
101
+ _italic_ or even `code` like `this`. In **Neversink** you can also
102
+ ==highlight things using the double equals signs like this== thanks
103
+ to the `markdown-it-mark` plugin.
104
+
105
+ Of course you can make bullet lists:
106
+
107
+ - Hi
108
+ - There
109
+ - Bananas
110
+
111
+ and use all the Slidev [markdown features](https://sli.dev/guide/syntax) like LaTeX math $x^2$, etc...
112
+
113
+ ---
114
+ layout: two-cols-title
115
+ columns: is-6
116
+ align: l-lt-lt
117
+ ---
118
+
119
+ :: title ::
120
+
121
+ # This is `two-cols-title`
122
+
123
+ :: left ::
124
+
125
+ This is a configurable layout which is very common in presentations.
126
+
127
+ - There are three slots: `:: title ::`, `:: left ::`, and `:: right ::` along with the default which is implicit before any named slots.
128
+
129
+ - It additionally provides four configuration options in the slide YAML front matter:
130
+ `color`, `columns`, `align`, and `titlepos`.
131
+
132
+ - `color` is the color scheme.
133
+
134
+ - `columns` is the relative spacing given to the left versus right column ([see docs](https://gureckis.github.io/slidev-theme-neversink/layouts/two-cols-title)).
135
+
136
+ :: right ::
137
+
138
+ - The <code>align</code> parameter determines how the columns look. The notation is for example <code>align: l-cm-cm</code>. The first part is for the header, the second for the left column, the third part is for the right column ([see docs](https://gureckis.github.io/slidev-theme-neversink/layouts/two-cols-title)).
139
+
140
+ - The <code>titlepos</code> parameter determines where the title appears. The options are `t` for top, `b` for bottom, or `n` for none/hidden. The default is `t` ([see docs](https://gureckis.github.io/slidev-theme-neversink/layouts/two-cols-title)).
141
+
142
+
143
+ ---
144
+ layout: two-cols-title
145
+ columns: is-3
146
+ align: c-lt-lt
147
+ ---
148
+
149
+ :: title ::
150
+
151
+ # This is `two-cols-title`
152
+
153
+ :: left ::
154
+
155
+ This is a configurable layout which is very common in presentations.
156
+
157
+ - There are three slots: `:: title ::`, `:: left ::`, and `:: right ::` along with the default which is implicit before any named slots.
158
+
159
+
160
+
161
+ :: right ::
162
+
163
+
164
+ - `columns` is the relative spacing given to the left versus right column ([see docs](https://gureckis.github.io/slidev-theme-neversink/layouts/two-cols-title))
165
+
166
+ - The <code>align</code> parameter determines how the columns look. The notation is for example
167
+ <code>align: l-cm-cm</code>. The first part is for the header, the second for the left column, the third part is for the right column ([see docs](https://gureckis.github.io/slidev-theme-neversink/layouts/two-cols-title))
168
+
169
+ - The <code>titlepos</code> parameter determines where the title appears. The options are `t` for top, `b` for bottom, or `n` for none/hidden. The default is `t`.([see docs](https://gureckis.github.io/slidev-theme-neversink/layouts/two-cols-title))
170
+
171
+
172
+ ---
173
+ layout: two-cols-title
174
+ columns: is-2
175
+ align: r-lt-lt
176
+ color: light
177
+ ---
178
+
179
+ This is the default slot, if you want to use it!
180
+
181
+ :: title ::
182
+
183
+ # Another example
184
+
185
+ :: left ::
186
+ This is the left column it has been shrunk down to 2 units.
187
+
188
+ :: right ::
189
+ This gave more space to the right column.
190
+
191
+ - You can put more points
192
+ - You can make them longer
193
+ - You can place more text and images here
194
+
195
+ ---
196
+ layout: two-cols-title
197
+ columns: is-2
198
+ align: c-rm-lt
199
+ color: dark
200
+ ---
201
+
202
+ <StickyNote color="amber-light" textAlign="left" width="180px" title="Hi" v-drag="[689,277,180,180,18]">
203
+
204
+ Hello, I'm a **sticky note**.
205
+ </StickyNote>
206
+
207
+ :: title ::
208
+
209
+ # This is `two-cols-title` with center title
210
+
211
+ :: left ::
212
+
213
+ The left column is `rm` which means right-middle.
214
+
215
+ :: right ::
216
+
217
+ The right content is left-top aligned `lt`.
218
+
219
+ The sticky note appears in the `:: default ::` slot and then used v-drag to move it into position.
220
+
221
+ ---
222
+ layout: two-cols-title
223
+ columns: is-3
224
+ align: r-lt-lt
225
+ titlepos: b
226
+ ---
227
+
228
+ :: title ::
229
+
230
+ # This is `two-cols-title`
231
+
232
+ :: left ::
233
+
234
+ This is a configurable layout which is very common in presentations.
235
+
236
+ - There are three slots: `:: title ::`, `:: left ::`, and `:: right ::` along with the default which is implicit before any named slots.
237
+
238
+
239
+
240
+ :: right ::
241
+
242
+ - The <code>align</code> parameter determines how the columns look. The notation is for example
243
+ <code>align: l-cm-cm</code>. The first part is for the header, the second for the left column, the third part is for the right column ([see docs](https://gureckis.github.io/slidev-theme-neversink/layouts/two-cols-title))
244
+
245
+ - The <code>titlepos</code> parameter determines where the title appears. The options are `t` for top, `b` for bottom, or `n` for none/hidden. The default is `t`.([see docs](https://gureckis.github.io/slidev-theme-neversink/layouts/two-cols-title))
246
+
247
+
248
+ ---
249
+ layout: two-cols-title
250
+ columns: is-3
251
+ align: r-lt-lt
252
+ ---
253
+
254
+
255
+ :: left ::
256
+
257
+ This is a configurable layout which is very common in presentations.
258
+
259
+ - There are three slots: `:: title ::`, `:: left ::`, and `:: right ::` along with the default which is implicit before any named slots.
260
+
261
+
262
+
263
+ :: right ::
264
+
265
+ - The <code>align</code> parameter determines how the columns look. The notation is for example
266
+ <code>align: l-cm-cm</code>. The first part is for the header, the second for the left column, the third part is for the right column ([see docs](https://gureckis.github.io/slidev-theme-neversink/layouts/two-cols-title))
267
+
268
+ - The <code>titlepos</code> parameter determines where the title appears. The options are `t` for top, `b` for bottom, or `n` for none/hidden. The default is `t`.([see docs](https://gureckis.github.io/slidev-theme-neversink/layouts/two-cols-title))
269
+
270
+
271
+ ---
272
+ layout: two-cols-title
273
+ columns: is-3
274
+ align: r-lt-lt
275
+ ---
276
+
277
+
278
+ :: title ::
279
+
280
+ # This is `two-cols-title`
281
+
282
+
283
+ :: right ::
284
+
285
+ - The <code>align</code> parameter determines how the columns look. The notation is for example
286
+ <code>align: l-cm-cm</code>. The first part is for the header, the second for the left column, the third part is for the right column ([see docs](https://gureckis.github.io/slidev-theme-neversink/layouts/two-cols-title))
287
+
288
+ - The <code>titlepos</code> parameter determines where the title appears. The options are `t` for top, `b` for bottom, or `n` for none/hidden. The default is `t`.([see docs](https://gureckis.github.io/slidev-theme-neversink/layouts/two-cols-title))
289
+
290
+
291
+ ---
292
+ layout: top-title
293
+ color: violet
294
+ align: l
295
+ ---
296
+
297
+ \* This is the default slot.
298
+
299
+ :: title ::
300
+
301
+ # This is `top-title`
302
+
303
+ :: content ::
304
+
305
+ - There are two slots: `:: title ::` and `:: content ::` along with the default which is implicit before any named slots.
306
+
307
+ - The `color` parameter determines the color scheme of the slide.
308
+
309
+ - The <code>align</code> parameter determines the alignment of the title.
310
+
311
+ If the title is missing a reasonable ribbon of color will remain.
312
+
313
+ ---
314
+ layout: top-title
315
+ color: sky
316
+ align: r
317
+ ---
318
+
319
+ :: title ::
320
+
321
+ # This is `top-title`
322
+
323
+ :: content ::
324
+
325
+ The title is right aligned.
326
+
327
+ ---
328
+ layout: top-title
329
+ color: pink
330
+ ---
331
+
332
+
333
+ :: content ::
334
+
335
+ See this has no title, but still has a color band.
336
+
337
+
338
+
339
+ ---
340
+ layout: top-title-two-cols
341
+ columns: is-6
342
+ align: l-lt-lt
343
+ color: violet
344
+ ---
345
+
346
+ \* Default slot content is here!
347
+
348
+ :: title ::
349
+
350
+ # This is `two-cols-title`
351
+
352
+ :: left ::
353
+
354
+ This is a configurable layout which is very common in presentations. It differs from `two-cols-title` in that there is a color band for the title.
355
+
356
+ - There are three slots: `:: title ::`, `:: left ::`, and `:: right ::` along with the default which is implicit before any named slots.
357
+
358
+
359
+
360
+ :: right ::
361
+
362
+ In terms of parameters:
363
+
364
+ - `columns` is the relative spacing given to the left versus right column ([see docs](https://gureckis.github.io/slidev-theme-neversink/layouts/two-cols-title))
365
+
366
+ - The <code>align</code> parameter determines how the columns look. The notation is for example
367
+ <code>align: l-cm-cm</code>. The first part is for the header, the second for the left column, the third part is for the right column ([see docs](https://gureckis.github.io/slidev-theme-neversink/layouts/top-title-two-cols))
368
+
369
+
370
+ - `color` is the color scheme to the title bar.
371
+
372
+
373
+ ---
374
+ layout: top-title-two-cols
375
+ color: pink
376
+ ---
377
+
378
+
379
+ :: right ::
380
+
381
+ This has no title or left column, but still has a color band.
382
+
383
+ ---
384
+ layout: top-title-two-cols
385
+ color: violet-light
386
+ align: r-rm-lt
387
+ columns: is-3
388
+ ---
389
+
390
+ :: title ::
391
+ # This is `two-cols-title`
392
+
393
+ :: left ::
394
+ This is a note
395
+
396
+ :: right ::
397
+ About this content on the right
398
+ - Which has various things to say
399
+ - This layout is nice to look at!
400
+
401
+
402
+ ---
403
+ layout: top-title-two-cols
404
+ columns: is-2
405
+ align: l-rm-lt
406
+ color: violet-light
407
+ ---
408
+
409
+ <StickyNote color="violet-light" textAlign="left" width="180px" title="Hi" v-drag="[689,277,180,180,18]">
410
+
411
+ Hello, I'm a matchy-matchy **sticky note**.
412
+ </StickyNote>
413
+
414
+ :: title ::
415
+
416
+ ### This is a smaller title
417
+
418
+ :: left ::
419
+
420
+ The left column is `rm` which means right-middle.
421
+
422
+ :: right ::
423
+
424
+ The right content is left-top aligned `lt`.
425
+
426
+ The sticky note appears in the `:: default ::` slot and then used v-drag to move it into position.
427
+
428
+ ---
429
+ layout: side-title
430
+ side: l
431
+ color: violet
432
+ titlewidth: is-4
433
+ align: rm-lm
434
+ title: Side Title Layout (Another)
435
+ ---
436
+
437
+ :: title ::
438
+
439
+ # `side-title`
440
+
441
+ # <mdi-arrow-right />
442
+
443
+ :: content ::
444
+
445
+ This is `layout: side-title` with `side: l` in the front matter.
446
+
447
+
448
+ ---
449
+ layout: side-title
450
+ side: r
451
+ color: pink-light
452
+ titlewidth: is-6
453
+ align: lm-lb
454
+ title: Side Title Layout (Another)
455
+ ---
456
+
457
+ :: title ::
458
+
459
+ # `side-title`
460
+
461
+ # <mdi-arrow-left />
462
+
463
+ :: content ::
464
+
465
+ This is `layout: side-title` with `side: r` in the front matter
466
+ and the right column `lb` (left-bottom) aligned.
467
+ Notice that when the title is on the right, the slide number and info
468
+ panel at the lower right has changed to match the color scheme!
469
+
470
+
471
+
472
+ ---
473
+ layout: side-title
474
+ side: l
475
+ color: amber-light
476
+ titlewidth: is-6
477
+ align: lt-lb
478
+ title: Side Title Layout (Another)
479
+ ---
480
+
481
+ :: title ::
482
+
483
+ # `side-title`
484
+
485
+ # <mdi-arrow-right />
486
+
487
+ :: content ::
488
+
489
+ This is `layout: side-title` with `side: l` in the front matter
490
+ and the left column `lt` (left-top) and the right column `lb` (left-bottom) aligned.
491
+
492
+
493
+
494
+ ---
495
+ layout: side-title
496
+ side: l
497
+ color: green-light
498
+ titlewidth: is-3
499
+ align: auto
500
+ ---
501
+
502
+ \* This is the default content
503
+
504
+ :: content ::
505
+
506
+ This slide doesn't have a title but still has a color block.
507
+
508
+
509
+ ---
510
+ layout: quote
511
+ color: sky-light
512
+ quotesize: text-m
513
+ authorsize: text-s
514
+ author: 'Todd Gureckis'
515
+ ---
516
+
517
+ "This is a quote slide. It has a frontmatter options for the size of the text (`quotesize: text2xl` and `authorsize: text-l`). I feel it is a little uninspired but might save you some time."
518
+
519
+
520
+ ---
521
+ layout: section
522
+ ---
523
+
524
+ # The `section` layout
525
+
526
+ This is a section slide. It can be use to make a noticable point or break between sections.
527
+
528
+
529
+
530
+ ---
531
+ layout: section
532
+ color: navy
533
+ ---
534
+
535
+ <div class="w-1/2 ml-30">
536
+
537
+ # The `section` layout
538
+ <hr>
539
+
540
+ <span class='text-amber-300'>
541
+ You can use HTML and inline CSS to modify the look and feel.
542
+ </span>
543
+
544
+ </div>
545
+
546
+
547
+ ---
548
+ layout: full
549
+ title: Full Layout - 2 Col Fig
550
+ ---
551
+
552
+ This is an example of using unocss atomic classes to put two figures side by side.
553
+
554
+ <div class="grid w-full h-fit grid-cols-2 grid-rows-2 mt-10 mb-auto">
555
+ <div class="grid-item grid-col-span-1"><img src="/images/scatter1.svg" /></div>
556
+ <div class="grid-item grid-col-span-1"><img src="/images/scatter1.svg" /></div>
557
+ <div class="grid-item grid-col-span-2 text-center h-fit">
558
+
559
+ **Figure show this**: this is a two column figure
560
+
561
+ </div>
562
+ </div>
563
+
564
+
565
+ ---
566
+ layout: full
567
+ color: neutral
568
+ title: Full Layout
569
+ ---
570
+
571
+ <div class='border-1px v-full h-full p-5'>
572
+
573
+ This is `layout: full` which fills the whole screen for the most part.
574
+ The grey box is just showing you the full addressable space.
575
+ Full can be useful for arbitrary layouts such as on the next slide which uses
576
+ the `v-drag` directive to position elements.
577
+
578
+ </div>
579
+
580
+
581
+ ---
582
+ layout: full
583
+ title: Full with Arbitrary Layout
584
+ ---
585
+
586
+ <div class='v-full h-full'>
587
+
588
+ <SpeechBubble position="l" shape="round" color='pink-light' v-drag="[555,342,274,58]">
589
+
590
+ Hello, I'm an **ice cream**!
591
+ </SpeechBubble>
592
+
593
+ <SpeechBubble position="bl" shape="round" color='emerald-light' v-drag="[445,258,274,57]">
594
+
595
+ Hello, I'm **kawaii**.
596
+ </SpeechBubble>
597
+
598
+ <SpeechBubble position="r" shape="round" animation="float" color='sky' v-drag="[143,391,274,84]">
599
+
600
+ I'm v-dragged out and ==floating==.
601
+ </SpeechBubble>
602
+
603
+ <IceCream :size="150" mood="lovestruck" color="#FDA7DC" v-drag="[439,341,85,150]" />
604
+
605
+ <div class="tight" v-drag="[143,33,277,214]">
606
+
607
+ <span class="bg-red-100 text-red-600 p-2 border-l-6 border-2 border-red-200 rounded-lg pl-4 pr-4">Here's a list of somethings</span>
608
+
609
+ - Novelty bonuses
610
+ - Cumulative prediction error
611
+ - Learning progress
612
+ - Surprise
613
+ - Suspense
614
+ - Information gain
615
+
616
+ </div>
617
+
618
+ <div class="tight" v-drag="[461,63,293,148,17]">
619
+
620
+ <span class="bg-emerald-100 text-emerald-500 p-2 border-l-6 border-2 border-emerald-200 rounded-lg pl-4 pr-4">Here's another list of things</span>
621
+
622
+ - Structured behaviors
623
+ - Compositional
624
+ - Communicable
625
+
626
+ </div>
627
+
628
+ </div>
629
+
630
+
631
+ ---
632
+ layout: credits
633
+ color: light
634
+ ---
635
+
636
+ <div class="grid text-size-4 grid-cols-3 w-3/4 gap-y-10 auto-rows-min ml-auto mr-auto">
637
+ <div class="grid-item text-center mr-0- col-span-3">
638
+
639
+ This is the `layout: credits` slide. It's a movie-like scrolling credits!
640
+ </div>
641
+ <div class="grid-item text-center mr-0- col-span-3">
642
+ <strong>Cast</strong><br>
643
+ <span class="font-size-3 mt-0">(In order of appearance)</span>
644
+ </div>
645
+ <div class="grid-item text-right mr-4 col-span-1"><strong>Study 1</strong></div>
646
+ <div class="grid-item col-span-2">Person 1 <i>as PhD student</i>&nbsp;<mdi-open-in-new class="font-size-3 mb-0.5" /><br/>Person 2 <i>as Co-PI</i>&nbsp;<mdi-open-in-new class="font-size-3 mb-0.5" /></div>
647
+ <div class="grid-item text-right mr-4 col-span-1"><strong>Study 2</strong></div>
648
+ <div class="grid-item col-span-2">Person 3 <i>as Postdoc</i>&nbsp;<mdi-open-in-new class="font-size-3 mb-0.5" /><br/>Person 4 <i>as Co-PI</i>&nbsp;<mdi-open-in-new class="font-size-3 mb-0.5" /></div>
649
+ <div class="grid-item text-right mr-4 col-span-1"><strong>Experiments</strong></div>
650
+ <div class="grid-item col-span-2">Smile 🫠</div>
651
+ <div class="grid-item text-right mr-4 col-span-1"><strong>Funding</strong></div>
652
+ <div class="grid-item col-span-2">National Science Foundation<br/>
653
+ National Institute of Health</div>
654
+ <div class="grid-item text-right mr-4 col-span-1"><strong>Slides</strong></div>
655
+ <div class="grid-item col-span-2">
656
+ Slidev<br/>
657
+ Unocss<br/>
658
+ Figma<br/>
659
+ Vuejs<br/>
660
+ Vite<br/>
661
+ </div>
662
+ <div class="grid-item col-span-3 text-center mt-180px mb-auto font-size-1.5rem"><strong>Questions?</strong></div>
663
+ </div>
664
+
665
+
666
+
667
+ ---
668
+ layout: credits
669
+ color: dark
670
+ speed: 4.0
671
+ loop: true
672
+ ---
673
+
674
+ <div class="grid text-size-4 grid-cols-3 w-3/4 gap-y-10 auto-rows-min ml-auto mr-auto">
675
+ <div class="grid-item text-center mr-0- col-span-3">
676
+
677
+ This is the `layout: credits` slide. It's a movie-like scrolling credits!
678
+ </div>
679
+ <div class="grid-item text-center mr-0- col-span-3">
680
+ <strong>Cast</strong><br>
681
+ <span class="font-size-3 mt-0">(In order of appearance)</span>
682
+ </div>
683
+ <div class="grid-item text-right mr-4 col-span-1"><strong>Study 1</strong></div>
684
+ <div class="grid-item col-span-2">Person 1 <i>as PhD student</i>&nbsp;<mdi-open-in-new class="font-size-3 mb-0.5" /><br/>Person 2 <i>as Co-PI</i>&nbsp;<mdi-open-in-new class="font-size-3 mb-0.5" /></div>
685
+ <div class="grid-item text-right mr-4 col-span-1"><strong>Study 2</strong></div>
686
+ <div class="grid-item col-span-2">Person 3 <i>as Postdoc</i>&nbsp;<mdi-open-in-new class="font-size-3 mb-0.5" /><br/>Person 4 <i>as Co-PI</i>&nbsp;<mdi-open-in-new class="font-size-3 mb-0.5" /></div>
687
+ <div class="grid-item text-right mr-4 col-span-1"><strong>Experiments</strong></div>
688
+ <div class="grid-item col-span-2">Smile 🫠</div>
689
+ <div class="grid-item text-right mr-4 col-span-1"><strong>Funding</strong></div>
690
+ <div class="grid-item col-span-2">National Science Foundation<br/>
691
+ National Institute of Health</div>
692
+ <div class="grid-item text-right mr-4 col-span-1"><strong>Slides</strong></div>
693
+ <div class="grid-item col-span-2">
694
+ Slidev<br/>
695
+ Unocss<br/>
696
+ Figma<br/>
697
+ Vuejs<br/>
698
+ Vite<br/>
699
+ </div>
700
+ <div class="grid-item col-span-3 text-center mt-180px mb-auto font-size-1.5rem"><strong>Questions?</strong></div>
701
+ </div>
702
+
703
+
704
+ ---
705
+ layout: two-cols-title
706
+ columns: is-6
707
+ title: Admonitions
708
+ dragPos:
709
+ admon: Left,Top,Width,Height,Rotate
710
+ "'admon'": 55,300,287,106
711
+ ---
712
+
713
+ <Admonition title="V-draggable" color='teal-light' width="300px" v-drag="[93,303,300,145,-14]">
714
+ If you want to `v-drag` an admonition, you should set the width to a fixed value.
715
+ </Admonition>
716
+
717
+ :: title ::
718
+
719
+ # Admonitions
720
+
721
+ :: left ::
722
+
723
+ - Admonitions are boxes that you can use to call out things.
724
+
725
+ <Admonition title="Custom title" color='amber-light'>
726
+ This is my admon message
727
+ </Admonition>
728
+
729
+ :: right ::
730
+
731
+ <AdmonitionType type='note' >
732
+ This is note text
733
+ </AdmonitionType>
734
+
735
+ <!--
736
+ > [!note]
737
+ > This is note text
738
+ -->
739
+
740
+ <AdmonitionType type='important' >
741
+ This is important text
742
+ </AdmonitionType>
743
+
744
+ <AdmonitionType type='tip' >
745
+ This is a tip
746
+ </AdmonitionType>
747
+
748
+ <AdmonitionType type='warning' >
749
+ This is a tip
750
+ </AdmonitionType>
751
+
752
+ <AdmonitionType type='caution' >
753
+ This is warning text
754
+ </AdmonitionType>
755
+
756
+ ---
757
+ layout: two-cols-title
758
+ columns: is-6
759
+ title: Bubbles
760
+ ---
761
+
762
+ <SpeechBubble position="l" color='sky' shape="round" v-drag="[83,364,274,109]">
763
+
764
+ Hello, I'm a **speech bubble**! I'm a longer speech bubble. I'm still going.
765
+ </SpeechBubble>
766
+
767
+ :: title ::
768
+
769
+ # SpeechBubbles
770
+
771
+ :: left ::
772
+
773
+ - SpeechBubbles are moveable elements that act as speech bubbles
774
+ - They can be configured for where you want the arrow to point
775
+ - The can be move around if you enable `v-drag` on the element
776
+
777
+ :: right ::
778
+
779
+ <SpeechBubble position="bl" color='amber-light' shape="round">
780
+
781
+ Hello, I'm a **speech bubble**! I'm a longer speech bubble. I'm still going.
782
+ Hello, I'm a **speech bubble**! I'm a longer speech bubble. I'm still going.
783
+ Hello, I'm a **speech bubble**! I'm a longer speech bubble. I'm still going.
784
+ </SpeechBubble>
785
+
786
+ ---
787
+ layout: default
788
+ title: Sticky Notes
789
+ ---
790
+
791
+ <StickyNote color="amber-light" textAlign="left" width="180px" title="Title" v-drag="[66,318,185,171]">
792
+
793
+ Hello, I'm a **sticky note**.
794
+ </StickyNote>
795
+
796
+ <StickyNote color="sky-light" textAlign="left" width="180px" title="This is my title" v-drag="[375,306,180,180,-15]">
797
+
798
+ Hello, I'm also a **sticky note** but am blue sky title.
799
+ </StickyNote>
800
+
801
+ <StickyNote color="pink-light" textAlign="left" width="180px" v-drag="[667,299,185,171,8]">
802
+
803
+ Hello, I'm also a **sticky note** but I lack a title.
804
+ </StickyNote>
805
+
806
+ # Sticky Notes
807
+
808
+ - Sticky notes are moveable elements you can use for notes.
809
+ - Syntax is
810
+
811
+ ```js
812
+ <StickyNote color="amber-light" textAlign="left" width="180px" title="Title" v-drag>
813
+ Hello, I'm a **sticky note**.
814
+ </StickyNote>
815
+ ```
816
+
817
+ ---
818
+ layout: default
819
+ title: Kawaii 1
820
+ ---
821
+
822
+ # Kawaii
823
+
824
+ - Kawaii is a Japanese term that means cute
825
+
826
+ <IceCream :size="80" mood="sad" color="#FDA7DC" />
827
+ <IceCream :size="80" mood="shocked" color="#FDA7DC" />
828
+ <IceCream :size="80" mood="happy" color="#FDA7DC" />
829
+ <IceCream :size="80" mood="blissful" color="#FDA7DC" />
830
+ <IceCream :size="80" mood="lovestruck" color="#FDA7DC" />
831
+ <IceCream :size="80" mood="excited" color="#FDA7DC" />
832
+ <IceCream :size="80" mood="ko" color="#FDA7DC" /><br/>
833
+
834
+ <BackPack :size="80" mood="sad" color="#FFD882" />
835
+ <BackPack :size="80" mood="shocked" color="#FFD882" />
836
+ <BackPack :size="80" mood="happy" color="#FFD882"/>
837
+ <BackPack :size="80" mood="blissful" color="#FFD882" />
838
+ <BackPack :size="80" mood="lovestruck" color="#FFD882" />
839
+ <BackPack :size="80" mood="excited" color="#FFD882" />
840
+ <BackPack :size="80" mood="ko" color="#FFD882" /><br/>
841
+
842
+ <Cat :size="80" mood="sad" color="#FFD882" />
843
+ <Cat :size="80" mood="shocked" color="#FFD882" />
844
+ <Cat :size="80" mood="happy" color="#FFD882"/>
845
+ <Cat :size="80" mood="blissful" color="#FFD882" />
846
+ <Cat :size="80" mood="lovestruck" color="#FFD882" />
847
+ <Cat :size="80" mood="excited" color="#FFD882" />
848
+ <Cat :size="80" mood="ko" color="#FFD882" /><br/>
849
+
850
+ <Browser :size="50" mood="lovestruck" color="#61DDBC" />
851
+ <Mug :size="50" mood="lovestruck" color="#61DDBC" />
852
+ <Planet :size="50" mood="lovestruck" color="#61DDBC" />
853
+ <SpeechBubbleGuy :size="50" mood="lovestruck" color="#d3d3d3" />
854
+ <Ghost :size="50" mood="blissful" color="#E0E4E8" />
855
+ <CreditCard :size="50" mood="blissful" color="#E0E4E8" />
856
+
857
+ ---
858
+ layout: default
859
+ title: QR Codes
860
+ ---
861
+
862
+ # In-line QR Codes
863
+
864
+ - Send people to a url with a easy to configure QR code
865
+
866
+ ```vue
867
+ <QRCode value="https://gureckislab.org" :size="200" render-as="svg" />
868
+ ```
869
+
870
+ <br />
871
+ Result:
872
+
873
+ <QRCode value="https://gureckislab.org" :size="200" render-as='svg'/>
874
+