@litfamily/litcodex 1.0.29 → 1.0.31

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 (388) hide show
  1. package/README-Ko-KR.md +11 -11
  2. package/README.md +11 -11
  3. package/dist/install/generated-skill-payload-hashes.d.ts +191 -85
  4. package/dist/install/generated-skill-payload-hashes.js +191 -85
  5. package/dist/install/marketplace.js +10 -1
  6. package/dist/install/skill-catalog.d.ts +1 -1
  7. package/dist/install/skill-catalog.js +12 -1
  8. package/dist/install/skill-resource-hashes.d.ts +1 -1
  9. package/dist/install/skill-resource-hashes.js +1 -1
  10. package/marketplace/.agents/plugins/marketplace.json +4 -1
  11. package/marketplace/plugins/litcodex/.codex-plugin/plugin.json +14 -2
  12. package/marketplace/plugins/litcodex/assets/screenshot-lit-ignited.png +0 -0
  13. package/marketplace/plugins/litcodex/components/auto-update/package.json +1 -1
  14. package/marketplace/plugins/litcodex/components/comment-checker/package.json +1 -1
  15. package/marketplace/plugins/litcodex/components/git-bash/package.json +1 -1
  16. package/marketplace/plugins/litcodex/components/lit-loop/directive.md +10 -4
  17. package/marketplace/plugins/litcodex/components/lit-loop/directives/lit-adhd.md +191 -0
  18. package/marketplace/plugins/litcodex/components/lit-loop/directives/lit-handoff.md +2 -0
  19. package/marketplace/plugins/litcodex/components/lit-loop/directives/lit-hijack.md +219 -0
  20. package/marketplace/plugins/litcodex/components/lit-loop/directives/lit-recap.md +2 -0
  21. package/marketplace/plugins/litcodex/components/lit-loop/directives/lit-schematic.md +199 -0
  22. package/marketplace/plugins/litcodex/components/lit-loop/directives/litwork.md +2 -1
  23. package/marketplace/plugins/litcodex/components/lit-loop/dist/adhd-suggest.d.ts +10 -0
  24. package/marketplace/plugins/litcodex/components/lit-loop/dist/adhd-suggest.js +67 -0
  25. package/marketplace/plugins/litcodex/components/lit-loop/dist/card-html.d.ts +1 -1
  26. package/marketplace/plugins/litcodex/components/lit-loop/dist/card-html.js +128 -8
  27. package/marketplace/plugins/litcodex/components/lit-loop/dist/card-looks.d.ts +19 -0
  28. package/marketplace/plugins/litcodex/components/lit-loop/dist/card-looks.js +58 -0
  29. package/marketplace/plugins/litcodex/components/lit-loop/dist/card-status.d.ts +27 -0
  30. package/marketplace/plugins/litcodex/components/lit-loop/dist/card-status.js +94 -7
  31. package/marketplace/plugins/litcodex/components/lit-loop/dist/cli.js +13 -3
  32. package/marketplace/plugins/litcodex/components/lit-loop/dist/codex-hook.d.ts +2 -0
  33. package/marketplace/plugins/litcodex/components/lit-loop/dist/codex-hook.js +8 -9
  34. package/marketplace/plugins/litcodex/components/lit-loop/dist/control-chars.d.ts +5 -0
  35. package/marketplace/plugins/litcodex/components/lit-loop/dist/control-chars.js +23 -0
  36. package/marketplace/plugins/litcodex/components/lit-loop/dist/hook-cli.d.ts +8 -0
  37. package/marketplace/plugins/litcodex/components/lit-loop/dist/hook-cli.js +118 -11
  38. package/marketplace/plugins/litcodex/components/lit-loop/dist/hud.d.ts +1 -1
  39. package/marketplace/plugins/litcodex/components/lit-loop/dist/hud.js +29 -13
  40. package/marketplace/plugins/litcodex/components/lit-loop/dist/lane-events.d.ts +13 -0
  41. package/marketplace/plugins/litcodex/components/lit-loop/dist/lane-events.js +85 -0
  42. package/marketplace/plugins/litcodex/components/lit-loop/dist/lane-state.d.ts +55 -0
  43. package/marketplace/plugins/litcodex/components/lit-loop/dist/lane-state.js +227 -0
  44. package/marketplace/plugins/litcodex/components/lit-loop/dist/live-step.d.ts +5 -1
  45. package/marketplace/plugins/litcodex/components/lit-loop/dist/live-step.js +17 -1
  46. package/marketplace/plugins/litcodex/components/lit-loop/dist/markers.d.ts +6 -0
  47. package/marketplace/plugins/litcodex/components/lit-loop/dist/markers.js +6 -0
  48. package/marketplace/plugins/litcodex/components/lit-loop/dist/modes.d.ts +1 -1
  49. package/marketplace/plugins/litcodex/components/lit-loop/dist/modes.js +25 -1
  50. package/marketplace/plugins/litcodex/components/lit-loop/dist/motion-gate.d.ts +79 -0
  51. package/marketplace/plugins/litcodex/components/lit-loop/dist/motion-gate.js +310 -0
  52. package/marketplace/plugins/litcodex/components/lit-loop/dist/motion-route.js +5 -1
  53. package/marketplace/plugins/litcodex/components/lit-loop/dist/plan-persistence.js +10 -0
  54. package/marketplace/plugins/litcodex/components/lit-loop/dist/redaction.js +18 -0
  55. package/marketplace/plugins/litcodex/components/lit-loop/dist/reentry.d.ts +15 -0
  56. package/marketplace/plugins/litcodex/components/lit-loop/dist/reentry.js +46 -9
  57. package/marketplace/plugins/litcodex/components/lit-loop/dist/rewind-cli.d.ts +10 -0
  58. package/marketplace/plugins/litcodex/components/lit-loop/dist/rewind-cli.js +88 -0
  59. package/marketplace/plugins/litcodex/components/lit-loop/dist/rewind-go.d.ts +20 -0
  60. package/marketplace/plugins/litcodex/components/lit-loop/dist/rewind-go.js +84 -0
  61. package/marketplace/plugins/litcodex/components/lit-loop/dist/rewind-look.d.ts +6 -0
  62. package/marketplace/plugins/litcodex/components/lit-loop/dist/rewind-look.js +41 -0
  63. package/marketplace/plugins/litcodex/components/lit-loop/dist/rewind-redact.d.ts +3 -0
  64. package/marketplace/plugins/litcodex/components/lit-loop/dist/rewind-redact.js +40 -0
  65. package/marketplace/plugins/litcodex/components/lit-loop/dist/rewind-rollout.d.ts +48 -0
  66. package/marketplace/plugins/litcodex/components/lit-loop/dist/rewind-rollout.js +292 -0
  67. package/marketplace/plugins/litcodex/components/lit-loop/dist/rewind.d.ts +162 -0
  68. package/marketplace/plugins/litcodex/components/lit-loop/dist/rewind.js +773 -0
  69. package/marketplace/plugins/litcodex/components/lit-loop/dist/route-heads.js +44 -2
  70. package/marketplace/plugins/litcodex/components/lit-loop/dist/run-panel.js +1 -0
  71. package/marketplace/plugins/litcodex/components/lit-loop/dist/schematic-route.d.ts +6 -0
  72. package/marketplace/plugins/litcodex/components/lit-loop/dist/schematic-route.js +35 -0
  73. package/marketplace/plugins/litcodex/components/lit-loop/dist/screen-card.d.ts +3 -0
  74. package/marketplace/plugins/litcodex/components/lit-loop/dist/screen-card.js +15 -5
  75. package/marketplace/plugins/litcodex/components/lit-loop/dist/skill-mention-scope.js +6 -0
  76. package/marketplace/plugins/litcodex/components/lit-loop/dist/stack-hook.d.ts +8 -0
  77. package/marketplace/plugins/litcodex/components/lit-loop/dist/stack-hook.js +57 -0
  78. package/marketplace/plugins/litcodex/components/lit-loop/dist/statusline.js +8 -3
  79. package/marketplace/plugins/litcodex/components/lit-loop/dist/threads.d.ts +50 -0
  80. package/marketplace/plugins/litcodex/components/lit-loop/dist/threads.js +178 -0
  81. package/marketplace/plugins/litcodex/components/lit-loop/dist/trigger.d.ts +1 -1
  82. package/marketplace/plugins/litcodex/components/lit-loop/dist/trigger.js +31 -6
  83. package/marketplace/plugins/litcodex/components/lit-loop/dist/workflow-map.d.ts +10 -0
  84. package/marketplace/plugins/litcodex/components/lit-loop/dist/workflow-map.js +11 -1
  85. package/marketplace/plugins/litcodex/components/lit-loop/dist/workflow-stack.d.ts +132 -0
  86. package/marketplace/plugins/litcodex/components/lit-loop/dist/workflow-stack.js +488 -0
  87. package/marketplace/plugins/litcodex/components/lit-loop/package.json +1 -1
  88. package/marketplace/plugins/litcodex/components/lsp/package.json +1 -1
  89. package/marketplace/plugins/litcodex/components/rules/node_modules/picomatch/README.md +15 -21
  90. package/marketplace/plugins/litcodex/components/rules/node_modules/picomatch/lib/parse.js +49 -10
  91. package/marketplace/plugins/litcodex/components/rules/node_modules/picomatch/lib/picomatch.js +14 -2
  92. package/marketplace/plugins/litcodex/components/rules/node_modules/picomatch/lib/scan.js +30 -18
  93. package/marketplace/plugins/litcodex/components/rules/node_modules/picomatch/package.json +3 -2
  94. package/marketplace/plugins/litcodex/components/rules/package.json +1 -1
  95. package/marketplace/plugins/litcodex/components/start-work-continuation/dist/codex-hook.d.ts +6 -0
  96. package/marketplace/plugins/litcodex/components/start-work-continuation/dist/codex-hook.js +65 -0
  97. package/marketplace/plugins/litcodex/components/start-work-continuation/package.json +1 -1
  98. package/marketplace/plugins/litcodex/components/telemetry/package.json +1 -1
  99. package/marketplace/plugins/litcodex/components/wikify-knowledge/package.json +1 -1
  100. package/marketplace/plugins/litcodex/hooks/hooks.json +24 -0
  101. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/SKILL.md +6 -0
  102. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/components.css +414 -0
  103. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/fonts.json +22 -0
  104. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/layouts/landing.html +164 -0
  105. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/layouts/settings.html +114 -0
  106. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/layouts/workspace.html +115 -0
  107. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/styles/computational-brutalism.json +227 -0
  108. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/styles/field-notes.json +205 -0
  109. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/styles/graphite.json +200 -0
  110. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/styles/meadow.json +199 -0
  111. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/styles/neo-brutalism.json +222 -0
  112. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/kit/ui.js +228 -0
  113. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/brand-and-imagery.md +1 -1
  114. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/complete-contract.md +1 -0
  115. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/craft-floor.md +2 -2
  116. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/default-editorial-pixel.json +15 -8
  117. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/design-choice.md +19 -0
  118. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/house-styles.md +235 -0
  119. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/motion-guide.md +2 -2
  120. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/probe-and-review.md +6 -0
  121. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/production-interview.md +2 -0
  122. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/slop-register.md +4 -4
  123. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/design-lock.mjs +400 -0
  124. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/lock-probe.mjs +196 -0
  125. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/page-probe.mjs +22 -4
  126. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/pixel-art.mjs +60 -0
  127. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/probe.mjs +59 -13
  128. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/scripts/rule-data.mjs +38 -4
  129. package/marketplace/plugins/litcodex/skills/lit-adhd/SKILL.md +181 -0
  130. package/marketplace/plugins/litcodex/skills/lit-adhd/agents/openai.yaml +6 -0
  131. package/marketplace/plugins/litcodex/skills/lit-adhd/references/card-examples.md +147 -0
  132. package/marketplace/plugins/litcodex/skills/lit-adhd/references/status-taxonomy.md +37 -0
  133. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/SKILL.md +18 -7
  134. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/style-guide.md +20 -11
  135. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-architecture.md +3 -3
  136. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-dependency.md +1 -1
  137. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-swimlane.md +1 -1
  138. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-tree-block-decomposition.md +1 -1
  139. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-tree.md +3 -3
  140. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/type-wardley.md +1 -1
  141. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/references/verifier-guide.md +1 -0
  142. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/diagram-craft-rules.mjs +1 -2
  143. package/marketplace/plugins/litcodex/skills/lit-diagram-drawer/scripts/visual-quality.mjs +1 -2
  144. package/marketplace/plugins/litcodex/skills/lit-docx/SKILL.md +12 -3
  145. package/marketplace/plugins/litcodex/skills/lit-docx/references/direction-step.md +6 -3
  146. package/marketplace/plugins/litcodex/skills/lit-hijack/SKILL.md +449 -0
  147. package/marketplace/plugins/litcodex/skills/lit-hijack/agents/openai.yaml +6 -0
  148. package/marketplace/plugins/litcodex/skills/lit-hijack/references/capture-and-provenance.md +100 -0
  149. package/marketplace/plugins/litcodex/skills/lit-hijack/references/clean-room-build.md +111 -0
  150. package/marketplace/plugins/litcodex/skills/lit-hijack/references/distil-and-licence.md +102 -0
  151. package/marketplace/plugins/litcodex/skills/lit-hijack/references/gap-and-port-design.md +125 -0
  152. package/marketplace/plugins/litcodex/skills/lit-hijack/references/parity-and-report.md +108 -0
  153. package/marketplace/plugins/litcodex/skills/lit-hijack/scripts/hijack.mjs +1050 -0
  154. package/marketplace/plugins/litcodex/skills/lit-loop/SKILL.md +13 -4
  155. package/marketplace/plugins/litcodex/skills/lit-plan/SKILL.md +6 -0
  156. package/marketplace/plugins/litcodex/skills/lit-pptx/NOTICE +1 -0
  157. package/marketplace/plugins/litcodex/skills/lit-pptx/SKILL.md +35 -8
  158. package/marketplace/plugins/litcodex/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Bold.ttf +0 -0
  159. package/marketplace/plugins/litcodex/skills/lit-pptx/fonts/jetbrains-mono/JetBrainsMono-Regular.ttf +0 -0
  160. package/marketplace/plugins/litcodex/skills/lit-pptx/fonts/jetbrains-mono/OFL.txt +93 -0
  161. package/marketplace/plugins/litcodex/skills/lit-pptx/fonts/jetbrains-mono/SOURCE.md +21 -0
  162. package/marketplace/plugins/litcodex/skills/lit-pptx/references/anti-slop-checklist.md +5 -2
  163. package/marketplace/plugins/litcodex/skills/lit-pptx/references/authoring-guide.md +3 -4
  164. package/marketplace/plugins/litcodex/skills/lit-pptx/references/density-and-fill.md +20 -6
  165. package/marketplace/plugins/litcodex/skills/lit-pptx/references/direction-step.md +26 -8
  166. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/14-engineering-review-computational-brutalism-ko.md +173 -0
  167. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/15-launch-pitch-neo-brutalism-ko.md +154 -0
  168. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/16-design-lecture-bauhaus-ko.md +139 -0
  169. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/17-community-programme-riso-ko.md +158 -0
  170. package/marketplace/plugins/litcodex/skills/lit-pptx/references/examples/18-public-data-briefing-newsroom-ko.md +179 -0
  171. package/marketplace/plugins/litcodex/skills/lit-pptx/references/layout-families.md +42 -27
  172. package/marketplace/plugins/litcodex/skills/lit-pptx/references/title-treatments.md +31 -27
  173. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/bauhaus.md +136 -0
  174. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/chalk.md +1 -1
  175. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/computational-brutalism.md +145 -0
  176. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/neo-brutalism.md +155 -0
  177. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/newsroom.md +141 -0
  178. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/riso.md +133 -0
  179. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/signal.md +1 -1
  180. package/marketplace/plugins/litcodex/skills/lit-pptx/references/tonalities/studio.md +1 -1
  181. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/compile-deck.js +1 -1
  182. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/craft_extras.py +136 -94
  183. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/embed_fonts.py +13 -1
  184. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/grid-resolver.js +101 -110
  185. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/layout-resolver.js +9 -15
  186. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/render-pack.js +386 -579
  187. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/slide-grid.js +104 -0
  188. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/lib/template-registry.js +57 -6
  189. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/office-run.mjs +2 -1
  190. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/qa_deck.py +7 -13
  191. package/marketplace/plugins/litcodex/skills/lit-pptx/scripts/render_pages.py +124 -0
  192. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/atlas/pack.yaml +1 -1
  193. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/bauhaus/pack.yaml +98 -0
  194. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/chalk/pack.yaml +1 -1
  195. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/computational-brutalism/pack.yaml +100 -0
  196. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/gazette/pack.yaml +1 -1
  197. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/ledger/pack.yaml +1 -1
  198. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/neo-brutalism/pack.yaml +107 -0
  199. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/newsroom/pack.yaml +99 -0
  200. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/night/pack.yaml +1 -1
  201. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/paper/pack.yaml +1 -1
  202. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/riso/pack.yaml +99 -0
  203. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/signal/pack.yaml +2 -2
  204. package/marketplace/plugins/litcodex/skills/lit-pptx/templates/tonalities/studio/pack.yaml +1 -1
  205. package/marketplace/plugins/litcodex/skills/lit-recap/SKILL.md +2 -0
  206. package/marketplace/plugins/litcodex/skills/lit-schematic/SKILL.md +198 -0
  207. package/marketplace/plugins/litcodex/skills/lit-schematic/agents/openai.yaml +6 -0
  208. package/marketplace/plugins/litcodex/skills/lit-schematic/examples/iso-heat-exchanger/build.mjs +38 -0
  209. package/marketplace/plugins/litcodex/skills/lit-schematic/examples/iso-heat-exchanger/scene.mjs +133 -0
  210. package/marketplace/plugins/litcodex/skills/lit-schematic/examples/journal-adsorption-rig/build.mjs +87 -0
  211. package/marketplace/plugins/litcodex/skills/lit-schematic/examples/pid-dosing-skid/build.mjs +85 -0
  212. package/marketplace/plugins/litcodex/skills/lit-schematic/references/cutaway-outputs.md +70 -0
  213. package/marketplace/plugins/litcodex/skills/lit-schematic/references/isometric-craft.md +101 -0
  214. package/marketplace/plugins/litcodex/skills/lit-schematic/references/journal-figures.md +72 -0
  215. package/marketplace/plugins/litcodex/skills/lit-schematic/references/kit-api.md +134 -0
  216. package/marketplace/plugins/litcodex/skills/lit-schematic/references/pfd-and-layout.md +53 -0
  217. package/marketplace/plugins/litcodex/skills/lit-schematic/references/pid-drafting.md +103 -0
  218. package/marketplace/plugins/litcodex/skills/lit-schematic/references/pid-symbols.md +163 -0
  219. package/marketplace/plugins/litcodex/skills/lit-schematic/references/verification.md +100 -0
  220. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/doctor.mjs +57 -0
  221. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/figure.mjs +81 -0
  222. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/fonts.mjs +28 -0
  223. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/geom.mjs +113 -0
  224. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/interactive.mjs +292 -0
  225. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/isa.mjs +115 -0
  226. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/iso.mjs +719 -0
  227. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/legend-sheet.mjs +162 -0
  228. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/pid.mjs +937 -0
  229. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/png.mjs +132 -0
  230. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/qa-core.mjs +658 -0
  231. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/route.mjs +218 -0
  232. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/sheet.mjs +890 -0
  233. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/svg.mjs +82 -0
  234. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/lib/theme.mjs +115 -0
  235. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/motion.mjs +129 -0
  236. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/qa.mjs +92 -0
  237. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/render.mjs +233 -0
  238. package/marketplace/plugins/litcodex/skills/lit-schematic/scripts/scaffold.mjs +60 -0
  239. package/marketplace/plugins/litcodex/skills/lit-scientific-visualization/SKILL.md +34 -8
  240. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/SKILL.md +18 -14
  241. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/THIRD_PARTY_NOTICES +12 -0
  242. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/assets.mjs +388 -0
  243. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/blender/runner.py +221 -0
  244. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/blender.mjs +132 -0
  245. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/board.mjs +142 -0
  246. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/constants.mjs +6 -0
  247. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/cover-assets.mjs +7 -4
  248. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/cover-capture.mjs +8 -7
  249. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/cover-init.js +14 -2
  250. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/cover-treatment.mjs +38 -3
  251. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/cover.mjs +19 -4
  252. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/driver.mjs +8 -8
  253. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/gallery.mjs +147 -0
  254. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/house.mjs +45 -0
  255. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/image.mjs +89 -0
  256. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/look.mjs +58 -25
  257. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/runtime.mjs +59 -14
  258. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/safe-read.mjs +32 -0
  259. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/scaffold.mjs +208 -0
  260. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/score.mjs +668 -0
  261. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/sound.mjs +174 -31
  262. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/stage-gate.mjs +45 -3
  263. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/stage-kit.js +99 -1
  264. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/stage-qa.js +8 -1
  265. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/stage-qa.mjs +180 -11
  266. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/stage-render.mjs +42 -12
  267. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/stage-worker.mjs +7 -4
  268. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/stage.mjs +96 -10
  269. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/styles.mjs +233 -0
  270. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/treatment.mjs +291 -14
  271. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/vendor/three/LICENSE +21 -0
  272. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/vendor/three/addons/environments/RoomEnvironment.js +144 -0
  273. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/vendor/three/addons/geometries/RoundedBoxGeometry.js +155 -0
  274. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/engine/vendor/three/three.module.js +54571 -0
  275. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/hero-3d/expected.json +33 -0
  276. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/recipes/hero-3d/index.html +139 -0
  277. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/cover.md +44 -7
  278. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/depth.md +156 -0
  279. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/design-choice.md +22 -0
  280. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/quality-gate.md +29 -7
  281. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/runtime.md +1 -1
  282. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/sound.md +87 -0
  283. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/stage.md +19 -7
  284. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/studio.md +246 -0
  285. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/style-bibles.md +2 -2
  286. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/references/treatment.md +41 -21
  287. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/runtime/requirements-audio.txt +3 -3
  288. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/scripts/render.mjs +51 -4
  289. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/styles/paper.json +185 -0
  290. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/styles/swiss-signal.json +188 -0
  291. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/styles/terminalcore.json +182 -0
  292. package/marketplace/plugins/litcodex/skills/lit-typographic-motion/styles/tidal.json +187 -0
  293. package/marketplace/plugins/litcodex/skills/litresearch/SKILL.md +7 -0
  294. package/marketplace/plugins/litcodex/skills/litwork/SKILL.md +2 -1
  295. package/marketplace/plugins/litcodex/skills/lsp-setup/SKILL.md +2 -1
  296. package/marketplace/plugins/litcodex/skills/readme-studio/SKILL.md +10 -0
  297. package/marketplace/plugins/litcodex/skills/readme-studio/templates/hyperframes-cover/package-lock.json +3 -3
  298. package/marketplace/plugins/litcodex/skills/readme-studio/templates/remotion-cover/package-lock.json +3 -3
  299. package/marketplace/plugins/litcodex/skills/review-work/SKILL.md +7 -1
  300. package/marketplace/plugins/litcodex/skills/start-work/SKILL.md +10 -0
  301. package/node_modules/@litcodex/lit-loop/directive.md +10 -4
  302. package/node_modules/@litcodex/lit-loop/directives/lit-adhd.md +191 -0
  303. package/node_modules/@litcodex/lit-loop/directives/lit-handoff.md +2 -0
  304. package/node_modules/@litcodex/lit-loop/directives/lit-hijack.md +219 -0
  305. package/node_modules/@litcodex/lit-loop/directives/lit-recap.md +2 -0
  306. package/node_modules/@litcodex/lit-loop/directives/lit-schematic.md +199 -0
  307. package/node_modules/@litcodex/lit-loop/directives/litwork.md +2 -1
  308. package/node_modules/@litcodex/lit-loop/dist/adhd-suggest.d.ts +10 -0
  309. package/node_modules/@litcodex/lit-loop/dist/adhd-suggest.js +67 -0
  310. package/node_modules/@litcodex/lit-loop/dist/card-html.d.ts +1 -1
  311. package/node_modules/@litcodex/lit-loop/dist/card-html.js +128 -8
  312. package/node_modules/@litcodex/lit-loop/dist/card-looks.d.ts +19 -0
  313. package/node_modules/@litcodex/lit-loop/dist/card-looks.js +58 -0
  314. package/node_modules/@litcodex/lit-loop/dist/card-status.d.ts +27 -0
  315. package/node_modules/@litcodex/lit-loop/dist/card-status.js +94 -7
  316. package/node_modules/@litcodex/lit-loop/dist/cli.js +13 -3
  317. package/node_modules/@litcodex/lit-loop/dist/codex-hook.d.ts +2 -0
  318. package/node_modules/@litcodex/lit-loop/dist/codex-hook.js +8 -9
  319. package/node_modules/@litcodex/lit-loop/dist/control-chars.d.ts +5 -0
  320. package/node_modules/@litcodex/lit-loop/dist/control-chars.js +23 -0
  321. package/node_modules/@litcodex/lit-loop/dist/hook-cli.d.ts +8 -0
  322. package/node_modules/@litcodex/lit-loop/dist/hook-cli.js +118 -11
  323. package/node_modules/@litcodex/lit-loop/dist/hud.d.ts +1 -1
  324. package/node_modules/@litcodex/lit-loop/dist/hud.js +29 -13
  325. package/node_modules/@litcodex/lit-loop/dist/lane-events.d.ts +13 -0
  326. package/node_modules/@litcodex/lit-loop/dist/lane-events.js +85 -0
  327. package/node_modules/@litcodex/lit-loop/dist/lane-state.d.ts +55 -0
  328. package/node_modules/@litcodex/lit-loop/dist/lane-state.js +227 -0
  329. package/node_modules/@litcodex/lit-loop/dist/live-step.d.ts +5 -1
  330. package/node_modules/@litcodex/lit-loop/dist/live-step.js +17 -1
  331. package/node_modules/@litcodex/lit-loop/dist/markers.d.ts +6 -0
  332. package/node_modules/@litcodex/lit-loop/dist/markers.js +6 -0
  333. package/node_modules/@litcodex/lit-loop/dist/modes.d.ts +1 -1
  334. package/node_modules/@litcodex/lit-loop/dist/modes.js +25 -1
  335. package/node_modules/@litcodex/lit-loop/dist/motion-gate.d.ts +79 -0
  336. package/node_modules/@litcodex/lit-loop/dist/motion-gate.js +310 -0
  337. package/node_modules/@litcodex/lit-loop/dist/motion-route.js +5 -1
  338. package/node_modules/@litcodex/lit-loop/dist/plan-persistence.js +10 -0
  339. package/node_modules/@litcodex/lit-loop/dist/redaction.js +18 -0
  340. package/node_modules/@litcodex/lit-loop/dist/reentry.d.ts +15 -0
  341. package/node_modules/@litcodex/lit-loop/dist/reentry.js +46 -9
  342. package/node_modules/@litcodex/lit-loop/dist/rewind-cli.d.ts +10 -0
  343. package/node_modules/@litcodex/lit-loop/dist/rewind-cli.js +88 -0
  344. package/node_modules/@litcodex/lit-loop/dist/rewind-go.d.ts +20 -0
  345. package/node_modules/@litcodex/lit-loop/dist/rewind-go.js +84 -0
  346. package/node_modules/@litcodex/lit-loop/dist/rewind-look.d.ts +6 -0
  347. package/node_modules/@litcodex/lit-loop/dist/rewind-look.js +41 -0
  348. package/node_modules/@litcodex/lit-loop/dist/rewind-redact.d.ts +3 -0
  349. package/node_modules/@litcodex/lit-loop/dist/rewind-redact.js +40 -0
  350. package/node_modules/@litcodex/lit-loop/dist/rewind-rollout.d.ts +48 -0
  351. package/node_modules/@litcodex/lit-loop/dist/rewind-rollout.js +292 -0
  352. package/node_modules/@litcodex/lit-loop/dist/rewind.d.ts +162 -0
  353. package/node_modules/@litcodex/lit-loop/dist/rewind.js +773 -0
  354. package/node_modules/@litcodex/lit-loop/dist/route-heads.js +44 -2
  355. package/node_modules/@litcodex/lit-loop/dist/run-panel.js +1 -0
  356. package/node_modules/@litcodex/lit-loop/dist/schematic-route.d.ts +6 -0
  357. package/node_modules/@litcodex/lit-loop/dist/schematic-route.js +35 -0
  358. package/node_modules/@litcodex/lit-loop/dist/screen-card.d.ts +3 -0
  359. package/node_modules/@litcodex/lit-loop/dist/screen-card.js +15 -5
  360. package/node_modules/@litcodex/lit-loop/dist/skill-mention-scope.js +6 -0
  361. package/node_modules/@litcodex/lit-loop/dist/stack-hook.d.ts +8 -0
  362. package/node_modules/@litcodex/lit-loop/dist/stack-hook.js +57 -0
  363. package/node_modules/@litcodex/lit-loop/dist/statusline.js +8 -3
  364. package/node_modules/@litcodex/lit-loop/dist/threads.d.ts +50 -0
  365. package/node_modules/@litcodex/lit-loop/dist/threads.js +178 -0
  366. package/node_modules/@litcodex/lit-loop/dist/trigger.d.ts +1 -1
  367. package/node_modules/@litcodex/lit-loop/dist/trigger.js +31 -6
  368. package/node_modules/@litcodex/lit-loop/dist/workflow-map.d.ts +10 -0
  369. package/node_modules/@litcodex/lit-loop/dist/workflow-map.js +11 -1
  370. package/node_modules/@litcodex/lit-loop/dist/workflow-stack.d.ts +132 -0
  371. package/node_modules/@litcodex/lit-loop/dist/workflow-stack.js +488 -0
  372. package/node_modules/@litcodex/lit-loop/package.json +1 -1
  373. package/node_modules/@litcodex/lit-loop/skills/lit-adhd/SKILL.md +181 -0
  374. package/node_modules/@litcodex/lit-loop/skills/lit-hijack/SKILL.md +449 -0
  375. package/node_modules/@litcodex/lit-loop/skills/lit-loop/SKILL.md +13 -4
  376. package/node_modules/@litcodex/lit-loop/skills/lit-plan/SKILL.md +6 -0
  377. package/node_modules/@litcodex/lit-loop/skills/lit-recap/SKILL.md +2 -0
  378. package/node_modules/@litcodex/lit-loop/skills/lit-schematic/SKILL.md +198 -0
  379. package/node_modules/@litcodex/lit-loop/skills/lit-scientific-visualization/SKILL.md +34 -8
  380. package/node_modules/@litcodex/lit-loop/skills/litresearch/SKILL.md +7 -0
  381. package/node_modules/@litcodex/lit-loop/skills/litwork/SKILL.md +2 -1
  382. package/node_modules/@litcodex/lit-loop/skills/review-work/SKILL.md +7 -1
  383. package/node_modules/@litcodex/lit-loop/skills/start-work/SKILL.md +10 -0
  384. package/package.json +2 -2
  385. package/readme-assets/badge-version.svg +1 -1
  386. package/readme-assets/skills/lit-adhd.webp +0 -0
  387. package/readme-assets/skills/lit-hijack.webp +0 -0
  388. package/readme-assets/skills/lit-schematic.webp +0 -0
