decklight 0.1.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.
Files changed (139) hide show
  1. package/LICENSE +202 -21
  2. package/README.md +105 -183
  3. package/SPEC.md +861 -74
  4. package/cli/agents.mjs +206 -0
  5. package/cli/associate.mjs +279 -0
  6. package/cli/audit.mjs +424 -0
  7. package/cli/bundle.mjs +210 -45
  8. package/cli/deckfile.mjs +233 -0
  9. package/cli/decklight.mjs +216 -5
  10. package/cli/dev.mjs +455 -0
  11. package/cli/edit.mjs +733 -63
  12. package/cli/extension.mjs +108 -0
  13. package/cli/git.mjs +141 -0
  14. package/cli/import.mjs +398 -0
  15. package/cli/init.mjs +465 -121
  16. package/cli/loader.mjs +263 -0
  17. package/cli/marketplace.mjs +730 -0
  18. package/cli/pdf.mjs +156 -0
  19. package/cli/pkg.mjs +69 -0
  20. package/cli/plugin.mjs +646 -0
  21. package/cli/port-conflict.mjs +94 -0
  22. package/cli/present.mjs +560 -0
  23. package/cli/publish.mjs +342 -0
  24. package/cli/qr.mjs +334 -0
  25. package/cli/rec.mjs +12 -8
  26. package/cli/remote.mjs +149 -0
  27. package/cli/report-bug.mjs +97 -0
  28. package/cli/restore.mjs +174 -0
  29. package/cli/serve.mjs +247 -0
  30. package/cli/sign.mjs +216 -0
  31. package/cli/skill-content.mjs +222 -0
  32. package/cli/skills.mjs +338 -0
  33. package/cli/supervise.mjs +57 -0
  34. package/cli/theme.mjs +201 -0
  35. package/cli/units.mjs +488 -0
  36. package/cli/upgrade.mjs +250 -0
  37. package/cli/util.mjs +90 -0
  38. package/cli/wizard.mjs +432 -0
  39. package/cli/zip.mjs +121 -0
  40. package/dist/decklight.css +949 -72
  41. package/dist/decklight.js +220 -103
  42. package/dist/decklight.js.map +4 -4
  43. package/docs/architecture.svg +1 -1
  44. package/package.json +9 -6
  45. package/themes/README.md +6 -4
  46. package/themes/aurora.css +4 -1
  47. package/themes/berry.css +4 -1
  48. package/themes/carbon.css +4 -1
  49. package/themes/citrus.css +4 -1
  50. package/themes/coastal.css +4 -1
  51. package/themes/cosmos.css +4 -1
  52. package/themes/dune.css +4 -1
  53. package/themes/eclipse.css +4 -1
  54. package/themes/ember.css +4 -1
  55. package/themes/fjord.css +4 -1
  56. package/themes/gallery.html +3 -11
  57. package/themes/glacier.css +4 -1
  58. package/themes/graphite.css +4 -1
  59. package/themes/harvest.css +4 -1
  60. package/themes/ibm-modern.css +4 -1
  61. package/themes/ink.css +4 -1
  62. package/themes/latte.css +4 -1
  63. package/themes/linen.css +4 -1
  64. package/themes/meadow.css +4 -1
  65. package/themes/metropolis.css +4 -1
  66. package/themes/midnight.css +4 -1
  67. package/themes/mint.css +4 -1
  68. package/themes/moss.css +4 -1
  69. package/themes/obsidian.css +4 -1
  70. package/themes/orchid.css +4 -1
  71. package/themes/packs.json +4 -31
  72. package/themes/paper.css +4 -1
  73. package/themes/peony.css +4 -1
  74. package/themes/porcelain.css +4 -1
  75. package/themes/reveal-beige.css +4 -1
  76. package/themes/reveal-black.css +4 -1
  77. package/themes/reveal-blood.css +4 -1
  78. package/themes/reveal-dracula.css +4 -1
  79. package/themes/reveal-league.css +4 -1
  80. package/themes/reveal-moon.css +4 -1
  81. package/themes/reveal-night.css +4 -1
  82. package/themes/reveal-serif.css +4 -1
  83. package/themes/reveal-simple.css +4 -1
  84. package/themes/reveal-sky.css +4 -1
  85. package/themes/reveal-solarized.css +4 -1
  86. package/themes/reveal-white.css +4 -1
  87. package/themes/sepia.css +4 -1
  88. package/themes/seriph.css +4 -1
  89. package/themes/slate.css +4 -1
  90. package/themes/storm.css +4 -1
  91. package/themes/synthwave.css +4 -1
  92. package/themes/velvet.css +4 -1
  93. package/themes/yamabuki.css +120 -0
  94. package/tools/args.mjs +32 -0
  95. package/tools/bridge.mjs +30 -0
  96. package/tools/chrome.mjs +52 -0
  97. package/tools/color.mjs +110 -0
  98. package/tools/deck-html.mjs +138 -0
  99. package/tools/elevenlabs-tts.mjs +248 -0
  100. package/tools/escape.mjs +40 -0
  101. package/tools/extension-check-runner.mjs +41 -0
  102. package/tools/extension-check.mjs +266 -0
  103. package/tools/gemini-tts.mjs +44 -4
  104. package/tools/lipsync-engines.mjs +81 -0
  105. package/tools/lipsync-server.mjs +290 -0
  106. package/tools/lipsync.mjs +181 -0
  107. package/tools/local-voice.mjs +209 -0
  108. package/tools/ooxml.mjs +151 -0
  109. package/tools/pptx.mjs +320 -0
  110. package/tools/publish-site-voices.mjs +5 -1
  111. package/tools/publish-targets.mjs +143 -0
  112. package/tools/publish-voices.mjs +230 -0
  113. package/tools/shot.mjs +129 -0
  114. package/tools/theme-check.mjs +139 -0
  115. package/tools/tts-engines.mjs +455 -0
  116. package/tools/tts-setup.mjs +257 -0
  117. package/tools/veo.mjs +204 -0
  118. package/tools/video.mjs +316 -0
  119. package/tools/visemes.mjs +26 -0
  120. package/tools/voiceover-server.mjs +0 -0
  121. package/tools/voiceover.mjs +73 -39
  122. package/tools/zip.mjs +143 -0
  123. package/docs/demo.svg +0 -124
  124. package/themes/aliens.css +0 -84
  125. package/themes/apple2.css +0 -126
  126. package/themes/blade-runner.css +0 -83
  127. package/themes/c64.css +0 -85
  128. package/themes/friends.css +0 -82
  129. package/themes/gameboy.css +0 -118
  130. package/themes/genesis.css +0 -84
  131. package/themes/godfather.css +0 -82
  132. package/themes/ibm-oldschool.css +0 -84
  133. package/themes/miami-vice.css +0 -84
  134. package/themes/pulp-fiction.css +0 -84
  135. package/themes/severance.css +0 -82
  136. package/themes/snes.css +0 -82
  137. package/themes/star-wars.css +0 -85
  138. package/themes/stranger-things.css +0 -84
  139. package/themes/terminator.css +0 -84
