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
@@ -1,87 +0,0 @@
1
- /* Copyright 2026 Gilles Philippart
2
- SPDX-License-Identifier: Apache-2.0 */
3
-
4
- /* ═══════════════════════════════════════════════════════════════
5
- Decklight theme · pulp-fiction
6
- dark · dime-novel black, poster yellow, royale red
7
- Inspired by Pulp Fiction — the paperback cover — palette kept canonical where possible,
8
- every gated pair fitted to the WCAG contract.
9
- Token contract: SPEC.md §5 — validated by test/contrast.mjs
10
- ═══════════════════════════════════════════════════════════════ */
11
-
12
- .decklight {
13
- /* ── canvas ─────────────────────────────── */
14
- --bg: #171310;
15
- --bg-accent: none;
16
- --fg: #efe5d0;
17
- --muted: #a39784;
18
-
19
- /* ── type ───────────────────────────────── */
20
- --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
21
- --font-heading: Rockwell, "Rockwell Nova", "Roboto Slab", "DejaVu Serif", serif;
22
- --font-mono: "SF Mono", SFMono-Regular, ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
23
- --heading-color: #e8b93b;
24
- --heading-weight: 800;
25
- --link: #ef9a3f;
26
-
27
- /* ── accent ─────────────────────────────── */
28
- --accent: #c03a2b;
29
- --accent-contrast: #fbfbfa;
30
-
31
- /* ── blocks ─────────────────────────────── */
32
- --block-bg: #241d17;
33
- --block-border: 1px solid #38312c;
34
- --block-radius: 6px;
35
- --shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
36
-
37
- /* ── code ───────────────────────────────── */
38
- --code-bg: #1e1914;
39
- --code-fg: #ece2ce;
40
- --hl-keyword: #ecc664;
41
- --hl-string: #bacc8c;
42
- --hl-number: #ee9a71;
43
- --hl-comment: #7d7364;
44
- --hl-function: #97b8d1;
45
- --hl-type: #d8c090;
46
- --hl-punct: #b0a894;
47
-
48
- /* ── diagram ────────────────────────────── */
49
- --d-stroke: #a39784;
50
- --d-text: #efe5d0;
51
- --d-muted: #a39784;
52
- --d-accent: #c83d2d;
53
- --d-fill-1: #28251d;
54
- --d-fill-2: #31211f;
55
- --d-fill-3: #3a2c20;
56
- --d-fill-4: #28281d;
57
- --d-fill-5: #1f2831;
58
- --d-fill-6: #3a2025;
59
-
60
- /* ── terminal ───────────────────────────── */
61
- --term-bg: #120f0c;
62
- --term-fg: #e6e6e2;
63
- --term-prompt: #c03a2b;
64
- --term-cursor: #c03a2b;
65
- --term-selection: rgba(192, 58, 43, 0.28);
66
- --ansi-black: #9f8b89;
67
- --ansi-red: #cc7470;
68
- --ansi-green: #71cc70;
69
- --ansi-yellow: #ccb170;
70
- --ansi-blue: #709fcc;
71
- --ansi-magenta: #b570cc;
72
- --ansi-cyan: #70ccbc;
73
- --ansi-white: #e3dede;
74
- --ansi-bright-black: #b4a8a7;
75
- --ansi-bright-red: #e29b98;
76
- --ansi-bright-green: #98e298;
77
- --ansi-bright-yellow: #e2cc98;
78
- --ansi-bright-blue: #98bde2;
79
- --ansi-bright-magenta: #cf98e2;
80
- --ansi-bright-cyan: #98e2d5;
81
- --ansi-bright-white: #f3f2f2;
82
-
83
- /* ── builds ─────────────────────────────── */
84
- --dim-opacity: 0.27;
85
- }
86
-
87
- .decklight h1, .decklight h2 { text-transform: uppercase; letter-spacing: 0.02em; }
@@ -1,85 +0,0 @@
1
- /* Copyright 2026 Gilles Philippart
2
- SPDX-License-Identifier: Apache-2.0 */
3
-
4
- /* ═══════════════════════════════════════════════════════════════
5
- Decklight theme · severance
6
- dark · lumon midnight, cold fluorescent teal, unsettling calm
7
- Inspired by Severance — the severed floor and its green terminals — palette kept canonical where possible,
8
- every gated pair fitted to the WCAG contract.
9
- Token contract: SPEC.md §5 — validated by test/contrast.mjs
10
- ═══════════════════════════════════════════════════════════════ */
11
-
12
- .decklight {
13
- /* ── canvas ─────────────────────────────── */
14
- --bg: #06131c;
15
- --bg-accent: none;
16
- --fg: #cfe4e4;
17
- --muted: #7fa0a4;
18
-
19
- /* ── type ───────────────────────────────── */
20
- --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
21
- --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
22
- --font-mono: "SF Mono", SFMono-Regular, ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
23
- --heading-color: #a8e8dc;
24
- --heading-weight: 500;
25
- --link: #6fd0c0;
26
-
27
- /* ── accent ─────────────────────────────── */
28
- --accent: #48b8a4;
29
- --accent-contrast: #131313;
30
-
31
- /* ── blocks ─────────────────────────────── */
32
- --block-bg: #141c22;
33
- --block-border: 1px solid #2a3135;
34
- --block-radius: 4px;
35
- --shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
36
-
37
- /* ── code ───────────────────────────────── */
38
- --code-bg: #0a1c26;
39
- --code-fg: #c8e8e4;
40
- --hl-keyword: #7fe0d0;
41
- --hl-string: #a8d0e8;
42
- --hl-number: #d0e090;
43
- --hl-comment: #5f8084;
44
- --hl-function: #98c8f0;
45
- --hl-type: #c0e8c8;
46
- --hl-punct: #8fb0b4;
47
-
48
- /* ── diagram ────────────────────────────── */
49
- --d-stroke: #7fa0a4;
50
- --d-text: #cfe4e4;
51
- --d-muted: #7fa0a4;
52
- --d-accent: #48b8a4;
53
- --d-fill-1: #1b2525;
54
- --d-fill-2: #1d282e;
55
- --d-fill-3: #1f3632;
56
- --d-fill-4: #1b1f25;
57
- --d-fill-5: #1d2e27;
58
- --d-fill-6: #1f2336;
59
-
60
- /* ── terminal ───────────────────────────── */
61
- --term-bg: #040e15;
62
- --term-fg: #e6e6e2;
63
- --term-prompt: #48b8a4;
64
- --term-cursor: #48b8a4;
65
- --term-selection: rgba(72, 184, 164, 0.28);
66
- --ansi-black: #6f9094;
67
- --ansi-red: #e09088;
68
- --ansi-green: #8fd8b8;
69
- --ansi-yellow: #d0d090;
70
- --ansi-blue: #88b8e0;
71
- --ansi-magenta: #b0a0d0;
72
- --ansi-cyan: #7fe0d0;
73
- --ansi-white: #e0efee;
74
- --ansi-bright-black: #92abae;
75
- --ansi-bright-red: #edbdb9;
76
- --ansi-bright-green: #bce8d5;
77
- --ansi-bright-yellow: #e2e2bb;
78
- --ansi-bright-blue: #b9d5ed;
79
- --ansi-bright-magenta: #d2c9e4;
80
- --ansi-bright-cyan: #b0ece2;
81
- --ansi-bright-white: #f2f8f8;
82
-
83
- /* ── builds ─────────────────────────────── */
84
- --dim-opacity: 0.25;
85
- }
package/themes/snes.css DELETED
@@ -1,85 +0,0 @@
1
- /* Copyright 2026 Gilles Philippart
2
- SPDX-License-Identifier: Apache-2.0 */
3
-
4
- /* ═══════════════════════════════════════════════════════════════
5
- Decklight theme · snes
6
- light · console gray, purple accents, ABXY color pops
7
- Inspired by the Super Nintendo console + its four action buttons — palette kept canonical where possible,
8
- every gated pair fitted to the WCAG contract.
9
- Token contract: SPEC.md §5 — validated by test/contrast.mjs
10
- ═══════════════════════════════════════════════════════════════ */
11
-
12
- .decklight {
13
- /* ── canvas ─────────────────────────────── */
14
- --bg: #d8d8dd;
15
- --bg-accent: none;
16
- --fg: #26262e;
17
- --muted: #5f5f6c;
18
-
19
- /* ── type ───────────────────────────────── */
20
- --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
21
- --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
22
- --font-mono: "SF Mono", SFMono-Regular, ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
23
- --heading-color: #3c33a0;
24
- --heading-weight: 700;
25
- --link: #4f43ae;
26
-
27
- /* ── accent ─────────────────────────────── */
28
- --accent: #5546c8;
29
- --accent-contrast: #fbfbfa;
30
-
31
- /* ── blocks ─────────────────────────────── */
32
- --block-bg: #cbcbd5;
33
- --block-border: 1px solid #adadc1;
34
- --block-radius: 10px;
35
- --shadow: 0 5px 18px rgba(30, 30, 40, 0.12);
36
-
37
- /* ── code ───────────────────────────────── */
38
- --code-bg: #26262e;
39
- --code-fg: #e8e8ee;
40
- --hl-keyword: #b2a5fc;
41
- --hl-string: #8bdc9d;
42
- --hl-number: #f0d060;
43
- --hl-comment: #8a8a97;
44
- --hl-function: #7fc0f0;
45
- --hl-type: #f0a0a8;
46
- --hl-punct: #c8c8d4;
47
-
48
- /* ── diagram ────────────────────────────── */
49
- --d-stroke: #5f5f6c;
50
- --d-text: #26262e;
51
- --d-muted: #5f5f6c;
52
- --d-accent: #5546c8;
53
- --d-fill-1: #c3c0d7;
54
- --d-fill-2: #d7b7b7;
55
- --d-fill-3: #b4c7da;
56
- --d-fill-4: #d7d7c0;
57
- --d-fill-5: #b7d7b7;
58
- --d-fill-6: #cdb4da;
59
-
60
- /* ── terminal ───────────────────────────── */
61
- --term-bg: #2a2a33;
62
- --term-fg: #eceae6;
63
- --term-prompt: #7669d3;
64
- --term-cursor: #7669d3;
65
- --term-selection: rgba(85, 70, 200, 0.28);
66
- --ansi-black: #9a9aa5;
67
- --ansi-red: #e05a5a;
68
- --ansi-green: #3fa050;
69
- --ansi-yellow: #e8c840;
70
- --ansi-blue: #4f7fd0;
71
- --ansi-magenta: #a878d8;
72
- --ansi-cyan: #5fb8c8;
73
- --ansi-white: #ececf2;
74
- --ansi-bright-black: #babac2;
75
- --ansi-bright-red: #ea8e8e;
76
- --ansi-bright-green: #5dbf6e;
77
- --ansi-bright-yellow: #efd877;
78
- --ansi-bright-blue: #7fa2dd;
79
- --ansi-bright-magenta: #c7a7e6;
80
- --ansi-bright-cyan: #8dccd8;
81
- --ansi-bright-white: #f3f3f7;
82
-
83
- /* ── builds ─────────────────────────────── */
84
- --dim-opacity: 0.3;
85
- }
@@ -1,88 +0,0 @@
1
- /* Copyright 2026 Gilles Philippart
2
- SPDX-License-Identifier: Apache-2.0 */
3
-
4
- /* ═══════════════════════════════════════════════════════════════
5
- Decklight theme · star-wars
6
- dark · deep space black, crawl yellow, saber blue
7
- Inspired by Star Wars — the opening crawl — palette kept canonical where possible,
8
- every gated pair fitted to the WCAG contract.
9
- rule-exception: R3 the canonical crawl yellow (#ffe81f) is the identity
10
- Token contract: SPEC.md §5 — validated by test/contrast.mjs
11
- ═══════════════════════════════════════════════════════════════ */
12
-
13
- .decklight {
14
- /* ── canvas ─────────────────────────────── */
15
- --bg: #0a0a10;
16
- --bg-accent: none;
17
- --fg: #e6e2d2;
18
- --muted: #98948a;
19
-
20
- /* ── type ───────────────────────────────── */
21
- --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
22
- --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
23
- --font-mono: "SF Mono", SFMono-Regular, ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
24
- --heading-color: #ffe81f;
25
- --heading-weight: 800;
26
- --link: #f0d860;
27
-
28
- /* ── accent ─────────────────────────────── */
29
- --accent: #e8c825;
30
- --accent-contrast: #131313;
31
-
32
- /* ── blocks ─────────────────────────────── */
33
- --block-bg: #11111d;
34
- --block-border: 1px solid #262631;
35
- --block-radius: 4px;
36
- --shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
37
-
38
- /* ── code ───────────────────────────────── */
39
- --code-bg: #10101a;
40
- --code-fg: #e8e4d8;
41
- --hl-keyword: #f0d860;
42
- --hl-string: #7fc8f0;
43
- --hl-number: #f0a860;
44
- --hl-comment: #70706a;
45
- --hl-function: #8fd08f;
46
- --hl-type: #e88a80;
47
- --hl-punct: #b8b4a8;
48
-
49
- /* ── diagram ────────────────────────────── */
50
- --d-stroke: #98948a;
51
- --d-text: #e6e2d2;
52
- --d-muted: #98948a;
53
- --d-accent: #4fb8f0;
54
- --d-fill-1: #211f18;
55
- --d-fill-2: #1a2129;
56
- --d-fill-3: #311c1c;
57
- --d-fill-4: #182118;
58
- --d-fill-5: #1a1d29;
59
- --d-fill-6: #31281c;
60
-
61
- /* ── terminal ───────────────────────────── */
62
- --term-bg: #08080e;
63
- --term-fg: #e6e6e2;
64
- --term-prompt: #e8c825;
65
- --term-cursor: #e8c825;
66
- --term-selection: rgba(232, 200, 37, 0.28);
67
- --ansi-black: #9f9b89;
68
- --ansi-red: #d97963;
69
- --ansi-green: #63d973;
70
- --ansi-yellow: #d9c763;
71
- --ansi-blue: #638ed9;
72
- --ansi-magenta: #cb63d9;
73
- --ansi-cyan: #63d9d5;
74
- --ansi-white: #e3e2de;
75
- --ansi-bright-black: #b4b2a7;
76
- --ansi-bright-red: #eaa08f;
77
- --ansi-bright-green: #8fea9b;
78
- --ansi-bright-yellow: #eadd8f;
79
- --ansi-bright-blue: #8fb0ea;
80
- --ansi-bright-magenta: #e08fea;
81
- --ansi-bright-cyan: #8feae7;
82
- --ansi-bright-white: #f3f3f2;
83
-
84
- /* ── builds ─────────────────────────────── */
85
- --dim-opacity: 0.3;
86
- }
87
-
88
- .decklight h1, .decklight h2 { text-transform: uppercase; letter-spacing: 0.04em; }
@@ -1,87 +0,0 @@
1
- /* Copyright 2026 Gilles Philippart
2
- SPDX-License-Identifier: Apache-2.0 */
3
-
4
- /* ═══════════════════════════════════════════════════════════════
5
- Decklight theme · stranger-things
6
- dark · upside-down black, title red, a serif that means business
7
- Inspired by Stranger Things — the red title in the dark — palette kept canonical where possible,
8
- every gated pair fitted to the WCAG contract.
9
- Token contract: SPEC.md §5 — validated by test/contrast.mjs
10
- ═══════════════════════════════════════════════════════════════ */
11
-
12
- .decklight {
13
- /* ── canvas ─────────────────────────────── */
14
- --bg: #0d0a0e;
15
- --bg-accent: none;
16
- --fg: #e8dfd8;
17
- --muted: #9a8d88;
18
-
19
- /* ── type ───────────────────────────────── */
20
- --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
21
- --font-heading: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
22
- --font-mono: "SF Mono", SFMono-Regular, ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
23
- --heading-color: #e2242e;
24
- --heading-weight: 700;
25
- --link: #ef6a5e;
26
-
27
- /* ── accent ─────────────────────────────── */
28
- --accent: #c42832;
29
- --accent-contrast: #fbfbfa;
30
-
31
- /* ── blocks ─────────────────────────────── */
32
- --block-bg: #18121b;
33
- --block-border: 1px solid #2d2530;
34
- --block-radius: 4px;
35
- --shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
36
-
37
- /* ── code ───────────────────────────────── */
38
- --code-bg: #141014;
39
- --code-fg: #e8e0da;
40
- --hl-keyword: #ee7c72;
41
- --hl-string: #cab988;
42
- --hl-number: #e8a860;
43
- --hl-comment: #7a6f6c;
44
- --hl-function: #a8b8e0;
45
- --hl-type: #d8c0a0;
46
- --hl-punct: #b0a8a4;
47
-
48
- /* ── diagram ────────────────────────────── */
49
- --d-stroke: #9a8d88;
50
- --d-text: #e8dfd8;
51
- --d-muted: #9a8d88;
52
- --d-accent: #c42832;
53
- --d-fill-1: #201718;
54
- --d-fill-2: #281e19;
55
- --d-fill-3: #1b1e30;
56
- --d-fill-4: #201d17;
57
- --d-fill-5: #231928;
58
- --d-fill-6: #1b2930;
59
-
60
- /* ── terminal ───────────────────────────── */
61
- --term-bg: #0a080b;
62
- --term-fg: #e6e6e2;
63
- --term-prompt: #c42832;
64
- --term-cursor: #c42832;
65
- --term-selection: rgba(196, 40, 50, 0.28);
66
- --ansi-black: #9f898b;
67
- --ansi-red: #ce866e;
68
- --ansi-green: #6ece81;
69
- --ansi-yellow: #cec66e;
70
- --ansi-blue: #6e8bce;
71
- --ansi-magenta: #c96ece;
72
- --ansi-cyan: #6ecbce;
73
- --ansi-white: #e3dede;
74
- --ansi-bright-black: #b4a7a8;
75
- --ansi-bright-red: #e3a997;
76
- --ansi-bright-green: #97e3a5;
77
- --ansi-bright-yellow: #e3dc97;
78
- --ansi-bright-blue: #97aee3;
79
- --ansi-bright-magenta: #df97e3;
80
- --ansi-bright-cyan: #97e1e3;
81
- --ansi-bright-white: #f3f2f2;
82
-
83
- /* ── builds ─────────────────────────────── */
84
- --dim-opacity: 0.25;
85
- }
86
-
87
- .decklight h1, .decklight h2 { text-transform: uppercase; letter-spacing: 0.08em; }
@@ -1,87 +0,0 @@
1
- /* Copyright 2026 Gilles Philippart
2
- SPDX-License-Identifier: Apache-2.0 */
3
-
4
- /* ═══════════════════════════════════════════════════════════════
5
- Decklight theme · terminator
6
- dark · gunmetal chrome, target-lock red, cold machine grays
7
- Inspired by The Terminator — chrome endoskeleton, HUD red — palette kept canonical where possible,
8
- every gated pair fitted to the WCAG contract.
9
- Token contract: SPEC.md §5 — validated by test/contrast.mjs
10
- ═══════════════════════════════════════════════════════════════ */
11
-
12
- .decklight {
13
- /* ── canvas ─────────────────────────────── */
14
- --bg: linear-gradient(180deg, #16181d 0%, #0d0e12 100%);
15
- --bg-accent: none;
16
- --fg: #dde1e8;
17
- --muted: #8f95a0;
18
-
19
- /* ── type ───────────────────────────────── */
20
- --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
21
- --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
22
- --font-mono: "SF Mono", SFMono-Regular, ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
23
- --heading-color: #e04248;
24
- --heading-weight: 800;
25
- --link: #ef7a74;
26
-
27
- /* ── accent ─────────────────────────────── */
28
- --accent: #c42f38;
29
- --accent-contrast: #fbfbfa;
30
-
31
- /* ── blocks ─────────────────────────────── */
32
- --block-bg: #1e212a;
33
- --block-border: 1px solid #31353f;
34
- --block-radius: 3px;
35
- --shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
36
-
37
- /* ── code ───────────────────────────────── */
38
- --code-bg: #101318;
39
- --code-fg: #dfe3ea;
40
- --hl-keyword: #e78186;
41
- --hl-string: #a4b8cc;
42
- --hl-number: #e2a866;
43
- --hl-comment: #6a707a;
44
- --hl-function: #8fb8e0;
45
- --hl-type: #c3c9dd;
46
- --hl-punct: #a0a6b0;
47
-
48
- /* ── diagram ────────────────────────────── */
49
- --d-stroke: #8f95a0;
50
- --d-text: #dde1e8;
51
- --d-muted: #8f95a0;
52
- --d-accent: #d55159;
53
- --d-fill-1: #22272f;
54
- --d-fill-2: #382425;
55
- --d-fill-3: #253841;
56
- --d-fill-4: #22222f;
57
- --d-fill-5: #382e24;
58
- --d-fill-6: #254141;
59
-
60
- /* ── terminal ───────────────────────────── */
61
- --term-bg: #0b0d11;
62
- --term-fg: #e6e6e2;
63
- --term-prompt: #c42f38;
64
- --term-cursor: #c42f38;
65
- --term-selection: rgba(196, 47, 56, 0.28);
66
- --ansi-black: #9f898a;
67
- --ansi-red: #cb8872;
68
- --ansi-green: #72cb83;
69
- --ansi-yellow: #cbc372;
70
- --ansi-blue: #728dcb;
71
- --ansi-magenta: #c672cb;
72
- --ansi-cyan: #72c8cb;
73
- --ansi-white: #e3dede;
74
- --ansi-bright-black: #b4a7a8;
75
- --ansi-bright-red: #e0ab99;
76
- --ansi-bright-green: #99e0a7;
77
- --ansi-bright-yellow: #e0da99;
78
- --ansi-bright-blue: #99afe0;
79
- --ansi-bright-magenta: #dd99e0;
80
- --ansi-bright-cyan: #99dee0;
81
- --ansi-bright-white: #f3f2f2;
82
-
83
- /* ── builds ─────────────────────────────── */
84
- --dim-opacity: 0.25;
85
- }
86
-
87
- .decklight h1, .decklight h2 { text-transform: uppercase; letter-spacing: 0.03em; }