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.
- package/LICENSE +202 -21
- package/README.md +105 -183
- package/SPEC.md +861 -74
- package/cli/agents.mjs +206 -0
- package/cli/associate.mjs +279 -0
- package/cli/audit.mjs +424 -0
- package/cli/bundle.mjs +210 -45
- package/cli/deckfile.mjs +233 -0
- package/cli/decklight.mjs +216 -5
- package/cli/dev.mjs +455 -0
- package/cli/edit.mjs +733 -63
- package/cli/extension.mjs +108 -0
- package/cli/git.mjs +141 -0
- package/cli/import.mjs +398 -0
- package/cli/init.mjs +465 -121
- package/cli/loader.mjs +263 -0
- package/cli/marketplace.mjs +730 -0
- package/cli/pdf.mjs +156 -0
- package/cli/pkg.mjs +69 -0
- package/cli/plugin.mjs +646 -0
- package/cli/port-conflict.mjs +94 -0
- package/cli/present.mjs +560 -0
- package/cli/publish.mjs +342 -0
- package/cli/qr.mjs +334 -0
- package/cli/rec.mjs +12 -8
- package/cli/remote.mjs +149 -0
- package/cli/report-bug.mjs +97 -0
- package/cli/restore.mjs +174 -0
- package/cli/serve.mjs +247 -0
- package/cli/sign.mjs +216 -0
- package/cli/skill-content.mjs +222 -0
- package/cli/skills.mjs +338 -0
- package/cli/supervise.mjs +57 -0
- package/cli/theme.mjs +201 -0
- package/cli/units.mjs +488 -0
- package/cli/upgrade.mjs +250 -0
- package/cli/util.mjs +90 -0
- package/cli/wizard.mjs +432 -0
- package/cli/zip.mjs +121 -0
- package/dist/decklight.css +949 -72
- package/dist/decklight.js +220 -103
- package/dist/decklight.js.map +4 -4
- package/docs/architecture.svg +1 -1
- package/package.json +9 -6
- package/themes/README.md +6 -4
- package/themes/aurora.css +4 -1
- package/themes/berry.css +4 -1
- package/themes/carbon.css +4 -1
- package/themes/citrus.css +4 -1
- package/themes/coastal.css +4 -1
- package/themes/cosmos.css +4 -1
- package/themes/dune.css +4 -1
- package/themes/eclipse.css +4 -1
- package/themes/ember.css +4 -1
- package/themes/fjord.css +4 -1
- package/themes/gallery.html +3 -11
- package/themes/glacier.css +4 -1
- package/themes/graphite.css +4 -1
- package/themes/harvest.css +4 -1
- package/themes/ibm-modern.css +4 -1
- package/themes/ink.css +4 -1
- package/themes/latte.css +4 -1
- package/themes/linen.css +4 -1
- package/themes/meadow.css +4 -1
- package/themes/metropolis.css +4 -1
- package/themes/midnight.css +4 -1
- package/themes/mint.css +4 -1
- package/themes/moss.css +4 -1
- package/themes/obsidian.css +4 -1
- package/themes/orchid.css +4 -1
- package/themes/packs.json +4 -31
- package/themes/paper.css +4 -1
- package/themes/peony.css +4 -1
- package/themes/porcelain.css +4 -1
- package/themes/reveal-beige.css +4 -1
- package/themes/reveal-black.css +4 -1
- package/themes/reveal-blood.css +4 -1
- package/themes/reveal-dracula.css +4 -1
- package/themes/reveal-league.css +4 -1
- package/themes/reveal-moon.css +4 -1
- package/themes/reveal-night.css +4 -1
- package/themes/reveal-serif.css +4 -1
- package/themes/reveal-simple.css +4 -1
- package/themes/reveal-sky.css +4 -1
- package/themes/reveal-solarized.css +4 -1
- package/themes/reveal-white.css +4 -1
- package/themes/sepia.css +4 -1
- package/themes/seriph.css +4 -1
- package/themes/slate.css +4 -1
- package/themes/storm.css +4 -1
- package/themes/synthwave.css +4 -1
- package/themes/velvet.css +4 -1
- package/themes/yamabuki.css +120 -0
- package/tools/args.mjs +32 -0
- package/tools/bridge.mjs +30 -0
- package/tools/chrome.mjs +52 -0
- package/tools/color.mjs +110 -0
- package/tools/deck-html.mjs +138 -0
- package/tools/elevenlabs-tts.mjs +248 -0
- package/tools/escape.mjs +40 -0
- package/tools/extension-check-runner.mjs +41 -0
- package/tools/extension-check.mjs +266 -0
- package/tools/gemini-tts.mjs +44 -4
- package/tools/lipsync-engines.mjs +81 -0
- package/tools/lipsync-server.mjs +290 -0
- package/tools/lipsync.mjs +181 -0
- package/tools/local-voice.mjs +209 -0
- package/tools/ooxml.mjs +151 -0
- package/tools/pptx.mjs +320 -0
- package/tools/publish-site-voices.mjs +5 -1
- package/tools/publish-targets.mjs +143 -0
- package/tools/publish-voices.mjs +230 -0
- package/tools/shot.mjs +129 -0
- package/tools/theme-check.mjs +139 -0
- package/tools/tts-engines.mjs +455 -0
- package/tools/tts-setup.mjs +257 -0
- package/tools/veo.mjs +204 -0
- package/tools/video.mjs +316 -0
- package/tools/visemes.mjs +26 -0
- package/tools/voiceover-server.mjs +0 -0
- package/tools/voiceover.mjs +73 -39
- package/tools/zip.mjs +143 -0
- package/docs/demo.svg +0 -124
- package/themes/aliens.css +0 -84
- package/themes/apple2.css +0 -126
- package/themes/blade-runner.css +0 -83
- package/themes/c64.css +0 -85
- package/themes/friends.css +0 -82
- package/themes/gameboy.css +0 -118
- package/themes/genesis.css +0 -84
- package/themes/godfather.css +0 -82
- package/themes/ibm-oldschool.css +0 -84
- package/themes/miami-vice.css +0 -84
- package/themes/pulp-fiction.css +0 -84
- package/themes/severance.css +0 -82
- package/themes/snes.css +0 -82
- package/themes/star-wars.css +0 -85
- package/themes/stranger-things.css +0 -84
- package/themes/terminator.css +0 -84
package/docs/demo.svg
DELETED
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 540" width="960" height="540" role="img"
|
|
2
|
-
aria-label="A Decklight slide building in: title, bullets and a diagram step in one by one, then the theme cycles from indigo light to dark to warm parchment.">
|
|
3
|
-
<!-- Hand-authored animated demo (no JS — safe in <img>). One 14s loop:
|
|
4
|
-
0–43% builds step in (title, subtitle, bullets, diagram draw)
|
|
5
|
-
47–51% theme cycles to dark (as if pressing .)
|
|
6
|
-
53–72% generator toast (⌃T)
|
|
7
|
-
73–77% theme cycles to warm parchment
|
|
8
|
-
97–100% content fades for the loop restart
|
|
9
|
-
Reduced motion: animations off → static, fully-built slide. -->
|
|
10
|
-
<style>
|
|
11
|
-
* { animation-duration: 14s; animation-timing-function: linear; animation-iteration-count: infinite; }
|
|
12
|
-
text { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
|
|
13
|
-
.mono { font-family: "SF Mono", SFMono-Regular, ui-monospace, Menlo, Consolas, monospace; }
|
|
14
|
-
|
|
15
|
-
.bg { fill: #f6f6fa; animation-name: kBg; }
|
|
16
|
-
.ttl { fill: #23268f; animation-name: kTtl; }
|
|
17
|
-
.ink { fill: #2b2e44; animation-name: kInk; }
|
|
18
|
-
.mut { fill: #7c8095; animation-name: kMut; }
|
|
19
|
-
.acc { fill: #3438c9; animation-name: kAcc; }
|
|
20
|
-
.strk { stroke: #9297cf; animation-name: kStrk; }
|
|
21
|
-
/* animation-name lists don't merge across rules: anything needing a
|
|
22
|
-
color animation AND a reveal/draw animation names both in ONE rule */
|
|
23
|
-
.nf1 { fill: #e4e5f7; stroke: #9297cf; animation-name: kF1, kStrk; }
|
|
24
|
-
.nf2 { fill: #dfeaf6; stroke: #9297cf; animation-name: kF2, kStrk; }
|
|
25
|
-
.nf3 { fill: #ece3f4; stroke: #9297cf; animation-name: kF3, kStrk; }
|
|
26
|
-
|
|
27
|
-
.rTitle { animation-name: kTtl, kInTitle; }
|
|
28
|
-
.rSub { animation-name: kMut, kInSub; }
|
|
29
|
-
.rB1 { animation-name: kInB1; }
|
|
30
|
-
.rB2 { animation-name: kInB2; }
|
|
31
|
-
.rB3 { animation-name: kInB3; }
|
|
32
|
-
.rN1 { animation-name: kInN1; }
|
|
33
|
-
.rN2 { animation-name: kInN2; }
|
|
34
|
-
.rN3 { animation-name: kInN3; }
|
|
35
|
-
.rA1 { animation-name: kStrk, kDrawA1; }
|
|
36
|
-
.rA2 { animation-name: kStrk, kDrawA2; }
|
|
37
|
-
.rA1h { animation-name: kAcc, kA1Head; }
|
|
38
|
-
.rA2h { animation-name: kAcc, kA2Head; }
|
|
39
|
-
.toast { animation-name: kToast; }
|
|
40
|
-
.pfill { animation-name: kAcc, kProgress; transform-origin: 0 0; }
|
|
41
|
-
|
|
42
|
-
/* theme color cycle: A(indigo light) → B(night) → C(parchment) → A */
|
|
43
|
-
@keyframes kBg { 0%,47% {fill:#f6f6fa} 51%,73% {fill:#131519} 77%,97% {fill:#faf7f2} 100% {fill:#f6f6fa} }
|
|
44
|
-
@keyframes kTtl { 0%,47% {fill:#23268f} 51%,73% {fill:#e9edf4} 77%,97% {fill:#4d5527} 100% {fill:#23268f} }
|
|
45
|
-
@keyframes kInk { 0%,47% {fill:#2b2e44} 51%,73% {fill:#c9d1dc} 77%,97% {fill:#2e2a24} 100% {fill:#2b2e44} }
|
|
46
|
-
@keyframes kMut { 0%,47% {fill:#7c8095} 51%,73% {fill:#848da0} 77%,97% {fill:#8d8577} 100% {fill:#7c8095} }
|
|
47
|
-
@keyframes kAcc { 0%,47% {fill:#3438c9} 51%,73% {fill:#8fbfe8} 77%,97% {fill:#75823f} 100% {fill:#3438c9} }
|
|
48
|
-
@keyframes kF1 { 0%,47% {fill:#e4e5f7} 51%,73% {fill:#232833} 77%,97% {fill:#e7e5d4} 100% {fill:#e4e5f7} }
|
|
49
|
-
@keyframes kF2 { 0%,47% {fill:#dfeaf6} 51%,73% {fill:#223028} 77%,97% {fill:#dfe6df} 100% {fill:#dfeaf6} }
|
|
50
|
-
@keyframes kF3 { 0%,47% {fill:#ece3f4} 51%,73% {fill:#2a2536} 77%,97% {fill:#ece2d8} 100% {fill:#ece3f4} }
|
|
51
|
-
@keyframes kStrk { 0%,47% {stroke:#9297cf} 51%,73% {stroke:#9db8cd} 77%,97% {stroke:#837e5a} 100% {stroke:#9297cf} }
|
|
52
|
-
|
|
53
|
-
/* builds (Keynote-style steps) */
|
|
54
|
-
@keyframes kInTitle { 0% {opacity:0; transform:translateY(14px)} 3.5% {opacity:1; transform:none} 96.5% {opacity:1} 100% {opacity:0} }
|
|
55
|
-
@keyframes kInSub { 0%,4% {opacity:0; transform:translateY(10px)} 7% {opacity:1; transform:none} 96.5% {opacity:1} 100% {opacity:0} }
|
|
56
|
-
@keyframes kInB1 { 0%,9% {opacity:0; transform:translateY(10px)} 12% {opacity:1; transform:none} 96.5% {opacity:1} 100% {opacity:0} }
|
|
57
|
-
@keyframes kInB2 { 0%,15% {opacity:0; transform:translateY(10px)} 18% {opacity:1; transform:none} 96.5% {opacity:1} 100% {opacity:0} }
|
|
58
|
-
@keyframes kInB3 { 0%,21% {opacity:0; transform:translateY(10px)} 24% {opacity:1; transform:none} 96.5% {opacity:1} 100% {opacity:0} }
|
|
59
|
-
@keyframes kInN1 { 0%,27% {opacity:0; transform:translateY(10px)} 30% {opacity:1; transform:none} 96.5% {opacity:1} 100% {opacity:0} }
|
|
60
|
-
@keyframes kInN2 { 0%,33.5% {opacity:0; transform:translateY(10px)} 36.5% {opacity:1; transform:none} 96.5% {opacity:1} 100% {opacity:0} }
|
|
61
|
-
@keyframes kInN3 { 0%,40% {opacity:0; transform:translateY(10px)} 43% {opacity:1; transform:none} 96.5% {opacity:1} 100% {opacity:0} }
|
|
62
|
-
@keyframes kDrawA1 { 0%,30% {opacity:0; stroke-dashoffset:1} 30.5% {opacity:1} 33.5% {stroke-dashoffset:0} 96.5% {opacity:1; stroke-dashoffset:0} 100% {opacity:0} }
|
|
63
|
-
@keyframes kDrawA2 { 0%,36.5% {opacity:0; stroke-dashoffset:1} 37% {opacity:1} 40% {stroke-dashoffset:0} 96.5% {opacity:1; stroke-dashoffset:0} 100% {opacity:0} }
|
|
64
|
-
@keyframes kA1Head { 0%,33% {opacity:0} 34.5% {opacity:1} 96.5% {opacity:1} 100% {opacity:0} }
|
|
65
|
-
@keyframes kA2Head { 0%,39.5% {opacity:0} 41% {opacity:1} 96.5% {opacity:1} 100% {opacity:0} }
|
|
66
|
-
@keyframes kToast { 0%,52% {opacity:0; transform:translateY(8px)} 55% {opacity:1; transform:none} 69% {opacity:1; transform:none} 72% {opacity:0} 100% {opacity:0} }
|
|
67
|
-
@keyframes kProgress{ 0% {transform:scaleX(0.04)} 11% {transform:scaleX(0.04)} 12% {transform:scaleX(0.2)}
|
|
68
|
-
17% {transform:scaleX(0.2)} 18% {transform:scaleX(0.36)} 23% {transform:scaleX(0.36)}
|
|
69
|
-
24% {transform:scaleX(0.52)} 29% {transform:scaleX(0.52)} 30% {transform:scaleX(0.68)}
|
|
70
|
-
36% {transform:scaleX(0.68)} 36.5% {transform:scaleX(0.84)} 42% {transform:scaleX(0.84)}
|
|
71
|
-
43%,100% {transform:scaleX(1)} }
|
|
72
|
-
|
|
73
|
-
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }
|
|
74
|
-
</style>
|
|
75
|
-
|
|
76
|
-
<rect class="bg" width="960" height="540"/>
|
|
77
|
-
|
|
78
|
-
<!-- chrome -->
|
|
79
|
-
<text class="mut" x="912" y="38" font-size="15" text-anchor="end">12 / 40</text>
|
|
80
|
-
<rect class="mut" x="0" y="536" width="960" height="4" opacity="0.22"/>
|
|
81
|
-
<rect class="acc pfill" x="0" y="536" width="960" height="4"/>
|
|
82
|
-
|
|
83
|
-
<!-- pinned title + subtitle -->
|
|
84
|
-
<text class="ttl rTitle" x="480" y="96" font-size="44" font-weight="700" text-anchor="middle">Composing Agents</text>
|
|
85
|
-
<text class="mut rSub" x="480" y="132" font-size="19" text-anchor="middle">Patterns for multi-agent systems</text>
|
|
86
|
-
|
|
87
|
-
<!-- bullets (one data-build container in a real deck) -->
|
|
88
|
-
<g class="rB1">
|
|
89
|
-
<circle class="acc" cx="96" cy="238" r="5"/>
|
|
90
|
-
<text class="ink" x="120" y="246" font-size="22">Sequential — hand off step by step</text>
|
|
91
|
-
</g>
|
|
92
|
-
<g class="rB2">
|
|
93
|
-
<circle class="acc" cx="96" cy="308" r="5"/>
|
|
94
|
-
<text class="ink" x="120" y="316" font-size="22">Parallel — fan out, then aggregate</text>
|
|
95
|
-
</g>
|
|
96
|
-
<g class="rB3">
|
|
97
|
-
<circle class="acc" cx="96" cy="378" r="5"/>
|
|
98
|
-
<text class="ink" x="120" y="386" font-size="22">Supervisor — one agent routes the rest</text>
|
|
99
|
-
</g>
|
|
100
|
-
|
|
101
|
-
<!-- diagram (an inline SVG with data-build="draw" in a real deck) -->
|
|
102
|
-
<g class="rN1">
|
|
103
|
-
<rect class="nf1" x="620" y="180" width="240" height="62" rx="12" stroke-width="2"/>
|
|
104
|
-
<text class="ink" x="740" y="218" font-size="19" font-weight="600" text-anchor="middle">Intent Agent</text>
|
|
105
|
-
</g>
|
|
106
|
-
<line class="strk rA1" x1="740" y1="244" x2="740" y2="276" stroke-width="2.5" pathLength="1" stroke-dasharray="1"/>
|
|
107
|
-
<path class="acc rA1h" d="M 733 272 L 747 272 L 740 283 Z"/>
|
|
108
|
-
<g class="rN2">
|
|
109
|
-
<rect class="nf2" x="620" y="286" width="240" height="62" rx="12" stroke-width="2"/>
|
|
110
|
-
<text class="ink" x="740" y="324" font-size="19" font-weight="600" text-anchor="middle">Research Agent</text>
|
|
111
|
-
</g>
|
|
112
|
-
<line class="strk rA2" x1="740" y1="350" x2="740" y2="382" stroke-width="2.5" pathLength="1" stroke-dasharray="1"/>
|
|
113
|
-
<path class="acc rA2h" d="M 733 378 L 747 378 L 740 389 Z"/>
|
|
114
|
-
<g class="rN3">
|
|
115
|
-
<rect class="nf3" x="620" y="392" width="240" height="62" rx="12" stroke-width="2"/>
|
|
116
|
-
<text class="ink" x="740" y="430" font-size="19" font-weight="600" text-anchor="middle">Response Agent</text>
|
|
117
|
-
</g>
|
|
118
|
-
|
|
119
|
-
<!-- generator toast (⌃T) -->
|
|
120
|
-
<g class="toast">
|
|
121
|
-
<rect x="290" y="472" width="380" height="34" rx="17" fill="#333338" opacity="0.92"/>
|
|
122
|
-
<text class="mono" x="480" y="494" font-size="14" fill="#f2f2f4" text-anchor="middle">✨ gen-onyx-0b81 — ⌃T re-roll · ⌃⇧T save</text>
|
|
123
|
-
</g>
|
|
124
|
-
</svg>
|
package/themes/aliens.css
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
/* ═══════════════════════════════════════════════════════════════
|
|
2
|
-
Decklight theme · aliens
|
|
3
|
-
dark · military phosphor, tracker green, amber warnings
|
|
4
|
-
Inspired by Aliens — the motion tracker and the Sulaco CRTs — palette kept canonical where possible,
|
|
5
|
-
every gated pair fitted to the WCAG contract.
|
|
6
|
-
Token contract: SPEC.md §5 — validated by test/contrast.mjs
|
|
7
|
-
═══════════════════════════════════════════════════════════════ */
|
|
8
|
-
|
|
9
|
-
.decklight {
|
|
10
|
-
/* ── canvas ─────────────────────────────── */
|
|
11
|
-
--bg: #0a0f0d;
|
|
12
|
-
--bg-accent: none;
|
|
13
|
-
--fg: #b8e0c8;
|
|
14
|
-
--muted: #6f9a80;
|
|
15
|
-
|
|
16
|
-
/* ── type ───────────────────────────────── */
|
|
17
|
-
--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
18
|
-
--font-heading: "SF Mono", SFMono-Regular, ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
|
|
19
|
-
--font-mono: "SF Mono", SFMono-Regular, ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
|
|
20
|
-
--heading-color: #8fe8b0;
|
|
21
|
-
--heading-weight: 600;
|
|
22
|
-
--link: #e8c060;
|
|
23
|
-
|
|
24
|
-
/* ── accent ─────────────────────────────── */
|
|
25
|
-
--accent: #58d364;
|
|
26
|
-
--accent-contrast: #131313;
|
|
27
|
-
|
|
28
|
-
/* ── blocks ─────────────────────────────── */
|
|
29
|
-
--block-bg: #111c18;
|
|
30
|
-
--block-border: 1px solid #26302c;
|
|
31
|
-
--block-radius: 3px;
|
|
32
|
-
--shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
|
|
33
|
-
|
|
34
|
-
/* ── code ───────────────────────────────── */
|
|
35
|
-
--code-bg: #0e1511;
|
|
36
|
-
--code-fg: #b8e8c8;
|
|
37
|
-
--hl-keyword: #8fe8b0;
|
|
38
|
-
--hl-string: #e8d080;
|
|
39
|
-
--hl-number: #e8a850;
|
|
40
|
-
--hl-comment: #557a64;
|
|
41
|
-
--hl-function: #7fd8d0;
|
|
42
|
-
--hl-type: #c8e890;
|
|
43
|
-
--hl-punct: #8fb89c;
|
|
44
|
-
|
|
45
|
-
/* ── diagram ────────────────────────────── */
|
|
46
|
-
--d-stroke: #6f9a80;
|
|
47
|
-
--d-text: #b8e0c8;
|
|
48
|
-
--d-muted: #6f9a80;
|
|
49
|
-
--d-accent: #e8b840;
|
|
50
|
-
--d-fill-1: #17201b;
|
|
51
|
-
--d-fill-2: #28251a;
|
|
52
|
-
--d-fill-3: #1b312a;
|
|
53
|
-
--d-fill-4: #172019;
|
|
54
|
-
--d-fill-5: #1a2827;
|
|
55
|
-
--d-fill-6: #22311b;
|
|
56
|
-
|
|
57
|
-
/* ── terminal ───────────────────────────── */
|
|
58
|
-
--term-bg: #080c0a;
|
|
59
|
-
--term-fg: #e6e6e2;
|
|
60
|
-
--term-prompt: #58d364;
|
|
61
|
-
--term-cursor: #58d364;
|
|
62
|
-
--term-selection: rgba(88, 211, 100, 0.28);
|
|
63
|
-
--ansi-black: #7a8a7a;
|
|
64
|
-
--ansi-red: #e08a6a;
|
|
65
|
-
--ansi-green: #6fd66f;
|
|
66
|
-
--ansi-yellow: #d6c258;
|
|
67
|
-
--ansi-blue: #7fb3d0;
|
|
68
|
-
--ansi-magenta: #c79ac0;
|
|
69
|
-
--ansi-cyan: #7fd0c0;
|
|
70
|
-
--ansi-white: #dfe8df;
|
|
71
|
-
--ansi-bright-black: #9ba79b;
|
|
72
|
-
--ansi-bright-red: #ebb29d;
|
|
73
|
-
--ansi-bright-green: #9fe49f;
|
|
74
|
-
--ansi-bright-yellow: #e2d489;
|
|
75
|
-
--ansi-bright-blue: #accee0;
|
|
76
|
-
--ansi-bright-magenta: #ddc1d9;
|
|
77
|
-
--ansi-bright-cyan: #ace0d6;
|
|
78
|
-
--ansi-bright-white: #f3f6f3;
|
|
79
|
-
|
|
80
|
-
/* ── builds ─────────────────────────────── */
|
|
81
|
-
--dim-opacity: 0.22;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.decklight h1, .decklight h2 { text-transform: uppercase; letter-spacing: 0.05em; }
|
package/themes/apple2.css
DELETED
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
/* ═══════════════════════════════════════════════════════════════
|
|
2
|
-
Decklight theme · apple2
|
|
3
|
-
dark · black glass, one green phosphor, mono display type
|
|
4
|
-
Inspired by the Apple ][ green phosphor CRT — palette kept canonical where possible,
|
|
5
|
-
every gated pair fitted to the WCAG contract.
|
|
6
|
-
rule-exception: R1 a single-phosphor monochrome display is the identity
|
|
7
|
-
rule-exception: R3 phosphor green burns bright by design
|
|
8
|
-
Token contract: SPEC.md §5 — validated by test/contrast.mjs
|
|
9
|
-
═══════════════════════════════════════════════════════════════ */
|
|
10
|
-
|
|
11
|
-
.decklight {
|
|
12
|
-
/* ── canvas ─────────────────────────────── */
|
|
13
|
-
--bg: #0c0f0c;
|
|
14
|
-
--bg-accent: none;
|
|
15
|
-
--fg: #7fe87f;
|
|
16
|
-
--muted: #4f9f5b;
|
|
17
|
-
|
|
18
|
-
/* ── type ───────────────────────────────── */
|
|
19
|
-
--font-body: "SF Mono", SFMono-Regular, ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
|
|
20
|
-
--font-heading: "SF Mono", SFMono-Regular, ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
|
|
21
|
-
--font-mono: "SF Mono", SFMono-Regular, ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
|
|
22
|
-
--heading-color: #8ff98f;
|
|
23
|
-
--heading-weight: 600;
|
|
24
|
-
--link: #a8ff9f;
|
|
25
|
-
|
|
26
|
-
/* ── accent ─────────────────────────────── */
|
|
27
|
-
--accent: #37d63d;
|
|
28
|
-
--accent-contrast: #131313;
|
|
29
|
-
|
|
30
|
-
/* ── blocks ─────────────────────────────── */
|
|
31
|
-
--block-bg: #141b14;
|
|
32
|
-
--block-border: 1px solid #273127;
|
|
33
|
-
--block-radius: 2px;
|
|
34
|
-
--shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
|
|
35
|
-
|
|
36
|
-
/* ── code ───────────────────────────────── */
|
|
37
|
-
--code-bg: #101510;
|
|
38
|
-
--code-fg: #8ff98f;
|
|
39
|
-
--hl-keyword: #a8ff9f;
|
|
40
|
-
--hl-string: #5fd68f;
|
|
41
|
-
--hl-number: #d6d65f;
|
|
42
|
-
--hl-comment: #3f7a4a;
|
|
43
|
-
--hl-function: #7fe8b0;
|
|
44
|
-
--hl-type: #c8e87f;
|
|
45
|
-
--hl-punct: #6fbf7f;
|
|
46
|
-
|
|
47
|
-
/* ── diagram ────────────────────────────── */
|
|
48
|
-
--d-stroke: #4f9f5b;
|
|
49
|
-
--d-text: #7fe87f;
|
|
50
|
-
--d-muted: #4f9f5b;
|
|
51
|
-
--d-accent: #37d63d;
|
|
52
|
-
--d-fill-1: #182119;
|
|
53
|
-
--d-fill-2: #1d291a;
|
|
54
|
-
--d-fill-3: #1c3223;
|
|
55
|
-
--d-fill-4: #1c2118;
|
|
56
|
-
--d-fill-5: #1a2923;
|
|
57
|
-
--d-fill-6: #2b321c;
|
|
58
|
-
|
|
59
|
-
/* ── terminal ───────────────────────────── */
|
|
60
|
-
--term-bg: #0a0d0a;
|
|
61
|
-
--term-fg: #e6e6e2;
|
|
62
|
-
--term-prompt: #37d63d;
|
|
63
|
-
--term-cursor: #37d63d;
|
|
64
|
-
--term-selection: rgba(55, 214, 61, 0.28);
|
|
65
|
-
--ansi-black: #7a8a7a;
|
|
66
|
-
--ansi-red: #e08a6a;
|
|
67
|
-
--ansi-green: #6fd66f;
|
|
68
|
-
--ansi-yellow: #d6c258;
|
|
69
|
-
--ansi-blue: #7fb3d0;
|
|
70
|
-
--ansi-magenta: #c79ac0;
|
|
71
|
-
--ansi-cyan: #7fd0c0;
|
|
72
|
-
--ansi-white: #dfe8df;
|
|
73
|
-
--ansi-bright-black: #9ba79b;
|
|
74
|
-
--ansi-bright-red: #ebb29d;
|
|
75
|
-
--ansi-bright-green: #9fe49f;
|
|
76
|
-
--ansi-bright-yellow: #e2d489;
|
|
77
|
-
--ansi-bright-blue: #accee0;
|
|
78
|
-
--ansi-bright-magenta: #ddc1d9;
|
|
79
|
-
--ansi-bright-cyan: #ace0d6;
|
|
80
|
-
--ansi-bright-white: #f3f6f3;
|
|
81
|
-
|
|
82
|
-
/* ── builds ─────────────────────────────── */
|
|
83
|
-
--dim-opacity: 0.22;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.decklight h1, .decklight h2 { text-transform: uppercase; letter-spacing: 0.04em; }
|
|
87
|
-
|
|
88
|
-
/* ── CRT character: the Monitor /// look ─────────────────────────────────────
|
|
89
|
-
Scanlines + phosphor bloom + a slow raster roll + the occasional horizontal
|
|
90
|
-
sync tear. Subtle by design; all motion sits out prefers-reduced-motion. */
|
|
91
|
-
.decklight .terminal-screen {
|
|
92
|
-
position: relative;
|
|
93
|
-
overflow: hidden;
|
|
94
|
-
text-shadow: 0 0 5px rgba(90, 240, 110, 0.4);
|
|
95
|
-
animation: a2-tear 7s steps(1) infinite;
|
|
96
|
-
}
|
|
97
|
-
.decklight .terminal-screen::after {
|
|
98
|
-
content: '';
|
|
99
|
-
position: absolute;
|
|
100
|
-
inset: 0;
|
|
101
|
-
pointer-events: none;
|
|
102
|
-
background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0 1px, transparent 1px 3px);
|
|
103
|
-
}
|
|
104
|
-
.decklight .terminal-screen::before {
|
|
105
|
-
content: '';
|
|
106
|
-
position: absolute;
|
|
107
|
-
left: 0;
|
|
108
|
-
right: 0;
|
|
109
|
-
top: -25%;
|
|
110
|
-
height: 22%;
|
|
111
|
-
pointer-events: none;
|
|
112
|
-
background: linear-gradient(180deg, transparent, rgba(130, 255, 150, 0.055), transparent);
|
|
113
|
-
animation: a2-roll 8s linear infinite;
|
|
114
|
-
}
|
|
115
|
-
@keyframes a2-roll { to { transform: translateY(560%); } }
|
|
116
|
-
@keyframes a2-tear {
|
|
117
|
-
0%, 93.9% { transform: none; }
|
|
118
|
-
94% { transform: translateX(2px); }
|
|
119
|
-
94.7% { transform: translateX(-3px) skewX(0.5deg); }
|
|
120
|
-
95.4% { transform: translateX(1px); }
|
|
121
|
-
96%, 100% { transform: none; }
|
|
122
|
-
}
|
|
123
|
-
@media (prefers-reduced-motion: reduce) {
|
|
124
|
-
.decklight .terminal-screen,
|
|
125
|
-
.decklight .terminal-screen::before { animation: none; }
|
|
126
|
-
}
|
package/themes/blade-runner.css
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
/* ═══════════════════════════════════════════════════════════════
|
|
2
|
-
Decklight theme · blade-runner
|
|
3
|
-
dark · off-world night, neon cyan + magenta, spinner amber
|
|
4
|
-
Inspired by Blade Runner — neon noir over the rain — palette kept canonical where possible,
|
|
5
|
-
every gated pair fitted to the WCAG contract.
|
|
6
|
-
rule-exception: R2 the neon-noir duotone canvas is the identity
|
|
7
|
-
Token contract: SPEC.md §5 — validated by test/contrast.mjs
|
|
8
|
-
═══════════════════════════════════════════════════════════════ */
|
|
9
|
-
|
|
10
|
-
.decklight {
|
|
11
|
-
/* ── canvas ─────────────────────────────── */
|
|
12
|
-
--bg: linear-gradient(200deg, #0b0e18 0%, #140b1a 100%);
|
|
13
|
-
--bg-accent: none;
|
|
14
|
-
--fg: #e2e6f0;
|
|
15
|
-
--muted: #8f95ac;
|
|
16
|
-
|
|
17
|
-
/* ── type ───────────────────────────────── */
|
|
18
|
-
--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
19
|
-
--font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
20
|
-
--font-mono: "SF Mono", SFMono-Regular, ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
|
|
21
|
-
--heading-color: #4fd8e8;
|
|
22
|
-
--heading-weight: 600;
|
|
23
|
-
--link: #e884c8;
|
|
24
|
-
|
|
25
|
-
/* ── accent ─────────────────────────────── */
|
|
26
|
-
--accent: #c957aa;
|
|
27
|
-
--accent-contrast: #171712;
|
|
28
|
-
|
|
29
|
-
/* ── blocks ─────────────────────────────── */
|
|
30
|
-
--block-bg: #141823;
|
|
31
|
-
--block-border: 1px solid #2a2d36;
|
|
32
|
-
--block-radius: 8px;
|
|
33
|
-
--shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
|
|
34
|
-
|
|
35
|
-
/* ── code ───────────────────────────────── */
|
|
36
|
-
--code-bg: #10131f;
|
|
37
|
-
--code-fg: #e0e4f0;
|
|
38
|
-
--hl-keyword: #e884c8;
|
|
39
|
-
--hl-string: #6fd8e8;
|
|
40
|
-
--hl-number: #e8b860;
|
|
41
|
-
--hl-comment: #6a708a;
|
|
42
|
-
--hl-function: #8fa8f0;
|
|
43
|
-
--hl-type: #c8a0e8;
|
|
44
|
-
--hl-punct: #a8aec4;
|
|
45
|
-
|
|
46
|
-
/* ── diagram ────────────────────────────── */
|
|
47
|
-
--d-stroke: #8f95ac;
|
|
48
|
-
--d-text: #e2e6f0;
|
|
49
|
-
--d-muted: #8f95ac;
|
|
50
|
-
--d-accent: #c957aa;
|
|
51
|
-
--d-fill-1: #1c2426;
|
|
52
|
-
--d-fill-2: #2e1e29;
|
|
53
|
-
--d-fill-3: #1f2337;
|
|
54
|
-
--d-fill-4: #26231c;
|
|
55
|
-
--d-fill-5: #261e2e;
|
|
56
|
-
--d-fill-6: #1f372f;
|
|
57
|
-
|
|
58
|
-
/* ── terminal ───────────────────────────── */
|
|
59
|
-
--term-bg: #0a0d16;
|
|
60
|
-
--term-fg: #e6e6e2;
|
|
61
|
-
--term-prompt: #c957aa;
|
|
62
|
-
--term-cursor: #c957aa;
|
|
63
|
-
--term-selection: rgba(201, 87, 170, 0.28);
|
|
64
|
-
--ansi-black: #8a90a8;
|
|
65
|
-
--ansi-red: #e88a90;
|
|
66
|
-
--ansi-green: #7fd0a8;
|
|
67
|
-
--ansi-yellow: #e8c070;
|
|
68
|
-
--ansi-blue: #8fa8f0;
|
|
69
|
-
--ansi-magenta: #e884c8;
|
|
70
|
-
--ansi-cyan: #6fd8e8;
|
|
71
|
-
--ansi-white: #eceef6;
|
|
72
|
-
--ansi-bright-black: #adb1c2;
|
|
73
|
-
--ansi-bright-red: #f2bdc1;
|
|
74
|
-
--ansi-bright-green: #ace0c6;
|
|
75
|
-
--ansi-bright-yellow: #f0d7a5;
|
|
76
|
-
--ansi-bright-blue: #c5d2f7;
|
|
77
|
-
--ansi-bright-magenta: #f2b8df;
|
|
78
|
-
--ansi-bright-cyan: #a4e6f0;
|
|
79
|
-
--ansi-bright-white: #f1f3f8;
|
|
80
|
-
|
|
81
|
-
/* ── builds ─────────────────────────────── */
|
|
82
|
-
--dim-opacity: 0.25;
|
|
83
|
-
}
|
package/themes/c64.css
DELETED
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
/* ═══════════════════════════════════════════════════════════════
|
|
2
|
-
Decklight theme · c64
|
|
3
|
-
dark · blue on blue, light-blue border type, PETSCII spirit
|
|
4
|
-
Inspired by the Commodore 64 boot screen — palette kept canonical where possible,
|
|
5
|
-
every gated pair fitted to the WCAG contract.
|
|
6
|
-
rule-exception: R2 the canonical C64 blue screen is the identity
|
|
7
|
-
Token contract: SPEC.md §5 — validated by test/contrast.mjs
|
|
8
|
-
═══════════════════════════════════════════════════════════════ */
|
|
9
|
-
|
|
10
|
-
.decklight {
|
|
11
|
-
/* ── canvas ─────────────────────────────── */
|
|
12
|
-
--bg: #40318d;
|
|
13
|
-
--bg-accent: none;
|
|
14
|
-
--fg: #b3a8ec;
|
|
15
|
-
--muted: #9186d3;
|
|
16
|
-
|
|
17
|
-
/* ── type ───────────────────────────────── */
|
|
18
|
-
--font-body: "SF Mono", SFMono-Regular, ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
|
|
19
|
-
--font-heading: "SF Mono", SFMono-Regular, ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
|
|
20
|
-
--font-mono: "SF Mono", SFMono-Regular, ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
|
|
21
|
-
--heading-color: #8d82e0;
|
|
22
|
-
--heading-weight: 600;
|
|
23
|
-
--link: #9fd0ff;
|
|
24
|
-
|
|
25
|
-
/* ── accent ─────────────────────────────── */
|
|
26
|
-
--accent: #867ade;
|
|
27
|
-
--accent-contrast: #1f1f19;
|
|
28
|
-
|
|
29
|
-
/* ── blocks ─────────────────────────────── */
|
|
30
|
-
--block-bg: #574e85;
|
|
31
|
-
--block-border: 1px solid #736f8d;
|
|
32
|
-
--block-radius: 0px;
|
|
33
|
-
--shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
|
|
34
|
-
|
|
35
|
-
/* ── code ───────────────────────────────── */
|
|
36
|
-
--code-bg: #352a75;
|
|
37
|
-
--code-fg: #c8c0f0;
|
|
38
|
-
--hl-keyword: #a2d0fc;
|
|
39
|
-
--hl-string: #8bdc9e;
|
|
40
|
-
--hl-number: #e8d878;
|
|
41
|
-
--hl-comment: #847ac5;
|
|
42
|
-
--hl-function: #d0a8e8;
|
|
43
|
-
--hl-type: #8fe0e0;
|
|
44
|
-
--hl-punct: #b0a8e8;
|
|
45
|
-
|
|
46
|
-
/* ── diagram ────────────────────────────── */
|
|
47
|
-
--d-stroke: #8a7fd0;
|
|
48
|
-
--d-text: #a597e8;
|
|
49
|
-
--d-muted: #8a7fd0;
|
|
50
|
-
--d-accent: #867ade;
|
|
51
|
-
--d-fill-1: #322f41;
|
|
52
|
-
--d-fill-2: #2c3044;
|
|
53
|
-
--d-fill-3: #352848;
|
|
54
|
-
--d-fill-4: #2f3841;
|
|
55
|
-
--d-fill-5: #3c2c44;
|
|
56
|
-
--d-fill-6: #284048;
|
|
57
|
-
|
|
58
|
-
/* ── terminal ───────────────────────────── */
|
|
59
|
-
--term-bg: #352a75;
|
|
60
|
-
--term-fg: #e6e6e2;
|
|
61
|
-
--term-prompt: #867ade;
|
|
62
|
-
--term-cursor: #867ade;
|
|
63
|
-
--term-selection: rgba(134, 122, 222, 0.28);
|
|
64
|
-
--ansi-black: #8a7fd0;
|
|
65
|
-
--ansi-red: #e08a80;
|
|
66
|
-
--ansi-green: #8fd8a0;
|
|
67
|
-
--ansi-yellow: #e8d878;
|
|
68
|
-
--ansi-blue: #9fd0ff;
|
|
69
|
-
--ansi-magenta: #d0a8e8;
|
|
70
|
-
--ansi-cyan: #8fe0e0;
|
|
71
|
-
--ansi-white: #e8e5f8;
|
|
72
|
-
--ansi-bright-black: #b3ace0;
|
|
73
|
-
--ansi-bright-red: #ecb7b1;
|
|
74
|
-
--ansi-bright-green: #bce8c7;
|
|
75
|
-
--ansi-bright-yellow: #f1e7ac;
|
|
76
|
-
--ansi-bright-blue: #dceeff;
|
|
77
|
-
--ansi-bright-magenta: #ead8f5;
|
|
78
|
-
--ansi-bright-cyan: #bfeded;
|
|
79
|
-
--ansi-bright-white: #f1effb;
|
|
80
|
-
|
|
81
|
-
/* ── builds ─────────────────────────────── */
|
|
82
|
-
--dim-opacity: 0.3;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.decklight h1, .decklight h2 { text-transform: uppercase; letter-spacing: 0.05em; }
|
package/themes/friends.css
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
/* ═══════════════════════════════════════════════════════════════
|
|
2
|
-
Decklight theme · friends
|
|
3
|
-
light · warm cream, door purple, frame yellow, couch orange
|
|
4
|
-
Inspired by Friends — the purple door, the yellow frame, the orange couch — palette kept canonical where possible,
|
|
5
|
-
every gated pair fitted to the WCAG contract.
|
|
6
|
-
Token contract: SPEC.md §5 — validated by test/contrast.mjs
|
|
7
|
-
═══════════════════════════════════════════════════════════════ */
|
|
8
|
-
|
|
9
|
-
.decklight {
|
|
10
|
-
/* ── canvas ─────────────────────────────── */
|
|
11
|
-
--bg: #f7f1e2;
|
|
12
|
-
--bg-accent: none;
|
|
13
|
-
--fg: #3a3129;
|
|
14
|
-
--muted: #7d7261;
|
|
15
|
-
|
|
16
|
-
/* ── type ───────────────────────────────── */
|
|
17
|
-
--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
18
|
-
--font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
19
|
-
--font-mono: "SF Mono", SFMono-Regular, ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
|
|
20
|
-
--heading-color: #6b4d9e;
|
|
21
|
-
--heading-weight: 700;
|
|
22
|
-
--link: #8a5f3f;
|
|
23
|
-
|
|
24
|
-
/* ── accent ─────────────────────────────── */
|
|
25
|
-
--accent: #7b5aa6;
|
|
26
|
-
--accent-contrast: #fbfbfa;
|
|
27
|
-
|
|
28
|
-
/* ── blocks ─────────────────────────────── */
|
|
29
|
-
--block-bg: #e9e5db;
|
|
30
|
-
--block-border: 1px solid #d0ccc1;
|
|
31
|
-
--block-radius: 12px;
|
|
32
|
-
--shadow: 0 5px 18px rgba(30, 30, 40, 0.12);
|
|
33
|
-
|
|
34
|
-
/* ── code ───────────────────────────────── */
|
|
35
|
-
--code-bg: #3a3129;
|
|
36
|
-
--code-fg: #f2ead8;
|
|
37
|
-
--hl-keyword: #c8a8f0;
|
|
38
|
-
--hl-string: #b9cd89;
|
|
39
|
-
--hl-number: #eeb062;
|
|
40
|
-
--hl-comment: #94897a;
|
|
41
|
-
--hl-function: #8fc0e8;
|
|
42
|
-
--hl-type: #e8c078;
|
|
43
|
-
--hl-punct: #d8cfc0;
|
|
44
|
-
|
|
45
|
-
/* ── diagram ────────────────────────────── */
|
|
46
|
-
--d-stroke: #7d7261;
|
|
47
|
-
--d-text: #3a3129;
|
|
48
|
-
--d-muted: #7d7261;
|
|
49
|
-
--d-accent: #7b5aa6;
|
|
50
|
-
--d-fill-1: #ddd6e5;
|
|
51
|
-
--d-fill-2: #e3decd;
|
|
52
|
-
--d-fill-3: #e2cec4;
|
|
53
|
-
--d-fill-4: #dde5d6;
|
|
54
|
-
--d-fill-5: #cddae3;
|
|
55
|
-
--d-fill-6: #e2c4d3;
|
|
56
|
-
|
|
57
|
-
/* ── terminal ───────────────────────────── */
|
|
58
|
-
--term-bg: #332b24;
|
|
59
|
-
--term-fg: #eceae6;
|
|
60
|
-
--term-prompt: #8b6eb1;
|
|
61
|
-
--term-cursor: #8b6eb1;
|
|
62
|
-
--term-selection: rgba(123, 90, 166, 0.28);
|
|
63
|
-
--ansi-black: #92899f;
|
|
64
|
-
--ansi-red: #c38b79;
|
|
65
|
-
--ansi-green: #79c388;
|
|
66
|
-
--ansi-yellow: #c3bc79;
|
|
67
|
-
--ansi-blue: #7990c3;
|
|
68
|
-
--ansi-magenta: #bf79c3;
|
|
69
|
-
--ansi-cyan: #79c1c3;
|
|
70
|
-
--ansi-white: #e0dee3;
|
|
71
|
-
--ansi-bright-black: #ada7b4;
|
|
72
|
-
--ansi-bright-red: #dbad9e;
|
|
73
|
-
--ansi-bright-green: #9edbaa;
|
|
74
|
-
--ansi-bright-yellow: #dbd69e;
|
|
75
|
-
--ansi-bright-blue: #9eb1db;
|
|
76
|
-
--ansi-bright-magenta: #d89edb;
|
|
77
|
-
--ansi-bright-cyan: #9edadb;
|
|
78
|
-
--ansi-bright-white: #f2f2f3;
|
|
79
|
-
|
|
80
|
-
/* ── builds ─────────────────────────────── */
|
|
81
|
-
--dim-opacity: 0.3;
|
|
82
|
-
}
|