@@ -0,0 +1,104 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * slide-grid.js — where things sit on a slide, the same for every tonality.
5
+ *
6
+ * One column grid per canvas and one set of zones per slide kind. A tonality changes how a zone
7
+ * looks (face, weight, size, colour, rules, fills, ornaments), never where it is: every title,
8
+ * header, body and footer of a deck lands on the coordinates below whichever pack draws it, so two
9
+ * tonalities of one source differ in look and never in placement. The density dial sets type and
10
+ * spacing inside the zones; it no longer moves the margins. Values are points on the 960 x 540
11
+ * (16:9) or 720 x 540 (4:3) canvas; `emu()` gives the same box in EMU (12,700 per point).
12
+ *
13
+ * Content slides
14
+ * header the band over the title: grid marks, the slide index, a kicker label
15
+ * title the title frame of every treatment (top-rule, band, top-plain-large, kicker-numeral,
16
+ * side-rail, bottom-anchor); a treatment styles it and never moves it
17
+ * aside right of the title: the kicker numeral
18
+ * body everything the slide says, from the first block to the floor
19
+ * footer the sample-data tag and the source line's foot
20
+ * Display slides (statement, quote, section, closing statement)
21
+ * header the part number or kicker over the sentence
22
+ * title the sentence, centred in its frame
23
+ * support the line under it (the quote's speaker, what the part opens with)
24
+ * side the columns right of the sentence, bled to the page edge (a composition, a rail)
25
+ * Covers
26
+ * header the meta line (date, team, presenter)
27
+ * title the deck title, standing on the frame's foot
28
+ * subtitle the line under the title
29
+ * strip the headline figures or the parts, across the page above the footer
30
+ * side the columns right of the title, bled to the page edge (a field, a picture, a numeral)
31
+ */
32
+
33
+ const CANVAS = { "16:9": { W: 960, H: 540 }, "4:3": { W: 720, H: 540 } };
34
+
35
+ // Side margin, column width and gutter: 12 columns and 11 gutters that sum exactly to the width.
36
+ const COLUMNS = { "16:9": { margin: 24, col: 54, gutter: 24 }, "4:3": { margin: 24, col: 45, gutter: 12 } };
37
+
38
+ const FOOTER = { cols: [1, 12], y: 498, h: 18 };
39
+
40
+ const ZONES = {
41
+ content: {
42
+ header: { cols: [1, 12], y: 12, h: 18 },
43
+ title: { cols: [1, 10], y: 36, h: 72 },
44
+ aside: { cols: [11, 12], y: 36, h: 72 },
45
+ body: { cols: [1, 12], y: 120, h: 366 },
46
+ footer: FOOTER,
47
+ },
48
+ display: {
49
+ header: { cols: [1, 9], y: 84, h: 36 },
50
+ title: { cols: [1, 9], y: 132, h: 216 },
51
+ support: { cols: [1, 8], y: 372, h: 114 },
52
+ side: { cols: [10, 12], y: 0, h: 540, bleed: true },
53
+ footer: FOOTER,
54
+ },
55
+ cover: {
56
+ header: { cols: [1, 8], y: 36, h: 24 },
57
+ title: { cols: [1, 9], y: 144, h: 168 },
58
+ subtitle: { cols: [1, 8], y: 324, h: 72 },
59
+ strip: { cols: [1, 12], y: 414, h: 66 },
60
+ side: { cols: [10, 12], y: 0, h: 540, bleed: true },
61
+ footer: FOOTER,
62
+ },
63
+ };
64
+
65
+ function columns(canvas) {
66
+ const c = COLUMNS[canvas];
67
+ if (!c) throw new Error(`unknown canvas "${canvas}"; canvases: ${Object.keys(COLUMNS).join(", ")}`);
68
+ return c;
69
+ }
70
+
71
+ /** Columns a…b (1-based, inclusive) as x and width in points. */
72
+ function span(canvas, a, b) {
73
+ const c = columns(canvas);
74
+ const pitch = c.col + c.gutter;
75
+ return { x: c.margin + pitch * (a - 1), w: pitch * (b - a + 1) - c.gutter };
76
+ }
77
+
78
+ /**
79
+ * One zone as a box in points. A bled zone starts half a gutter left of its first column and runs
80
+ * to the page's right edge, so what fills it meets the edge and keeps the gutter from the text.
81
+ */
82
+ function zone(canvas, kind, name) {
83
+ const spec = (ZONES[kind] || {})[name];
84
+ if (!spec) throw new Error(`no ${name} zone on a ${kind} slide`);
85
+ const s = span(canvas, spec.cols[0], spec.cols[1]);
86
+ if (spec.bleed) {
87
+ const x = s.x - columns(canvas).gutter / 2;
88
+ return { x, y: spec.y, w: CANVAS[canvas].W - x, h: spec.h, a: spec.cols[0], b: spec.cols[1] };
89
+ }
90
+ return { x: s.x, y: spec.y, w: s.w, h: spec.h, a: spec.cols[0], b: spec.cols[1] };
91
+ }
92
+
93
+ /** Every zone of every slide kind on a canvas, in points. */
94
+ function zones(canvas) {
95
+ return Object.fromEntries(Object.entries(ZONES).map(([kind, set]) => [kind, Object.fromEntries(Object.keys(set).map((name) => [name, zone(canvas, kind, name)]))]));
96
+ }
97
+
98
+ /** A box in points as EMU, the unit a .pptx file stores. */
99
+ function emu(box) {
100
+ const e = (v) => Math.round(v * 12700);
101
+ return { x: e(box.x), y: e(box.y), w: e(box.w), h: e(box.h) };
102
+ }
103
+
104
+ module.exports = { CANVAS, COLUMNS, ZONES, span, zone, zones, emu };
@@ -428,19 +428,29 @@ const FACES = {
428
428
  "A2Z Medium": { font: "에이투지체 5 Medium", bold: false },
429
429
  "A2Z Bold": { font: "에이투지체 7 Bold", bold: false },
430
430
  "A2Z Black": { font: "에이투지체 9 Black", bold: false },
431
+ // A Latin-only face: Hangul and other East Asian text in its runs is set in Pretendard.
432
+ "JetBrains Mono Regular": { font: "JetBrains Mono", bold: false, ea: "Pretendard" },
433
+ "JetBrains Mono Bold": { font: "JetBrains Mono", bold: true, ea: "Pretendard" },
431
434
  };
432
- const DECORATIONS = ["accent-rule", "hairline-rule", "header-band", "rail-fill", "colour-field", "caption-band", "column-hairlines", "box-outline", "mark-underline", "numeral"];
435
+ const DECORATIONS = ["accent-rule", "hairline-rule", "header-band", "rail-fill", "colour-field", "caption-band", "column-hairlines", "box-outline", "mark-underline", "numeral", "grid-marks"];
433
436
  const SLIDE_ROLES = ["content", "data", "data-takeaway", "sequence", "image", "statement", "reference", "definition"];
434
437
  const FILL_POLICIES = ["distribute", "step-up", "anchor-visual", "change-family"];
435
438
  // How a pack carries its display slides: the device on a type-led cover, around a statement,
436
439
  // behind a big number and under a closing's next step (`display.index` adds the part index to
437
440
  // section slides).
438
441
  const DISPLAY_DEVICES = {
439
- cover: ["plain", "drench", "plate", "rail", "band", "figures", "rules", "numeral"],
440
- statement: ["open", "drench", "rules", "plate", "offset"],
442
+ cover: ["plain", "drench", "plate", "rail", "band", "figures", "rules", "numeral", "geometry"],
443
+ statement: ["open", "drench", "rules", "plate", "offset", "geometry"],
441
444
  number: ["field", "tint", "outline"],
442
445
  closing: ["band", "box", "rules"],
443
446
  };
447
+ // Allowances a pack may claim from the gate, each a bounded value (see craft_extras.py). The accent
448
+ // limits only widen: four hue families pass every slide by default, so a pack may allow five or six.
449
+ const QA_ALLOWANCES = {
450
+ "accent-families": (v) => Number.isInteger(v) && v >= 5 && v <= 6,
451
+ "display-accent-families": (v) => Number.isInteger(v) && v >= 5 && v <= 6,
452
+ "offset-shadow": (v) => typeof v === "boolean",
453
+ };
444
454
  // Contrast pairs every pack must meet (text pairs 4.5:1, large marks 3:1).
445
455
  const CONTRAST_PAIRS = [["ink", "ground", 4.5], ["ink", "surface", 4.5], ["ink-muted", "ground", 4.5], ["ink-muted", "surface", 4.5],
446
456
  ["accent", "ground", 3.0], ["accent-deep", "accent-tint", 4.5], ["ink", "accent-tint", 4.5], ["on-field", "field", 4.5],
@@ -473,9 +483,12 @@ function validatePack(pack, file) {
473
483
  for (const key of ["faces", "faces-a2z"]) {
474
484
  if (key === "faces-a2z" && pack[key] == null) continue;
475
485
  const faces = pack[key] || {};
486
+ // A Latin-only face may set the display roles; body text always stays in a Korean face.
476
487
  for (const role of FACE_KEYS) {
477
- need(FACES[faces[role]] && (key === "faces-a2z" || /^Pretendard /u.test(faces[role])), `${key}.${role} must name a bundled face${key === "faces-a2z" ? "" : " (Pretendard Regular or Bold)"}`);
488
+ const own = key === "faces-a2z" || /^Pretendard /u.test(faces[role]) || (role !== "body" && FACES[faces[role]] && FACES[faces[role]].ea);
489
+ need(FACES[faces[role]] && own, `${key}.${role} must name a bundled face${key === "faces-a2z" ? "" : role === "body" ? " (Pretendard Regular or Bold)" : " (Pretendard Regular or Bold, or JetBrains Mono Regular or Bold)"}`);
478
490
  }
491
+ need(!(FACES[faces.body] && FACES[faces.body].ea), `${key}.body must be a face that sets Hangul`);
479
492
  const distinct = new Set(FACE_KEYS.map((r) => faces[r]));
480
493
  need(distinct.size <= 3, `${key} uses ${distinct.size} faces; at most 3`);
481
494
  need(new Set([...distinct].map((f) => String(f).split(" ")[0])).size <= 2, `${key} mixes more than two families`);
@@ -497,10 +510,32 @@ function validatePack(pack, file) {
497
510
  }
498
511
  need(["presented", "reading"].includes(pack.ramp), "ramp must be presented or reading");
499
512
  need(typeof pack.hero === "boolean", "hero must be true or false");
513
+ // A report pack reads at its density step; a bold pack (a pitch, a launch, a campaign) may set presented type.
514
+ // Any pack may take the hero step on its cover and statements. Either way the words stay in the slide grid's
515
+ // zones: the register and the hero step change size, never place.
516
+ const register = pack.register == null ? "report" : pack.register;
517
+ need(["report", "bold"].includes(register), "register must be report or bold");
518
+ need(register === "bold" || pack.ramp === "reading", "presented type needs register: bold; a report pack keeps ramp: reading");
500
519
  need(Number.isInteger(pack.density) && pack.density >= 1 && pack.density <= 10, "density must be an integer 1-10");
501
520
  need(Number.isInteger(pack.variance) && pack.variance >= 4 && pack.variance <= 10, "variance must be an integer 4-10");
502
521
  need(pack.radius === 0 || pack.radius === 6, "radius must be 0 or 6");
503
522
  need(["border", "fill", "fill+border"].includes(pack.edge), "edge must be border, fill or fill+border");
523
+ // A heavier border and a hard offset shadow (zero blur) under surfaces; the shadow needs the border.
524
+ const weight = pack["edge-weight"];
525
+ need(weight == null || (typeof weight === "number" && weight >= 0.5 && weight <= 4), "edge-weight must be 0.5-4 pt");
526
+ const shadow = pack.shadow;
527
+ if (shadow != null) {
528
+ need(typeof shadow === "object" && typeof shadow.offset === "number" && shadow.offset >= 3 && shadow.offset <= 10, "shadow.offset must be 3-10 pt");
529
+ need(shadow && PALETTE_ROLES.includes(shadow.colour), "shadow.colour must name a palette role");
530
+ need(pack.edge !== "fill", "a shadow needs a bordered edge (border or fill+border)");
531
+ }
532
+ need(pack["edge-colour"] == null || PALETTE_ROLES.includes(pack["edge-colour"]), "edge-colour must name a palette role");
533
+ // What the gate allows this pack beyond the default craft floor (read by craft_extras.py).
534
+ const qa = pack.qa || {};
535
+ need(typeof qa === "object" && !Array.isArray(qa), "qa must be a map");
536
+ for (const k of Object.keys(qa)) need(QA_ALLOWANCES[k], `unknown qa allowance "${k}" (known: ${Object.keys(QA_ALLOWANCES).join(", ")})`);
537
+ for (const [k, ok] of Object.entries(QA_ALLOWANCES)) if (qa[k] != null) need(ok(qa[k]), `qa.${k} is out of range`);
538
+ need(!qa["offset-shadow"] || shadow != null, "qa.offset-shadow needs a shadow");
504
539
  const treatments = isList(pack.treatments) ? pack.treatments : [];
505
540
  need(treatments.length >= 3 && treatments.length <= 5, "treatments must list 3-5 title treatments");
506
541
  for (const t of treatments) need(grid.TREATMENTS.includes(t), `unknown treatment "${t}" (known: ${grid.TREATMENTS.join(", ")})`);
@@ -514,6 +549,10 @@ function validatePack(pack, file) {
514
549
  need(treatments.includes(t) && grid.FAMILIES[f] && grid.FAMILIES[f].allow.includes(t), `structure.${f} must be a treatment of the pack that the family allows`);
515
550
  }
516
551
  for (const d of pack.decoration || []) need(DECORATIONS.includes(d), `unknown decoration "${d}"`);
552
+ // Grid marks sit in the top margin on the ground: a band or a filled rail there would cover them.
553
+ if ((pack.decoration || []).includes("grid-marks")) {
554
+ need(!treatments.includes("band") && !(pack.decoration || []).includes("rail-fill"), "grid-marks needs the top margin on the ground (no band treatment, no rail-fill)");
555
+ }
517
556
  need(pack.rail == null || ["surface", "field"].includes(pack.rail), "rail must be surface or field");
518
557
  const display = pack.display || {};
519
558
  need(typeof display === "object" && !Array.isArray(display), "display must be a map");
@@ -634,12 +673,22 @@ function loadTonality(id, options = {}) {
634
673
  if (!pack.canvas.includes(canvas)) {
635
674
  throw new Error(`Tonality "${pack.id}" supports ${pack.canvas.join(", ")}, not canvas ${canvas}`);
636
675
  }
637
- const tok = grid.densityTokens(density, pack.ramp);
638
- const g = grid.makeGrid(canvas, tok.grid);
676
+ // Only a bold register sets presented type; a report pack reads at its density step.
677
+ const tok = grid.densityTokens(density, pack.register === "bold" ? pack.ramp : "reading");
678
+ const g = grid.makeGrid(canvas);
639
679
  // Pretendard by default; the A2Z map only when the source asks for it (`faces: a2z`).
640
680
  const wantsA2z = String(options.faces || "").toLowerCase() === "a2z" && pack["faces-a2z"];
641
681
  const faceMap = wantsA2z ? pack["faces-a2z"] : pack.faces;
642
682
  const faces = Object.fromEntries(FACE_KEYS.map((role) => [role, FACES[faceMap[role]]]));
683
+ // The deck may add decoration kinds to the pack's own list and turn the hero step off (`hero: false`,
684
+ // the calm opt-out); both arrive as front-matter strings.
685
+ const extra = String(options.decoration || "").split(",").map((d) => d.trim()).filter(Boolean);
686
+ for (const d of extra) if (!DECORATIONS.includes(d)) throw new Error(`decoration "${d}" is not a known kind (${DECORATIONS.join(", ")})`);
687
+ const decoration = [...new Set([...(pack.decoration || []), ...extra])];
688
+ if (decoration.includes("grid-marks") && (pack.treatments.includes("band") || decoration.includes("rail-fill"))) {
689
+ throw new Error(`grid-marks needs the top margin on the ground (no band treatment, no rail-fill); tonality "${pack.id}" has one`);
690
+ }
691
+ const hero = String(options.hero).toLowerCase() === "false" || options.hero === false ? false : pack.hero;
643
692
  const P = pack.palette;
644
693
  const template = {
645
694
  name: pack.name,
@@ -662,6 +711,8 @@ function loadTonality(id, options = {}) {
662
711
  capabilities: { font_roles: {} },
663
712
  pack: {
664
713
  ...pack,
714
+ decoration,
715
+ hero,
665
716
  legacy: false,
666
717
  capabilities: [],
667
718
  faces,
@@ -15,6 +15,7 @@ const commands = {
15
15
  qa: ["python", join(deckRoot, "scripts/qa_deck.py")],
16
16
  inventory: ["python", join(deckRoot, "scripts/inventory.py")],
17
17
  embed: ["python", join(deckRoot, "scripts/embed_fonts.py")],
18
+ render: ["python", join(deckRoot, "scripts/render_pages.py")],
18
19
  learn: ["python", join(deckRoot, "scripts/learn_template.py")],
19
20
  validate: ["python", join(deckRoot, "scripts/validate_pptx.py")],
20
21
  },
@@ -150,7 +151,7 @@ function main() {
150
151
  }
151
152
  const selected = commands[skill]?.[command];
152
153
  if (!selected) {
153
- process.stderr.write("Usage: office-run.mjs doctor | pptx <compile|qa|inventory|embed|learn|validate> ... | docx <convert|qa|edit|pdf|extract_pdf|slop|audit|clean|images> ...\n");
154
+ process.stderr.write("Usage: office-run.mjs doctor | pptx <compile|qa|inventory|embed|render|learn|validate> ... | docx <convert|qa|edit|pdf|extract_pdf|slop|audit|clean|images> ...\n");
154
155
  process.exitCode = 2;
155
156
  return;
156
157
  }
@@ -12,7 +12,7 @@ No LibreOffice / rendering engine required: everything is read from the OOXML
12
12
  via python-pptx. A renderer is needed only for separate visual preview.
13
13
 
14
14
  With --sibling OTHER.pptx (the same source compiled under another tonality) the
15
- office craft check also fails two decks that draw one skeleton (OF-116).
15
+ office craft check also fails two decks that set titles or bodies in different places (OF-116).
16
16
  """
17
17
 
18
18
  from __future__ import annotations
@@ -30,7 +30,7 @@ from pptx import Presentation
30
30
  from pptx.dml.color import RGBColor
31
31
  from pptx.enum.shapes import MSO_AUTO_SHAPE_TYPE, MSO_SHAPE_TYPE
32
32
  from pptx.opc.constants import RELATIONSHIP_TYPE as RT
33
- from craft_extras import DISPLAY_FAMILY, GRID_MARGIN, PACK_STAMP, analyze_craft, compare_skeletons, family_of, title_frame
33
+ from craft_extras import DISPLAY_FAMILY, GRID_MARGIN, PACK_STAMP, analyze_craft, compare_placement, family_of, title_frame
34
34
 
35
35
  ROOT = Path(__file__).resolve().parents[1]
36
36
  VALIDATE = ROOT / "scripts" / "validate_pptx.py"
@@ -598,18 +598,12 @@ def check_objective_quality(path: Path) -> dict[str, Any]:
598
598
 
599
599
 
600
600
  def _pack_frame(slide, width: float, height: float, margin: float):
601
- """Body frame of a pack slide in inches (x0, y0, x1, y1): beside a side rail, above a bottom
602
- title, else under the title; inside the grid margin and above the foot strip."""
601
+ """Body frame of a pack slide in inches (x0, y0, x1, y1): every title sits on the shared title zone,
602
+ so the body is the page under it, inside the grid margin and above the foot strip."""
603
603
  title = title_frame(list(slide.shapes))
604
604
  x0, y0, x1, y1 = margin, margin, width - margin, min(height - margin, 6.83)
605
605
  if title is not None:
606
- tx0, ty0, tx1, ty1 = _bbox_in(title)
607
- if title.name == "title@side-rail":
608
- x0 = tx1 + 0.1
609
- elif title.name == "title@bottom-anchor":
610
- y1 = ty0 - 0.1
611
- else:
612
- y0 = ty1 + 0.1
606
+ y0 = _bbox_in(title)[3] + 0.1
613
607
  return (x0, y0, x1, max(y0 + 0.1, y1))
614
608
 
615
609
 
@@ -795,9 +789,9 @@ def qa(pptx: Path, sibling: Path | None = None) -> dict[str, Any]:
795
789
  objective = check_objective_quality(pptx)
796
790
  content_quality = check_content_quality(pptx)
797
791
  office_craft = analyze_craft(Presentation(pptx))
798
- # The same source under another tonality, when given: the two decks must not share one skeleton (OF-116).
792
+ # The same source under another tonality, when given: the two decks must set titles and bodies in the same places (OF-116).
799
793
  if sibling is not None:
800
- office_craft["findings"] += compare_skeletons(pptx, sibling)
794
+ office_craft["findings"] += compare_placement(pptx, sibling)
801
795
  office_craft["pass"] = not any(f["severity"] == "HIGH" for f in office_craft["findings"])
802
796
 
803
797
  reasons: list[str] = []
@@ -0,0 +1,124 @@
1
+ #!/usr/bin/env python3
2
+ """render_pages.py — render a .pptx (or a PDF) to PNG pages so the deck can be looked at.
3
+
4
+ LibreOffice converts the deck to PDF inside a private profile, so parallel runs never share a lock.
5
+ LibreOffice ignores the font parts a .pptx embeds, so the plain TrueType/OpenType files in
6
+ ppt/fonts/*.fntdata are first copied into that profile's font folder; the pages then show the faces
7
+ PowerPoint shows (Pretendard, A2Z, JetBrains Mono) even on a machine that does not have them
8
+ installed. pdftoppm (poppler) rasterises the PDF. Without soffice or pdftoppm the script says what
9
+ is missing and exits 0, and the caller must report that the visual pass did not happen.
10
+
11
+ Usage:
12
+ python3 scripts/render_pages.py <file.pptx|file.pdf> --out-dir DIR [--pages N] [--dpi 110] [--json]
13
+
14
+ Writes DIR/<stem>.pdf and DIR/page-01.png ...; exit 1 when a conversion fails.
15
+ """
16
+
17
+ from __future__ import annotations
18
+
19
+ import argparse
20
+ import json
21
+ import shutil
22
+ import subprocess
23
+ import sys
24
+ import tempfile
25
+ import zipfile
26
+ from pathlib import Path
27
+
28
+
29
+ def profile_fonts(source: Path, profile: Path) -> list[Path]:
30
+ """Copy the font files a .pptx embeds into the profile's user/fonts folder; return what was placed."""
31
+ if source.suffix.lower() != ".pptx":
32
+ return []
33
+ placed = []
34
+ try:
35
+ with zipfile.ZipFile(source) as z:
36
+ for name in z.namelist():
37
+ if not (name.startswith("ppt/fonts/") and name.endswith(".fntdata")):
38
+ continue
39
+ data = z.read(name)
40
+ # Only a plain OpenType or TrueType file; an obfuscated or EOT part is left alone.
41
+ kind = ".otf" if data[:4] == b"OTTO" else ".ttf" if data[:4] in (b"\x00\x01\x00\x00", b"true") else None
42
+ if not kind:
43
+ continue
44
+ target = profile / "user" / "fonts" / (Path(name).stem + kind)
45
+ target.parent.mkdir(parents=True, exist_ok=True)
46
+ target.write_bytes(data)
47
+ placed.append(target)
48
+ except zipfile.BadZipFile:
49
+ return []
50
+ return placed
51
+
52
+
53
+ def to_pdf(source: Path, out_dir: Path) -> tuple[Path | None, str]:
54
+ if source.suffix.lower() == ".pdf":
55
+ return source, "input is already a PDF"
56
+ soffice = shutil.which("soffice") or shutil.which("libreoffice")
57
+ if not soffice:
58
+ return None, "LibreOffice (soffice) is not on PATH"
59
+ with tempfile.TemporaryDirectory(prefix="litcodex-soffice-") as profile:
60
+ profile_fonts(source, Path(profile))
61
+ result = subprocess.run(
62
+ [soffice, f"-env:UserInstallation={Path(profile).as_uri()}", "--headless", "--convert-to", "pdf",
63
+ "--outdir", str(out_dir), str(source)],
64
+ capture_output=True, text=True, timeout=300,
65
+ )
66
+ pdf = out_dir / f"{source.stem}.pdf"
67
+ if result.returncode != 0 or not pdf.exists():
68
+ raise RuntimeError(f"soffice conversion failed: {(result.stderr or result.stdout).strip()[-400:]}")
69
+ return pdf, "converted with soffice"
70
+
71
+
72
+ def rasterise(pdf: Path, out_dir: Path, pages: int, dpi: int) -> list[Path]:
73
+ tool = shutil.which("pdftoppm")
74
+ if not tool:
75
+ return []
76
+ subprocess.run([tool, "-png", "-r", str(dpi), "-l", str(pages), str(pdf), str(out_dir / "page")],
77
+ check=True, capture_output=True, timeout=300)
78
+ written = []
79
+ # pdftoppm pads the page number to the width of the page count; normalise to page-NN.png.
80
+ for path in sorted(out_dir.glob("page-*.png")):
81
+ number = int(path.stem.split("-")[-1])
82
+ target = out_dir / f"page-{number:02d}.png"
83
+ if path != target:
84
+ path.replace(target)
85
+ written.append(target)
86
+ return sorted(set(written))
87
+
88
+
89
+ def main(argv: list[str]) -> int:
90
+ parser = argparse.ArgumentParser(description="Render deck pages to PNG.")
91
+ parser.add_argument("input", type=Path)
92
+ parser.add_argument("--out-dir", type=Path, required=True)
93
+ parser.add_argument("--pages", type=int, default=5)
94
+ parser.add_argument("--dpi", type=int, default=110)
95
+ parser.add_argument("--json", action="store_true")
96
+ args = parser.parse_args(argv)
97
+
98
+ sys.dont_write_bytecode = True
99
+ source = args.input.expanduser().resolve()
100
+ out_dir = args.out_dir.expanduser().resolve()
101
+ out_dir.mkdir(parents=True, exist_ok=True)
102
+ try:
103
+ pdf, how = to_pdf(source, out_dir)
104
+ pngs = rasterise(pdf, out_dir, args.pages, args.dpi) if pdf else []
105
+ except (RuntimeError, subprocess.SubprocessError) as error:
106
+ report = {"status": "fail", "input": str(source), "detail": str(error), "pages": []}
107
+ print(json.dumps(report, ensure_ascii=False) if args.json else f"FAIL {error}")
108
+ return 1
109
+ if pdf and not pngs:
110
+ how += "; pdftoppm is not on PATH, so only the PDF was written"
111
+ status = "rendered" if pngs else "skipped"
112
+ report = {"status": status, "input": str(source), "detail": how, "pdf": str(pdf) if pdf else None,
113
+ "pages": [str(p) for p in pngs]}
114
+ if args.json:
115
+ print(json.dumps(report, ensure_ascii=False, indent=2))
116
+ elif pngs:
117
+ print(f"PASS rendered {len(pngs)} page(s) -> {out_dir}")
118
+ else:
119
+ print(f"SKIP {how}; visual pages were not rendered")
120
+ return 0
121
+
122
+
123
+ if __name__ == "__main__":
124
+ raise SystemExit(main(sys.argv[1:]))
@@ -37,7 +37,7 @@ palette:
37
37
  series: ["#2B4C7E", "#555B63", "#8A6A2E", "#3E7A5A"]
38
38
 
39
39
  ramp: reading
40
- hero: false
40
+ hero: true
41
41
  type-voice:
42
42
  title-tracking: 0
43
43
  display-tracking: -1
@@ -0,0 +1,98 @@
1
+ # Bauhaus: primary colours and elementary geometry, spent only on the display slides. A cover or a
2
+ # statement carries a composition of a square, a circle, a bar and a triangle; content slides stay
3
+ # quiet, black type on an off-white ground with one red accent. Not for data-heavy business reviews,
4
+ # finance, public-sector reports or sombre topics.
5
+ id: bauhaus
6
+ name: Bauhaus
7
+ version: "1.0.0"
8
+ intent: "Design, architecture and culture lectures: primary colours and geometry on the display slides."
9
+ canvas: ["16:9", "4:3"]
10
+
11
+ # Pretendard by default; the A2Z map below applies only when the source asks (faces: a2z).
12
+ faces:
13
+ display: Pretendard Bold
14
+ title: Pretendard Bold
15
+ body: Pretendard Regular
16
+ label: Pretendard Bold
17
+ numeral: Pretendard Bold
18
+ faces-a2z:
19
+ display: A2Z Black
20
+ title: A2Z Black
21
+ body: Pretendard Regular
22
+ label: Pretendard Bold
23
+ numeral: A2Z Black
24
+
25
+ palette:
26
+ ground: "#F4F1EA"
27
+ surface: "#E8E3D6"
28
+ ink: "#141414"
29
+ ink-muted: "#4A4740"
30
+ line: "#141414"
31
+ accent: "#C8261C"
32
+ accent-deep: "#7A140E"
33
+ # The yellow of the geometry: the square on a display slide, the notice line and a highlighted table row.
34
+ accent-tint: "#F2C230"
35
+ field: "#1F3C99"
36
+ on-field: "#FFFFFF"
37
+ positive: "#1E6B3A"
38
+ # The accent is red, so a loss keeps the ink colour and carries its ▼ sign.
39
+ negative: "#141414"
40
+ # Red, blue, black, then an ochre: the geometry's yellow, darkened so a bar holds 3:1 on the ground.
41
+ series: ["#C8261C", "#1F3C99", "#141414", "#9E7700"]
42
+
43
+ ramp: reading
44
+ hero: true
45
+ type-voice:
46
+ title-tracking: -1
47
+ display-tracking: -2
48
+
49
+ density: 10
50
+ variance: 7
51
+ radius: 0
52
+ edge: fill
53
+
54
+ treatments: [top-rule, side-rail, kicker-numeral, statement, bottom-anchor]
55
+ role-defaults:
56
+ content: top-rule
57
+ data: top-rule
58
+ data-takeaway: side-rail
59
+ sequence: kicker-numeral
60
+ image: bottom-anchor
61
+ statement: statement
62
+ reference: top-rule
63
+ definition: side-rail
64
+
65
+ decoration: [accent-rule, numeral, colour-field]
66
+ layout-families: [asymmetric-feature, big-number, image-split, text-two-column, comparison, process, step-diagram, timeline, chart-insight, table-insight, kpi-row, quote, statement, agenda]
67
+ # Display slides: the device a type-led cover, a statement, a big number and a closing's next step
68
+ # are drawn with (see references/layout-families.md, "Display slides"). Geometry lives here only.
69
+ display:
70
+ cover: geometry
71
+ statement: geometry
72
+ number: field
73
+ closing: rules
74
+ covers: [cover-typographic, cover-split-field, cover-numeral]
75
+ sections: [section-field, section-numeral]
76
+ closings: [closing-ask, closing-summary-list, closing-statement]
77
+
78
+ table:
79
+ header: none
80
+ header-ink: ink
81
+ rules: header-rule
82
+ banding: none
83
+ totals: bold
84
+ chart:
85
+ gridlines: none
86
+ labels: direct
87
+ highlight: accent-on-muted
88
+ image:
89
+ frame: none
90
+
91
+ fill-order: [change-family, step-up, anchor-visual, distribute]
92
+ # A display slide may set red, blue and yellow side by side; a content slide keeps one accent.
93
+ avoid:
94
+ - geometry on content slides (it belongs to the cover and the statements)
95
+ - a circle, square or triangle used as a bullet or an icon
96
+ - more than one accent colour on a content slide
97
+ - yellow text on the off-white ground
98
+ - this look for grief, safety or financial-loss topics
@@ -37,7 +37,7 @@ palette:
37
37
  series: ["#9A3412", "#1F3B33", "#4E5A66", "#2E6A8E"]
38
38
 
39
39
  ramp: reading
40
- hero: false
40
+ hero: true
41
41
  type-voice:
42
42
  title-tracking: -1
43
43
  display-tracking: -1
@@ -0,0 +1,100 @@
1
+ # Computational Brutalism: a machine room with its structure left in view. Titles, labels and figures
2
+ # are set in a monospaced Latin face, the twelve-column grid is marked along the top margin, tables are
3
+ # ruled, and the terminal field is black with phosphor text and one electric-blue signal. Not for
4
+ # boards, finance or public-sector reports, nor for long Korean reading: a mono face tires over paragraphs.
5
+ id: computational-brutalism
6
+ name: Computational Brutalism
7
+ version: "1.0.0"
8
+ intent: "Engineering reviews and developer launches: the grid, the numbers and the system shown."
9
+ canvas: ["16:9", "4:3"]
10
+
11
+ # JetBrains Mono sets the Latin letters of titles, labels and figures; the Hangul in the same runs
12
+ # falls to Pretendard through the run's east-asian face. Body text stays Pretendard. No A2Z map: the
13
+ # mono face is the look.
14
+ faces:
15
+ display: JetBrains Mono Bold
16
+ title: JetBrains Mono Bold
17
+ body: Pretendard Regular
18
+ label: JetBrains Mono Regular
19
+ numeral: JetBrains Mono Bold
20
+
21
+ palette:
22
+ ground: "#EEEDE7"
23
+ surface: "#E2E1D9"
24
+ ink: "#111111"
25
+ ink-muted: "#4D4C47"
26
+ line: "#9A988F"
27
+ accent: "#1F43E0"
28
+ accent-deep: "#14267A"
29
+ accent-tint: "#D9DEF2"
30
+ # The terminal field: black, with phosphor-green text.
31
+ field: "#111111"
32
+ on-field: "#8CF5A6"
33
+ positive: "#1C6B35"
34
+ negative: "#B3261E"
35
+ series: ["#1F43E0", "#111111", "#7A786F"]
36
+
37
+ ramp: reading
38
+ hero: true
39
+ type-voice:
40
+ title-tracking: 0
41
+ display-tracking: -1
42
+
43
+ density: 10
44
+ variance: 7
45
+ radius: 0
46
+ edge: border
47
+ edge-weight: 1
48
+ edge-colour: ink
49
+
50
+ treatments: [top-rule, top-plain-large, side-rail, bottom-anchor, statement]
51
+ role-defaults:
52
+ content: top-rule
53
+ data: top-rule
54
+ data-takeaway: bottom-anchor
55
+ sequence: top-rule
56
+ image: bottom-anchor
57
+ statement: statement
58
+ reference: top-rule
59
+ definition: side-rail
60
+ # The title treatment a family takes in this pack: a chart under a ruled title, a table closed by a
61
+ # heavy rule, a comparison set as a spec sheet beside a bar, a sequence under a large mono headline.
62
+ structure:
63
+ chart-insight: top-rule
64
+ table-insight: bottom-anchor
65
+ comparison: side-rail
66
+ step-diagram: top-plain-large
67
+ # The grid and its numbers are the decoration; nothing is filled for ornament.
68
+ decoration: [hairline-rule, column-hairlines, box-outline, grid-marks, numeral]
69
+ layout-families: [dashboard-grid, kpi-row, chart-insight, full-chart, table-insight, ledger-table, method, step-diagram, matrix-2x2, comparison, text-two-column, references-appendix, quote, statement]
70
+ # Display slides: the device a type-led cover, a statement, a big number and a closing's next step
71
+ # are drawn with (see references/layout-families.md, "Display slides").
72
+ display:
73
+ cover: drench
74
+ statement: drench
75
+ number: outline
76
+ closing: box
77
+ covers: [cover-typographic, cover-index, cover-figures]
78
+ sections: [section-numeral, section-rule]
79
+ closings: [closing-decision-box, closing-ask, closing-summary-list]
80
+
81
+ table:
82
+ header: none
83
+ header-ink: ink
84
+ rules: grid
85
+ banding: none
86
+ totals: bold
87
+ protagonist: accent-tint
88
+ chart:
89
+ gridlines: hairline
90
+ labels: direct
91
+ highlight: accent-on-muted
92
+ image:
93
+ frame: hairline
94
+
95
+ fill-order: [change-family, distribute, anchor-visual, step-up]
96
+ avoid:
97
+ - mono body paragraphs (body text stays Pretendard)
98
+ - the accent as decoration (it marks the protagonist number or series)
99
+ - rounded corners, shadows, gradients
100
+ - a green other than the phosphor text on the terminal field
@@ -37,7 +37,7 @@ palette:
37
37
  series: ["#A61B1B", "#233A4F", "#4A5568", "#7A6A2A"]
38
38
 
39
39
  ramp: reading
40
- hero: false
40
+ hero: true
41
41
  type-voice:
42
42
  title-tracking: -1
43
43
  display-tracking: -1
@@ -37,7 +37,7 @@ palette:
37
37
  series: ["#0E6B5A", "#4B5866", "#9A6A12", "#2F5F8A"]
38
38
 
39
39
  ramp: reading
40
- hero: false
40
+ hero: true
41
41
  type-voice:
42
42
  title-tracking: -1
43
43
  display-tracking: -1