@@ -40,7 +40,7 @@
40
40
 
41
41
  <!-- ── local servers ────────────────────────────────────────────── -->
42
42
  <rect x="710" y="70" width="180" height="76" rx="10" fill="#274035" stroke="#43695a" stroke-width="1.5"/>
43
- <text x="800" y="96" text-anchor="middle" font-size="13" font-weight="700" fill="#e8eaf2">decklight edit</text>
43
+ <text x="800" y="96" text-anchor="middle" font-size="13" font-weight="700" fill="#e8eaf2">decklight author</text>
44
44
  <text x="800" y="114" text-anchor="middle" font-size="10.5" fill="#aeb4c6">watches the file · SSE reload</text>
45
45
  <text x="800" y="130" text-anchor="middle" font-size="10.5" fill="#aeb4c6">E saves notes back to disk</text>
46
46
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "decklight",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "description": "A presentation library designed to be authored by AI agents and humans alike: single-file decks, Keynote-style builds, theme-aware SVG diagrams, and truthful terminal recordings.",
5
5
  "type": "module",
6
6
  "main": "dist/decklight.js",
@@ -35,8 +35,9 @@
35
35
  ],
36
36
  "scripts": {
37
37
  "build": "node build.mjs",
38
- "test": "node --test 'test/*.test.mjs'",
39
- "verify": "npm run build && node test/render.mjs && node test/contrast.mjs && node test/palette-rules.mjs"
38
+ "prepare": "npm run build",
39
+ "test": "node --test test/*.test.mjs",
40
+ "verify": "npm run build && node test/verify.mjs"
40
41
  },
