decklight 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.
Files changed (137) hide show
  1. package/README.md +69 -31
  2. package/SPEC.md +855 -80
  3. package/cli/agents.mjs +113 -9
  4. package/cli/associate.mjs +279 -0
  5. package/cli/audit.mjs +424 -0
  6. package/cli/bundle.mjs +174 -46
  7. package/cli/deckfile.mjs +233 -0
  8. package/cli/decklight.mjs +201 -8
  9. package/cli/dev.mjs +244 -55
  10. package/cli/edit.mjs +564 -107
  11. package/cli/extension.mjs +108 -0
  12. package/cli/git.mjs +141 -0
  13. package/cli/import.mjs +398 -0
  14. package/cli/init.mjs +421 -116
  15. package/cli/loader.mjs +263 -0
  16. package/cli/marketplace.mjs +730 -0
  17. package/cli/pdf.mjs +156 -0
  18. package/cli/pkg.mjs +69 -0
  19. package/cli/plugin.mjs +646 -0
  20. package/cli/port-conflict.mjs +94 -0
  21. package/cli/present.mjs +560 -0
  22. package/cli/publish.mjs +342 -0
  23. package/cli/qr.mjs +334 -0
  24. package/cli/rec.mjs +5 -8
  25. package/cli/remote.mjs +149 -0
  26. package/cli/report-bug.mjs +97 -0
  27. package/cli/restore.mjs +174 -0
  28. package/cli/serve.mjs +247 -0
  29. package/cli/sign.mjs +216 -0
  30. package/cli/skill-content.mjs +222 -0
  31. package/cli/skills.mjs +338 -0
  32. package/cli/supervise.mjs +57 -0
  33. package/cli/theme.mjs +201 -0
  34. package/cli/units.mjs +488 -0
  35. package/cli/upgrade.mjs +250 -0
  36. package/cli/util.mjs +90 -0
  37. package/cli/wizard.mjs +432 -0
  38. package/cli/zip.mjs +121 -0
  39. package/dist/decklight.css +716 -29
  40. package/dist/decklight.js +198 -125
  41. package/dist/decklight.js.map +4 -4
  42. package/docs/architecture.svg +1 -1
  43. package/package.json +5 -4
  44. package/themes/README.md +6 -4
  45. package/themes/aurora.css +1 -1
  46. package/themes/berry.css +1 -1
  47. package/themes/carbon.css +1 -1
  48. package/themes/citrus.css +1 -1
  49. package/themes/coastal.css +1 -1
  50. package/themes/cosmos.css +1 -1
  51. package/themes/dune.css +1 -1
  52. package/themes/eclipse.css +1 -1
  53. package/themes/ember.css +1 -1
  54. package/themes/fjord.css +1 -1
  55. package/themes/gallery.html +3 -11
  56. package/themes/glacier.css +1 -1
  57. package/themes/graphite.css +1 -1
  58. package/themes/harvest.css +1 -1
  59. package/themes/ibm-modern.css +1 -1
  60. package/themes/ink.css +1 -1
  61. package/themes/latte.css +1 -1
  62. package/themes/linen.css +1 -1
  63. package/themes/meadow.css +1 -1
  64. package/themes/metropolis.css +1 -1
  65. package/themes/midnight.css +1 -1
  66. package/themes/mint.css +1 -1
  67. package/themes/moss.css +1 -1
  68. package/themes/obsidian.css +1 -1
  69. package/themes/orchid.css +1 -1
  70. package/themes/packs.json +2 -30
  71. package/themes/paper.css +1 -1
  72. package/themes/peony.css +1 -1
  73. package/themes/porcelain.css +1 -1
  74. package/themes/reveal-beige.css +1 -1
  75. package/themes/reveal-black.css +1 -1
  76. package/themes/reveal-blood.css +1 -1
  77. package/themes/reveal-dracula.css +1 -1
  78. package/themes/reveal-league.css +1 -1
  79. package/themes/reveal-moon.css +1 -1
  80. package/themes/reveal-night.css +1 -1
  81. package/themes/reveal-serif.css +1 -1
  82. package/themes/reveal-simple.css +1 -1
  83. package/themes/reveal-sky.css +1 -1
  84. package/themes/reveal-solarized.css +1 -1
  85. package/themes/reveal-white.css +1 -1
  86. package/themes/sepia.css +1 -1
  87. package/themes/seriph.css +1 -1
  88. package/themes/slate.css +1 -1
  89. package/themes/storm.css +1 -1
  90. package/themes/synthwave.css +1 -1
  91. package/themes/velvet.css +1 -1
  92. package/themes/yamabuki.css +1 -1
  93. package/tools/args.mjs +32 -0
  94. package/tools/bridge.mjs +30 -0
  95. package/tools/chrome.mjs +11 -2
  96. package/tools/color.mjs +110 -0
  97. package/tools/deck-html.mjs +138 -0
  98. package/tools/elevenlabs-tts.mjs +248 -0
  99. package/tools/escape.mjs +40 -0
  100. package/tools/extension-check-runner.mjs +41 -0
  101. package/tools/extension-check.mjs +266 -0
  102. package/tools/gemini-tts.mjs +25 -3
  103. package/tools/lipsync-engines.mjs +81 -0
  104. package/tools/lipsync-server.mjs +78 -37
  105. package/tools/lipsync.mjs +36 -21
  106. package/tools/local-voice.mjs +209 -0
  107. package/tools/ooxml.mjs +151 -0
  108. package/tools/pptx.mjs +320 -0
  109. package/tools/publish-site-voices.mjs +2 -1
  110. package/tools/publish-targets.mjs +143 -0
  111. package/tools/publish-voices.mjs +230 -0
  112. package/tools/shot.mjs +91 -47
  113. package/tools/theme-check.mjs +139 -0
  114. package/tools/tts-engines.mjs +270 -41
  115. package/tools/tts-setup.mjs +257 -0
  116. package/tools/veo.mjs +204 -0
  117. package/tools/video.mjs +316 -0
  118. package/tools/voiceover-server.mjs +163 -54
  119. package/tools/voiceover.mjs +24 -7
  120. package/tools/zip.mjs +143 -0
  121. package/docs/demo.svg +0 -124
  122. package/themes/aliens.css +0 -87
  123. package/themes/apple2.css +0 -129
  124. package/themes/blade-runner.css +0 -86
  125. package/themes/c64.css +0 -88
  126. package/themes/friends.css +0 -85
  127. package/themes/gameboy.css +0 -121
  128. package/themes/genesis.css +0 -87
  129. package/themes/godfather.css +0 -85
  130. package/themes/ibm-oldschool.css +0 -87
  131. package/themes/miami-vice.css +0 -87
  132. package/themes/pulp-fiction.css +0 -87
  133. package/themes/severance.css +0 -85
  134. package/themes/snes.css +0 -85
  135. package/themes/star-wars.css +0 -88
  136. package/themes/stranger-things.css +0 -87
  137. package/themes/terminator.css +0 -87
