@codename/deck 0.2.0 → 0.3.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.
- package/README.md +1 -1
- package/dist/deck.bundle.mjs +74 -74
- package/dist/deck.bundle.mjs.map +3 -3
- package/dist/deck.css +7 -0
- package/dist/deck.js +67 -60
- package/dist/deck.js.map +3 -3
- package/dist/deck.mjs +33 -33
- package/dist/deck.mjs.map +3 -3
- package/dist/template.mjs +3 -1
- package/dist/template.mjs.map +4 -4
- package/dist/types/index.d.ts +1 -1
- package/dist/types/kit.d.ts +11 -4
- package/dist/types/look.d.ts +6 -2
- package/dist/types/template.d.ts +35 -0
- package/dist/types/version.d.ts +1 -1
- package/docs/host.md +2 -2
- package/docs/kits.md +11 -2
- package/package.json +1 -1
- package/src/deck.css +7 -0
- package/src/deck.js +2 -2
- package/src/index.js +1 -1
- package/src/kit.js +27 -12
- package/src/look.js +22 -16
- package/src/pptx.js +25 -9
- package/src/render.js +4 -1
- package/src/template.js +451 -26
- package/src/version.js +1 -1
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ layout: two-cols
|
|
|
39
39
|
|
|
40
40
|
## What it does
|
|
41
41
|
|
|
42
|
-
- **Layouts and looks as kits.** Seventeen layouts come with deck, Slidev's names and PowerPoint's usual ones. A kit adds others, turns some off, and holds a design system (DTCG tokens or a few flat ones) and a
|
|
42
|
+
- **Layouts and looks as kits.** Seventeen layouts come with deck, Slidev's names and PowerPoint's usual ones. A kit adds others, turns some off, and holds a design system (DTCG tokens or a few flat ones, colours as hex or `rgb()`), a logo and the art a layout draws behind its words, as data, never CSS. A slide that names no layout gets the one its content suits. A company's PowerPoint template (or an Office theme) reads into a kit, its layouts with their pictures, shapes and words as their art, and a kit's tokens write out as DTCG. See [docs/kits.md](docs/kits.md).
|
|
43
43
|
- **Light and dark** from the same tokens, every colour held at WCAG AA on its paper.
|
|
44
44
|
- **Presenting:** full screen, a clicker's keys, steps (`<v-clicks>`), Slidev's transitions and a Morph that needs nothing written, the presenter's view with notes and a timer, all slides at once.
|
|
45
45
|
- **Charts and diagrams:** ` ```echarts ` blocks drawn by ECharts, ` ```mermaid ` blocks drawn by [Pele](https://github.com/obsidianmd/pele) (every kind Mermaid has, from 17 KB a kind), each loaded the first time a slide needs it.
|