41
42
  "engines": {
42
43
  "node": ">=20"
@@ -44,11 +45,13 @@
44
45
  "devDependencies": {
45
46
  "esbuild": "^0.24.0",
46
47
  "highlight.js": "^11.10.0",
47
- "marked": "^15.0.0"
48
+ "temml": "^0.13.3"
48
49
  },
49
50
  "optionalDependencies": {
50
51
  "js-yaml": "^4.3.0",
51
- "node-pty": "^1.1.0"
52
+ "node-pty": "^1.1.0",
53
+ "sigstore": "^5.0.0"
52
54
  },
53
- "license": "MIT"
55
+ "author": "Gilles Philippart <gilles.philippart@gmail.com>",
56
+ "license": "Apache-2.0"
54
57
  }
package/themes/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Decklight themes
2
2
 
3
- 61 themes, one contract. A theme is **a single CSS file that defines tokens on `.decklight`** — the
3
+ 46 themes, one contract. A theme is **a single CSS file that defines tokens on `.decklight`** — the
4
4
  runtime (`dist/decklight.css`) owns all structure; themes own only color, type, and mood. Link exactly
5
5
  one theme per deck:
6
6
 
@@ -11,7 +11,7 @@ one theme per deck:
11
11
 
12
12
  Browse them: serve this directory (`python3 -m http.server`) and open [`gallery.html`](gallery.html).
13
13
 
14
- ## The token contract (SPEC §5)
14
+ ## The token contract (SPEC THEMING)
15
15
 
16
16
  Every theme must define **all** of these on `.decklight`:
17
17
 
@@ -51,9 +51,11 @@ A PR that adds or edits a theme must keep the validator green.
51
51
 
52
52
  ## The set
53
53
 
54
- **Dark (15):** aurora · graphite · obsidian · midnight · fjord · cosmos · ember · moss · velvet · carbon · synthwave · ink · eclipse · storm · ibm-modern
54
+ **Dark (16):** aurora · graphite · obsidian · midnight · fjord · cosmos · ember · moss · velvet · carbon · synthwave · ink · eclipse · storm · ibm-modern · yamabuki
55
55
  **Light (16):** porcelain · paper · meadow · glacier · citrus · dune · orchid · harvest · coastal · linen · berry · slate · latte · peony · mint · sepia
56
- Plus the Classics, Old Machines, TV Series, and Movies packs (`packs.json` is the authoritative roster).
56
+ Plus the Classics pack (`packs.json` is the authoritative roster). The novelty and homage packs —
57
+ Old Machines, TV Series, Movies — moved to the marketplace (`decklight marketplace add
58
+ decklight/decklight-plugins-official`, MARKETPLACE.md `THEME_BROWSE#SPLIT`).
57
59
 
58
60
  Serif-headed: moss, velvet, porcelain, dune, peony, sepia. Gradient canvases:
59
61
  aurora, cosmos, synthwave, storm, coastal. Webfont-enhanced (all with offline fallbacks): carbon,
package/themes/aurora.css CHANGED
@@ -1,7 +1,10 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  /* ═══════════════════════════════════════════════════════════════
2
5
  Decklight theme · aurora
3
6
  dark · Northern-lights gradient — teal glow over deep arctic navy
4
- Token contract: SPEC.md §5 — all values validated by test/contrast.mjs
7
+ Token contract: SPEC.md THEMING — all values validated by test/contrast.mjs
5
8
  ═══════════════════════════════════════════════════════════════ */
6
9
 
7
10
  /* palette-rule exceptions (test/palette-rules.mjs):
package/themes/berry.css CHANGED
@@ -1,7 +1,10 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  /* ═══════════════════════════════════════════════════════════════
2
5
  Decklight theme · berry
3
6
  light · Raspberry on white — energetic, pink-tinted blocks
4
- Token contract: SPEC.md §5 — all values validated by test/contrast.mjs
7
+ Token contract: SPEC.md THEMING — all values validated by test/contrast.mjs
5
8
  ═══════════════════════════════════════════════════════════════ */
6
9
 