@@ -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.2.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",
@@ -37,7 +37,7 @@
37
37
  "build": "node build.mjs",
38
38
  "prepare": "npm run build",
39
39
  "test": "node --test test/*.test.mjs",
40
- "verify": "npm run build && node test/render.mjs && node test/player-render.mjs && node test/narration-render.mjs && node test/character-render.mjs && node test/contrast.mjs && node test/palette-rules.mjs"
40
+ "verify": "npm run build && node test/verify.mjs"
41
41
  },
42
42
  "engines": {
43
43
  "node": ">=20"
@@ -45,11 +45,12 @@
45
45
  "devDependencies": {
46
46
  "esbuild": "^0.24.0",
47
47
  "highlight.js": "^11.10.0",
48
- "marked": "^15.0.0"
48
+ "temml": "^0.13.3"
49
49
  },
50
50
  "optionalDependencies": {
51
51
  "js-yaml": "^4.3.0",
52
- "node-pty": "^1.1.0"
52
+ "node-pty": "^1.1.0",
53
+ "sigstore": "^5.0.0"
53
54
  },
54
55
  "author": "Gilles Philippart <gilles.philippart@gmail.com>",
55
56
  "license": "Apache-2.0"
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
@@ -4,7 +4,7 @@
4
4
  /* ═══════════════════════════════════════════════════════════════
5
5
  Decklight theme · aurora
6
6
  dark · Northern-lights gradient — teal glow over deep arctic navy
7
- 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
8
8
  ═══════════════════════════════════════════════════════════════ */
9
9
 
10
10
  /* palette-rule exceptions (test/palette-rules.mjs):
package/themes/berry.css CHANGED
@@ -4,7 +4,7 @@
4
4
  /* ═══════════════════════════════════════════════════════════════
5
5
  Decklight theme · berry
6
6
  light · Raspberry on white — energetic, pink-tinted blocks
7
- 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
8
8
  ═══════════════════════════════════════════════════════════════ */
9
9
 
10
10
  .decklight {
package/themes/carbon.css CHANGED
@@ -6,7 +6,7 @@
6
6
  /* ═══════════════════════════════════════════════════════════════
7
7
  Decklight theme · carbon
8
8
  dark · IDE-native — cool graphite, blue/violet duotone syntax
9
- 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
10
10
  ═══════════════════════════════════════════════════════════════ */
11
11
 
12
12
  .decklight {
package/themes/citrus.css CHANGED
@@ -4,7 +4,7 @@
4
4
  /* ═══════════════════════════════════════════════════════════════
5
5
  Decklight theme · citrus
6
6
  light · Lime and tangerine zest — playful, rounded, bright
7
- 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
8
8
  ═══════════════════════════════════════════════════════════════ */
9
9
 
10
10
  .decklight {
@@ -4,7 +4,7 @@
4
4
  /* ═══════════════════════════════════════════════════════════════
5
5
  Decklight theme · coastal
6
6
  light · Sea-sky gradient, navy depth, coral buoy accent
7
- 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
8
8
  ═══════════════════════════════════════════════════════════════ */
9
9
 
10
10
  .decklight {
package/themes/cosmos.css CHANGED
@@ -4,7 +4,7 @@
4
4
  /* ═══════════════════════════════════════════════════════════════
5
5
  Decklight theme · cosmos
6
6
  dark · Nebula purples on space black — stargazer magenta
7
- 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
8
8
  ═══════════════════════════════════════════════════════════════ */
9
9
 
10
10
  /* palette-rule exceptions (test/palette-rules.mjs):
package/themes/dune.css CHANGED
@@ -4,7 +4,7 @@
4
4
  /* ═══════════════════════════════════════════════════════════════
5
5
  Decklight theme · dune
6
6
  light · Desert noon — sandstone, terracotta, wide serif display
7
- 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
8
8
  ═══════════════════════════════════════════════════════════════ */
9
9
 
10
10
  .decklight {
@@ -4,7 +4,7 @@
4
4
  /* ═══════════════════════════════════════════════════════════════
5
5
  Decklight theme · eclipse
6
6
  dark · Total black, one corona of gold — maximum drama, minimum palette
7
- 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
8
8
  ═══════════════════════════════════════════════════════════════ */
9
9
 
10
10
  .decklight {
package/themes/ember.css CHANGED
@@ -4,7 +4,7 @@
4
4
  /* ═══════════════════════════════════════════════════════════════
5
5
  Decklight theme · ember
6
6
  dark · Fireside warmth — smoked umber, glowing coals
7
- 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
8
8
  ═══════════════════════════════════════════════════════════════ */
9
9
 
10
10
  .decklight {
package/themes/fjord.css CHANGED
@@ -4,7 +4,7 @@
4
4
  /* ═══════════════════════════════════════════════════════════════
5
5
  Decklight theme · fjord
6
6
  dark · Nordic blue-gray dusk, glacial pastels, quiet and steady
7
- 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
8
8
  ═══════════════════════════════════════════════════════════════ */
9
9
 
10
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) => `
@@ -4,7 +4,7 @@
4
4
  /* ═══════════════════════════════════════════════════════════════
5
5
  Decklight theme · glacier
6
6
  light · Arctic daylight — ice blue, crisp thin lines
7
- 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
8
8
  ═══════════════════════════════════════════════════════════════ */
9
9
 
10
10
  .decklight {
@@ -4,7 +4,7 @@
4
4
  /* ═══════════════════════════════════════════════════════════════
5
5
  Decklight theme · graphite
6
6
  dark · Matte charcoal with a machined orange accent — engineering clean
7
- 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
8
8
  ═══════════════════════════════════════════════════════════════ */
9
9
 
10
10
  .decklight {
@@ -4,7 +4,7 @@
4
4
  /* ═══════════════════════════════════════════════════════════════
5
5
  Decklight theme · harvest
6
6
  light · October ivory — pumpkin, ochre, sturdy slab headings
7
- 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
8
8
  ═══════════════════════════════════════════════════════════════ */
9
9
 
10
10
  .decklight {
@@ -4,7 +4,7 @@
4
4
  /* ═══════════════════════════════════════════════════════════════
5
5
  Decklight theme · ibm-modern
6
6
  dark · Carbon-design g100: Plex type, IBM Blue 60, engineered calm
7
- 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
8
8
  rule-exception: R3 official IBM Blue 60 (#0f62fe) is the identity
9
9
  ═══════════════════════════════════════════════════════════════ */
10
10
 
package/themes/ink.css CHANGED
@@ -4,7 +4,7 @@
4
4
  /* ═══════════════════════════════════════════════════════════════
5
5
  Decklight theme · ink
6
6
  dark · Sumi-e minimal — warm black, unbleached paper text, one vermillion stroke
7
- 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
8
8
  ═══════════════════════════════════════════════════════════════ */
9
9
 
10
10
  .decklight {
package/themes/latte.css CHANGED
@@ -4,7 +4,7 @@
4
4
  /* ═══════════════════════════════════════════════════════════════
5
5
  Decklight theme · latte
6
6
  light · Steamed milk and espresso — soft, warm café tones
7
- 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
8
8
  ═══════════════════════════════════════════════════════════════ */
9
9
 
10
10
  .decklight {
package/themes/linen.css CHANGED
@@ -4,7 +4,7 @@
4
4
  /* ═══════════════════════════════════════════════════════════════
5
5
  Decklight theme · linen
6
6
  light · Natural fiber — unbleached warm white, olive and clay
7
- 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
8
8
  ═══════════════════════════════════════════════════════════════ */
9
9
 
10
10
  .decklight {
package/themes/meadow.css CHANGED
@@ -4,7 +4,7 @@
4
4
  /* ═══════════════════════════════════════════════════════════════
5
5
  Decklight theme · meadow
6
6
  light · Spring grass and clover — green-tinted daylight
7
- 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
8
8
  ═══════════════════════════════════════════════════════════════ */
9
9
 
10
10
  .decklight {
@@ -9,7 +9,7 @@
9
9
  Inspired by the Beamer metropolis theme (Matthias Vogelgesang) — palette kept canonical where possible,
10
10
  every gated pair fitted to the WCAG contract.
11
11
  rule-exception: R3 the canonical metropolis orange (#eb811b) is the identity
12
- Token contract: SPEC.md §5 — validated by test/contrast.mjs
12
+ Token contract: SPEC.md THEMING — validated by test/contrast.mjs
13
13
  ═══════════════════════════════════════════════════════════════ */
14
14
 
15
15
  .decklight {
@@ -4,7 +4,7 @@
4
4
  /* ═══════════════════════════════════════════════════════════════
5
5
  Decklight theme · midnight
6
6
  dark · Late-night indigo and warm lamplight amber — the hacking hour
7
- 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
8
8
  ═══════════════════════════════════════════════════════════════ */
9
9
 
10
10
  .decklight {
package/themes/mint.css CHANGED
@@ -6,7 +6,7 @@
6
6
  /* ═══════════════════════════════════════════════════════════════
7
7
  Decklight theme · mint
8
8
  light · Cool spearmint SaaS-fresh — pill shapes, modern grotesk
9
- 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
10
10
  ═══════════════════════════════════════════════════════════════ */
11
11
 
12
12
  .decklight {
package/themes/moss.css CHANGED
@@ -4,7 +4,7 @@
4
4
  /* ═══════════════════════════════════════════════════════════════
5
5
  Decklight theme · moss
6
6
  dark · Old-forest greens with bookish serif headings — damp and calm
7
- 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
8
8
  ═══════════════════════════════════════════════════════════════ */
9
9
 
10
10
  .decklight {
@@ -4,7 +4,7 @@
4
4
  /* ═══════════════════════════════════════════════════════════════
5
5
  Decklight theme · obsidian
6
6
  dark · Volcanic glass — near-black, ember red, hard edges
7
- 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
8
8
  ═══════════════════════════════════════════════════════════════ */
9
9
 
10
10
  .decklight {
package/themes/orchid.css CHANGED
@@ -4,7 +4,7 @@
4
4
  /* ═══════════════════════════════════════════════════════════════
5
5
  Decklight theme · orchid
6
6
  light · Lilac-tinted white, violet elegance, feather-light headings
7
- 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
8
8
  ═══════════════════════════════════════════════════════════════ */
9
9
 
10
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": [
@@ -63,28 +57,6 @@
63
57
  "reveal-dracula",
64
58
  "metropolis",
65
59
  "seriph"
66
- ],
67
- "oldmachines": [
68
- "apple2",
69
- "c64",
70
- "gameboy",
71
- "snes",
72
- "genesis",
73
- "ibm-oldschool"
74
- ],
75
- "tvseries": [
76
- "miami-vice",
77
- "friends",
78
- "severance",
79
- "stranger-things"
80
- ],
81
- "movies": [
82
- "aliens",
83
- "blade-runner",
84
- "star-wars",
85
- "terminator",
86
- "godfather",
87
- "pulp-fiction"
88
60
  ]
89
61
  }
90
62
  }
package/themes/paper.css CHANGED
@@ -6,7 +6,7 @@
6
6
  /* ═══════════════════════════════════════════════════════════════
7
7
  Decklight theme · paper
8
8
  light · Typewriter manuscript — cream stock, red pencil, light terminal
9
- 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
10
10
  ═══════════════════════════════════════════════════════════════ */
11
11
 
12
12
  .decklight {
package/themes/peony.css CHANGED
@@ -6,7 +6,7 @@
6
6
  /* ═══════════════════════════════════════════════════════════════
7
7
  Decklight theme · peony
8
8
  light · Editorial blush — pine-green ink, peony pink, italic serif
9
- 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
10
10
  ═══════════════════════════════════════════════════════════════ */
11
11
 
12
12
  .decklight {
@@ -6,7 +6,7 @@
6
6
  /* ═══════════════════════════════════════════════════════════════
7
7
  Decklight theme · porcelain
8
8
  light · Warm gallery white, ink-blue serif type, hairline restraint
9
- 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
10
10
  ═══════════════════════════════════════════════════════════════ */
11
11
 
12
12
  .decklight {
@@ -9,7 +9,7 @@
9
9
  Inspired by Reveal.js 'beige' — palette kept canonical where possible,
10
10
  every gated pair fitted to the WCAG contract.
11
11
  rule-exception: R2 the canonical white→beige parchment wash
12
- Token contract: SPEC.md §5 — validated by test/contrast.mjs
12
+ Token contract: SPEC.md THEMING — validated by test/contrast.mjs
13
13
  ═══════════════════════════════════════════════════════════════ */
14
14
 
15
15
  .decklight {
@@ -7,7 +7,7 @@
7
7
  Inspired by Reveal.js 'black' (the default) — palette kept canonical where possible,
8
8
  every gated pair fitted to the WCAG contract.
9
9
  rule-exception: R3 the canonical Reveal link blue (#42affa) is the identity
10
- Token contract: SPEC.md §5 — validated by test/contrast.mjs
10
+ Token contract: SPEC.md THEMING — validated by test/contrast.mjs
11
11
  ═══════════════════════════════════════════════════════════════ */
12
12
 
13
13
  .decklight {
@@ -6,7 +6,7 @@
6
6
  dark · coal black, dried-blood red, hard uppercase
7
7
  Inspired by Reveal.js 'blood' — palette kept canonical where possible,
8
8
  every gated pair fitted to the WCAG contract.
9
- Token contract: SPEC.md §5 — validated by test/contrast.mjs
9
+ Token contract: SPEC.md THEMING — validated by test/contrast.mjs
10
10
  ═══════════════════════════════════════════════════════════════ */
11
11
 
12
12
  .decklight {
@@ -7,7 +7,7 @@
7
7
  Inspired by Dracula (Zeno Rocha) / Reveal.js 'dracula' — palette kept canonical where possible,
8
8
  every gated pair fitted to the WCAG contract.
9
9
  rule-exception: R3 the canonical Dracula purple/pink accents are the identity
10
- Token contract: SPEC.md §5 — validated by test/contrast.mjs
10
+ Token contract: SPEC.md THEMING — validated by test/contrast.mjs
11
11
  ═══════════════════════════════════════════════════════════════ */
12
12
 
13
13
  .decklight {
@@ -10,7 +10,7 @@
10
10
  every gated pair fitted to the WCAG contract.
11
11
  rule-exception: R3 the canonical league cyan (#13daec) is the identity
12
12
  rule-exception: R2 the canonical gunmetal wash canvas
13
- Token contract: SPEC.md §5 — validated by test/contrast.mjs
13
+ Token contract: SPEC.md THEMING — validated by test/contrast.mjs
14
14
  ═══════════════════════════════════════════════════════════════ */
15
15
 
16
16
  .decklight {
@@ -7,7 +7,7 @@
7
7
  Inspired by Reveal.js 'moon' / Solarized Dark — palette kept canonical where possible,
8
8
  every gated pair fitted to the WCAG contract.
9
9
  rule-exception: R2 the canonical Solarized base03 deep-teal canvas
10
- Token contract: SPEC.md §5 — validated by test/contrast.mjs
10
+ Token contract: SPEC.md THEMING — validated by test/contrast.mjs
11
11
  ═══════════════════════════════════════════════════════════════ */
12
12
 
13
13
  .decklight {
@@ -8,7 +8,7 @@
8
8
  dark · true dark, Montserrat caps, amber links
9
9
  Inspired by Reveal.js 'night' — palette kept canonical where possible,
10
10
  every gated pair fitted to the WCAG contract.
11
- Token contract: SPEC.md §5 — validated by test/contrast.mjs
11
+ Token contract: SPEC.md THEMING — validated by test/contrast.mjs
12
12
  ═══════════════════════════════════════════════════════════════ */
13
13
 
14
14
  .decklight {
@@ -6,7 +6,7 @@
6
6
  light · ivory, Palatino headings, browns and quiet inks
7
7
  Inspired by Reveal.js 'serif' — palette kept canonical where possible,
8
8
  every gated pair fitted to the WCAG contract.
9
- Token contract: SPEC.md §5 — validated by test/contrast.mjs
9
+ Token contract: SPEC.md THEMING — validated by test/contrast.mjs
10
10
  ═══════════════════════════════════════════════════════════════ */
11
11
 
12
12
  .decklight {
@@ -8,7 +8,7 @@
8
8
  light · bare white, black Lato, one blue
9
9
  Inspired by Reveal.js 'simple' — palette kept canonical where possible,
10
10
  every gated pair fitted to the WCAG contract.
11
- Token contract: SPEC.md §5 — validated by test/contrast.mjs
11
+ Token contract: SPEC.md THEMING — validated by test/contrast.mjs
12
12
  ═══════════════════════════════════════════════════════════════ */
13
13
 
14
14
  .decklight {
@@ -9,7 +9,7 @@
9
9
  Inspired by Reveal.js 'sky' — palette kept canonical where possible,
10
10
  every gated pair fitted to the WCAG contract.
11
11
  rule-exception: R2 the canonical sky wash canvas
12
- Token contract: SPEC.md §5 — validated by test/contrast.mjs
12
+ Token contract: SPEC.md THEMING — validated by test/contrast.mjs
13
13
  ═══════════════════════════════════════════════════════════════ */
14
14
 
15
15
  .decklight {
@@ -7,7 +7,7 @@
7
7
  Inspired by Reveal.js 'solarized' / Ethan Schoonover's Solarized Light — palette kept canonical where possible,
8
8
  every gated pair fitted to the WCAG contract.
9
9
  rule-exception: R2 the canonical Solarized base3 cream canvas
10
- Token contract: SPEC.md §5 — validated by test/contrast.mjs
10
+ Token contract: SPEC.md THEMING — validated by test/contrast.mjs
11
11
  ═══════════════════════════════════════════════════════════════ */
12
12
 
13
13
  .decklight {
@@ -6,7 +6,7 @@
6
6
  light · plain white, dark ink, Reveal blue links, monokai code
7
7
  Inspired by Reveal.js 'white' — palette kept canonical where possible,
8
8
  every gated pair fitted to the WCAG contract.
9
- Token contract: SPEC.md §5 — validated by test/contrast.mjs
9
+ Token contract: SPEC.md THEMING — validated by test/contrast.mjs
10
10
  ═══════════════════════════════════════════════════════════════ */
11
11
 
12
12
  .decklight {
package/themes/sepia.css CHANGED
@@ -4,7 +4,7 @@
4
4
  /* ═══════════════════════════════════════════════════════════════
5
5
  Decklight theme · sepia
6
6
  light · Antique folio — old-book paper, oxblood ink, light terminal
7
- 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
8
8
  ═══════════════════════════════════════════════════════════════ */
9
9
 
10
10
  .decklight {
package/themes/seriph.css CHANGED
@@ -6,7 +6,7 @@
6
6
  light · warm white, quiet serif display, a single restrained gold
7
7
  Inspired by Slidev's 'seriph' aesthetic — palette kept canonical where possible,
8
8
  every gated pair fitted to the WCAG contract.
9
- Token contract: SPEC.md §5 — validated by test/contrast.mjs
9
+ Token contract: SPEC.md THEMING — validated by test/contrast.mjs
10
10
  ═══════════════════════════════════════════════════════════════ */
11
11
 
12
12
  .decklight {
package/themes/slate.css CHANGED
@@ -4,7 +4,7 @@
4
4
  /* ═══════════════════════════════════════════════════════════════
5
5
  Decklight theme · slate
6
6
  light · Boardroom neutral — deliberately safe, steel-blue accent
7
- 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
8
8
  ═══════════════════════════════════════════════════════════════ */
9
9
 
10
10
  .decklight {
package/themes/storm.css CHANGED
@@ -4,7 +4,7 @@
4
4
  /* ═══════════════════════════════════════════════════════════════
5
5
  Decklight theme · storm
6
6
  dark · Squall-line slate with one bolt of electric yellow
7
- 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
8
8
  ═══════════════════════════════════════════════════════════════ */
9
9
 
10
10
  .decklight {