7
10
  .decklight {
package/themes/carbon.css CHANGED
@@ -1,9 +1,12 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  @import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');
2
5
 
3
6
  /* ═══════════════════════════════════════════════════════════════
4
7
  Decklight theme · carbon
5
8
  dark · IDE-native — cool graphite, blue/violet duotone syntax
6
- Token contract: SPEC.md §5 — all values validated by test/contrast.mjs
9
+ Token contract: SPEC.md THEMING — all values validated by test/contrast.mjs
7
10
  ═══════════════════════════════════════════════════════════════ */
8
11
 
9
12
  .decklight {
package/themes/citrus.css CHANGED
@@ -1,7 +1,10 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  /* ═══════════════════════════════════════════════════════════════
2
5
  Decklight theme · citrus
3
6
  light · Lime and tangerine zest — playful, rounded, bright
4
- Token contract: SPEC.md §5 — all values validated by test/contrast.mjs
7
+ Token contract: SPEC.md THEMING — all values validated by test/contrast.mjs
5
8
  ═══════════════════════════════════════════════════════════════ */
6
9
 
7
10
  .decklight {
@@ -1,7 +1,10 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  /* ═══════════════════════════════════════════════════════════════
2
5
  Decklight theme · coastal
3
6
  light · Sea-sky gradient, navy depth, coral buoy accent
4
- Token contract: SPEC.md §5 — all values validated by test/contrast.mjs
7
+ Token contract: SPEC.md THEMING — all values validated by test/contrast.mjs
5
8
  ═══════════════════════════════════════════════════════════════ */
6
9
 
7
10
  .decklight {
package/themes/cosmos.css CHANGED
@@ -1,7 +1,10 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  /* ═══════════════════════════════════════════════════════════════
2
5
  Decklight theme · cosmos
3
6
  dark · Nebula purples on space black — stargazer magenta
4
- Token contract: SPEC.md §5 — all values validated by test/contrast.mjs
7
+ Token contract: SPEC.md THEMING — all values validated by test/contrast.mjs
5
8
  ═══════════════════════════════════════════════════════════════ */
6
9
 
7
10
  /* palette-rule exceptions (test/palette-rules.mjs):
package/themes/dune.css CHANGED
@@ -1,7 +1,10 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  /* ═══════════════════════════════════════════════════════════════
2
5
  Decklight theme · dune
3
6
  light · Desert noon — sandstone, terracotta, wide serif display
4
- Token contract: SPEC.md §5 — all values validated by test/contrast.mjs
7
+ Token contract: SPEC.md THEMING — all values validated by test/contrast.mjs
5
8
  ═══════════════════════════════════════════════════════════════ */
6
9
 
7
10
  .decklight {
@@ -1,7 +1,10 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  /* ═══════════════════════════════════════════════════════════════
2
5
  Decklight theme · eclipse
3
6
  dark · Total black, one corona of gold — maximum drama, minimum palette
4
- Token contract: SPEC.md §5 — all values validated by test/contrast.mjs
7
+ Token contract: SPEC.md THEMING — all values validated by test/contrast.mjs
5
8
  ═══════════════════════════════════════════════════════════════ */
6
9
 
7
10
  .decklight {
package/themes/ember.css CHANGED
@@ -1,7 +1,10 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  /* ═══════════════════════════════════════════════════════════════
2
5
  Decklight theme · ember
3
6
  dark · Fireside warmth — smoked umber, glowing coals
4
- Token contract: SPEC.md §5 — all values validated by test/contrast.mjs
7
+ Token contract: SPEC.md THEMING — all values validated by test/contrast.mjs
5
8
  ═══════════════════════════════════════════════════════════════ */
6
9
 
7
10
  .decklight {
package/themes/fjord.css CHANGED
@@ -1,7 +1,10 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  /* ═══════════════════════════════════════════════════════════════
2
5
  Decklight theme · fjord
3
6
  dark · Nordic blue-gray dusk, glacial pastels, quiet and steady
4
- Token contract: SPEC.md §5 — all values validated by test/contrast.mjs
7
+ Token contract: SPEC.md THEMING — all values validated by test/contrast.mjs
5
8
  ═══════════════════════════════════════════════════════════════ */
6
9
 
7
10
  .decklight {
@@ -89,10 +89,10 @@
89
89
  <body>
90
90
  <header>
91
91
  <h1>Decklight themes</h1>
92
- <p>75 themes on one token contract — canvas · type · accent · blocks · code · diagram · terminal. All WCAG-validated by <code style="font-size:13px">test/contrast.mjs</code>.</p>
92
+ <p>46 themes on one token contract — canvas · type · accent · blocks · code · diagram · terminal. All WCAG-validated by <code style="font-size:13px">test/contrast.mjs</code>.</p>
93
93
  </header>
94
94
  <div id="filters">
95
- <button data-f="all" class="on">All 30</button>
95
+ <button data-f="all" class="on">All 46</button>
96
96
  <button data-f="light">Light</button>
97
97
  <button data-f="dark">Dark</button>
98
98
  </div>
@@ -108,14 +108,6 @@ const THEMES = [
108
108
  ['obsidian','dark','volcanic, ember red, hard edges'],['midnight','dark','indigo + lamplight amber'],
109
109
  ['fjord','dark','nordic dusk, glacial pastels'], ['cosmos','dark','nebula purples, stargazer pink'],
110
110
  ['ember','dark','fireside umber + coals'], ['moss','dark','old-forest greens, serif'],
111
- ['apple2','dark','green phosphor, mono display'], ['c64','dark','blue on blue, PETSCII spirit'],
112
- ['gameboy','light','four shades of pea-soup green'], ['snes','light','console gray, ABXY pops'],
113
- ['genesis','dark','Sega black, blue + red stripe'], ['miami-vice','dark','flamingo pink, seafoam teal'],
114
- ['friends','light','cream, door purple, frame yellow'], ['severance','dark','lumon midnight, cold teal'],
115
- ['stranger-things','dark','upside-down black, title red'],['aliens','dark','motion-tracker phosphor + amber'],
116
- ['blade-runner','dark','neon noir, cyan + magenta'], ['star-wars','dark','space black, crawl yellow'],
117
- ['terminator','dark','gunmetal chrome, HUD red'], ['godfather','dark','undertaker black, serif ivory'],
118
- ['pulp-fiction','dark','dime-novel black, poster yellow'],
119
111
  ['reveal-black','dark','the Reveal.js default, classic blue'], ['reveal-white','light','plain white, Reveal blue, monokai code'],
120
112
  ['reveal-league','dark','gunmetal wash, condensed caps, cyan'], ['reveal-beige','light','parchment wash, warm browns'],
121
113
  ['reveal-sky','light','pale sky wash, rounded type'], ['reveal-night','dark','true dark, Montserrat, amber'],
@@ -134,7 +126,7 @@ const THEMES = [
134
126
  ['berry','light','raspberry energy'], ['slate','light','boardroom neutral (on purpose)'],
135
127
  ['latte','light','steamed milk + espresso'], ['peony','light','editorial blush, italic serif'],
136
128
  ['mint','light','spearmint SaaS-fresh, pills'], ['sepia','light','antique folio, oxblood'],
137
- ['ibm-modern','dark','Carbon g100: Plex + IBM Blue'], ['ibm-oldschool','dark','3270 green-phosphor mainframe'],
129
+ ['ibm-modern','dark','Carbon g100: Plex + IBM Blue'], ['yamabuki','dark','山吹 golden-yellow on cool ink'],
138
130
  ];
139
131
 
140
132
  const MINI = (id) => `
@@ -1,7 +1,10 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  /* ═══════════════════════════════════════════════════════════════
2
5
  Decklight theme · glacier
3
6
  light · Arctic daylight — ice blue, crisp thin lines
4
- Token contract: SPEC.md §5 — all values validated by test/contrast.mjs
7
+ Token contract: SPEC.md THEMING — all values validated by test/contrast.mjs
5
8
  ═══════════════════════════════════════════════════════════════ */
6
9
 
7
10
  .decklight {
@@ -1,7 +1,10 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  /* ═══════════════════════════════════════════════════════════════
2
5
  Decklight theme · graphite
3
6
  dark · Matte charcoal with a machined orange accent — engineering clean
4
- Token contract: SPEC.md §5 — all values validated by test/contrast.mjs
7
+ Token contract: SPEC.md THEMING — all values validated by test/contrast.mjs
5
8
  ═══════════════════════════════════════════════════════════════ */
6
9
 
7
10
  .decklight {
@@ -1,7 +1,10 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  /* ═══════════════════════════════════════════════════════════════
2
5
  Decklight theme · harvest
3
6
  light · October ivory — pumpkin, ochre, sturdy slab headings
4
- Token contract: SPEC.md §5 — all values validated by test/contrast.mjs
7
+ Token contract: SPEC.md THEMING — all values validated by test/contrast.mjs
5
8
  ═══════════════════════════════════════════════════════════════ */
6
9
 
7
10
  .decklight {
@@ -1,7 +1,10 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  /* ═══════════════════════════════════════════════════════════════
2
5
  Decklight theme · ibm-modern
3
6
  dark · Carbon-design g100: Plex type, IBM Blue 60, engineered calm
4
- Token contract: SPEC.md §5 — all values validated by test/contrast.mjs
7
+ Token contract: SPEC.md THEMING — all values validated by test/contrast.mjs
5
8
  rule-exception: R3 official IBM Blue 60 (#0f62fe) is the identity
6
9
  ═══════════════════════════════════════════════════════════════ */
7
10
 
package/themes/ink.css CHANGED
@@ -1,7 +1,10 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  /* ═══════════════════════════════════════════════════════════════
2
5
  Decklight theme · ink
3
6
  dark · Sumi-e minimal — warm black, unbleached paper text, one vermillion stroke
4
- Token contract: SPEC.md §5 — all values validated by test/contrast.mjs
7
+ Token contract: SPEC.md THEMING — all values validated by test/contrast.mjs
5
8
  ═══════════════════════════════════════════════════════════════ */
6
9
 
7
10
  .decklight {
package/themes/latte.css CHANGED
@@ -1,7 +1,10 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  /* ═══════════════════════════════════════════════════════════════
2
5
  Decklight theme · latte
3
6
  light · Steamed milk and espresso — soft, warm café tones
4
- Token contract: SPEC.md §5 — all values validated by test/contrast.mjs
7
+ Token contract: SPEC.md THEMING — all values validated by test/contrast.mjs
5
8
  ═══════════════════════════════════════════════════════════════ */
6
9
 
7
10
  .decklight {
package/themes/linen.css CHANGED
@@ -1,7 +1,10 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  /* ═══════════════════════════════════════════════════════════════
2
5
  Decklight theme · linen
3
6
  light · Natural fiber — unbleached warm white, olive and clay
4
- Token contract: SPEC.md §5 — all values validated by test/contrast.mjs
7
+ Token contract: SPEC.md THEMING — all values validated by test/contrast.mjs
5
8
  ═══════════════════════════════════════════════════════════════ */
6
9
 
7
10
  .decklight {
package/themes/meadow.css CHANGED
@@ -1,7 +1,10 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  /* ═══════════════════════════════════════════════════════════════
2
5
  Decklight theme · meadow
3
6
  light · Spring grass and clover — green-tinted daylight
4
- Token contract: SPEC.md §5 — all values validated by test/contrast.mjs
7
+ Token contract: SPEC.md THEMING — all values validated by test/contrast.mjs
5
8
  ═══════════════════════════════════════════════════════════════ */
6
9
 
7
10
  .decklight {
@@ -1,3 +1,6 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  @import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;600&display=swap');
2
5
 
3
6
  /* ═══════════════════════════════════════════════════════════════
@@ -6,7 +9,7 @@
6
9
  Inspired by the Beamer metropolis theme (Matthias Vogelgesang) — palette kept canonical where possible,
7
10
  every gated pair fitted to the WCAG contract.
8
11
  rule-exception: R3 the canonical metropolis orange (#eb811b) is the identity
9
- Token contract: SPEC.md §5 — validated by test/contrast.mjs
12
+ Token contract: SPEC.md THEMING — validated by test/contrast.mjs
10
13
  ═══════════════════════════════════════════════════════════════ */
11
14
 
12
15
  .decklight {
@@ -1,7 +1,10 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  /* ═══════════════════════════════════════════════════════════════
2
5
  Decklight theme · midnight
3
6
  dark · Late-night indigo and warm lamplight amber — the hacking hour
4
- Token contract: SPEC.md §5 — all values validated by test/contrast.mjs
7
+ Token contract: SPEC.md THEMING — all values validated by test/contrast.mjs
5
8
  ═══════════════════════════════════════════════════════════════ */
6
9
 
7
10
  .decklight {
package/themes/mint.css CHANGED
@@ -1,9 +1,12 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  @import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&display=swap');
2
5
 
3
6
  /* ═══════════════════════════════════════════════════════════════
4
7
  Decklight theme · mint
5
8
  light · Cool spearmint SaaS-fresh — pill shapes, modern grotesk
6
- Token contract: SPEC.md §5 — all values validated by test/contrast.mjs
9
+ Token contract: SPEC.md THEMING — all values validated by test/contrast.mjs
7
10
  ═══════════════════════════════════════════════════════════════ */
8
11
 
9
12
  .decklight {
package/themes/moss.css CHANGED
@@ -1,7 +1,10 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  /* ═══════════════════════════════════════════════════════════════
2
5
  Decklight theme · moss
3
6
  dark · Old-forest greens with bookish serif headings — damp and calm
4
- Token contract: SPEC.md §5 — all values validated by test/contrast.mjs
7
+ Token contract: SPEC.md THEMING — all values validated by test/contrast.mjs
5
8
  ═══════════════════════════════════════════════════════════════ */
6
9
 
7
10
  .decklight {
@@ -1,7 +1,10 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  /* ═══════════════════════════════════════════════════════════════
2
5
  Decklight theme · obsidian
3
6
  dark · Volcanic glass — near-black, ember red, hard edges
4
- Token contract: SPEC.md §5 — all values validated by test/contrast.mjs
7
+ Token contract: SPEC.md THEMING — all values validated by test/contrast.mjs
5
8
  ═══════════════════════════════════════════════════════════════ */
6
9
 
7
10
  .decklight {
package/themes/orchid.css CHANGED
@@ -1,7 +1,10 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  /* ═══════════════════════════════════════════════════════════════
2
5
  Decklight theme · orchid
3
6
  light · Lilac-tinted white, violet elegance, feather-light headings
4
- Token contract: SPEC.md §5 — all values validated by test/contrast.mjs
7
+ Token contract: SPEC.md THEMING — all values validated by test/contrast.mjs
5
8
  ═══════════════════════════════════════════════════════════════ */
6
9
 
7
10
  .decklight {
package/themes/packs.json CHANGED
@@ -1,17 +1,11 @@
1
1
  {
2
2
  "order": [
3
3
  "default",
4
- "classics",
5
- "oldmachines",
6
- "tvseries",
7
- "movies"
4
+ "classics"
8
5
  ],
9
6
  "labels": {
10
7
  "default": "Default",
11
- "classics": "Classics",
12
- "oldmachines": "Old Machines",
13
- "tvseries": "TV Series",
14
- "movies": "Movies"
8
+ "classics": "Classics"
15
9
  },
16
10
  "packs": {
17
11
  "default": [
@@ -45,7 +39,8 @@
45
39
  "slate",
46
40
  "berry",
47
41
  "citrus",
48
- "ibm-modern"
42
+ "ibm-modern",
43
+ "yamabuki"
49
44
  ],
50
45
  "classics": [
51
46
  "reveal-black",
@@ -62,28 +57,6 @@
62
57
  "reveal-dracula",
63
58
  "metropolis",
64
59
  "seriph"
65
- ],
66
- "oldmachines": [
67
- "apple2",
68
- "c64",
69
- "gameboy",
70
- "snes",
71
- "genesis",
72
- "ibm-oldschool"
73
- ],
74
- "tvseries": [
75
- "miami-vice",
76
- "friends",
77
- "severance",
78
- "stranger-things"
79
- ],
80
- "movies": [
81
- "aliens",
82
- "blade-runner",
83
- "star-wars",
84
- "terminator",
85
- "godfather",
86
- "pulp-fiction"
87
60
  ]
88
61
  }
89
62
  }
package/themes/paper.css CHANGED
@@ -1,9 +1,12 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  @import url('https://fonts.googleapis.com/css2?family=Courier+Prime:wght@400;700&display=swap');
2
5
 
3
6
  /* ═══════════════════════════════════════════════════════════════
4
7
  Decklight theme · paper
5
8
  light · Typewriter manuscript — cream stock, red pencil, light terminal
6
- Token contract: SPEC.md §5 — all values validated by test/contrast.mjs
9
+ Token contract: SPEC.md THEMING — all values validated by test/contrast.mjs
7
10
  ═══════════════════════════════════════════════════════════════ */
8
11
 
9
12
  .decklight {
package/themes/peony.css CHANGED
@@ -1,9 +1,12 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,700&display=swap');
2
5
 
3
6
  /* ═══════════════════════════════════════════════════════════════
4
7
  Decklight theme · peony
5
8
  light · Editorial blush — pine-green ink, peony pink, italic serif
6
- Token contract: SPEC.md §5 — all values validated by test/contrast.mjs
9
+ Token contract: SPEC.md THEMING — all values validated by test/contrast.mjs
7
10
  ═══════════════════════════════════════════════════════════════ */
8
11
 
9
12
  .decklight {
@@ -1,9 +1,12 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  @import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap');
2
5
 
3
6
  /* ═══════════════════════════════════════════════════════════════
4
7
  Decklight theme · porcelain
5
8
  light · Warm gallery white, ink-blue serif type, hairline restraint
6
- Token contract: SPEC.md §5 — all values validated by test/contrast.mjs
9
+ Token contract: SPEC.md THEMING — all values validated by test/contrast.mjs
7
10
  ═══════════════════════════════════════════════════════════════ */
8
11
 
9
12
  .decklight {
@@ -1,3 +1,6 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  @import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500&display=swap');
2
5
 
3
6
  /* ═══════════════════════════════════════════════════════════════
@@ -6,7 +9,7 @@
6
9
  Inspired by Reveal.js 'beige' — palette kept canonical where possible,
7
10
  every gated pair fitted to the WCAG contract.
8
11
  rule-exception: R2 the canonical white→beige parchment wash
9
- Token contract: SPEC.md §5 — validated by test/contrast.mjs
12
+ Token contract: SPEC.md THEMING — validated by test/contrast.mjs
10
13
  ═══════════════════════════════════════════════════════════════ */
11
14
 
12
15
  .decklight {
@@ -1,10 +1,13 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  /* ═══════════════════════════════════════════════════════════════
2
5
  Decklight theme · reveal-black
3
6
  dark · near-black canvas, clean sans, the classic Reveal blue
4
7
  Inspired by Reveal.js 'black' (the default) — palette kept canonical where possible,
5
8
  every gated pair fitted to the WCAG contract.
6
9
  rule-exception: R3 the canonical Reveal link blue (#42affa) is the identity
7
- Token contract: SPEC.md §5 — validated by test/contrast.mjs
10
+ Token contract: SPEC.md THEMING — validated by test/contrast.mjs
8
11
  ═══════════════════════════════════════════════════════════════ */
9
12
 
10
13
  .decklight {
@@ -1,9 +1,12 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  /* ═══════════════════════════════════════════════════════════════
2
5
  Decklight theme · reveal-blood
3
6
  dark · coal black, dried-blood red, hard uppercase
4
7
  Inspired by Reveal.js 'blood' — palette kept canonical where possible,
5
8
  every gated pair fitted to the WCAG contract.
6
- Token contract: SPEC.md §5 — validated by test/contrast.mjs
9
+ Token contract: SPEC.md THEMING — validated by test/contrast.mjs
7
10
  ═══════════════════════════════════════════════════════════════ */
8
11
 
9
12
  .decklight {
@@ -1,10 +1,13 @@
1
+ /* Copyright 2026 Gilles Philippart
2
+ SPDX-License-Identifier: Apache-2.0 */
3
+
1
4
  /* ═══════════════════════════════════════════════════════════════
2
5
  Decklight theme · reveal-dracula
3
6
  dark · the vampire palette: purple headings, pink links, neon syntax
4
7
  Inspired by Dracula (Zeno Rocha) / Reveal.js 'dracula' — palette kept canonical where possible,
5
8
  every gated pair fitted to the WCAG contract.
6
9
  rule-exception: R3 the canonical Dracula purple/pink accents are the identity
7
- Token contract: SPEC.md §5 — validated by test/contrast.mjs
10
+ Token contract: SPEC.md THEMING — validated by test/contrast.mjs
8
11
  ═══════════════════════════════════════════════════════════════ */
9
12
 
10
13
  .decklight {