codex-terminal-themes 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (229) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/CONTRIBUTING.md +23 -0
  3. package/LICENSE +21 -0
  4. package/LICENSE.txt +21 -0
  5. package/README.md +169 -0
  6. package/SECURITY.md +5 -0
  7. package/SUPPORT.md +5 -0
  8. package/bin/codex-terminal-themes.mjs +12 -0
  9. package/docs/app.js +1393 -0
  10. package/docs/assets/theme-gallery-header.png +0 -0
  11. package/docs/favicon.svg +10 -0
  12. package/docs/index.html +240 -0
  13. package/docs/preview.svg +24 -0
  14. package/docs/site-data.json +51078 -0
  15. package/docs/styles.css +780 -0
  16. package/metadata/README.md +71 -0
  17. package/metadata/themes.json +16185 -0
  18. package/metadata/themes.schema.json +218 -0
  19. package/package.json +109 -0
  20. package/src/cli.mjs +1763 -0
  21. package/stylelint.config.mjs +12 -0
  22. package/themes/80s.tmTheme +229 -0
  23. package/themes/Active4D.tmTheme +407 -0
  24. package/themes/All Hallow's Eve Custom.tmTheme +275 -0
  25. package/themes/All Hallow's Eve.tmTheme +277 -0
  26. package/themes/All Hallows Eve.tmTheme +277 -0
  27. package/themes/Amy.tmTheme +559 -0
  28. package/themes/Artic Fall.tmTheme +275 -0
  29. package/themes/BBEdit.tmTheme +439 -0
  30. package/themes/Bespin.tmTheme +516 -0
  31. package/themes/Black Pearl II.tmTheme +496 -0
  32. package/themes/Black Pearl.tmTheme +400 -0
  33. package/themes/Blackboard 2.tmTheme +348 -0
  34. package/themes/Blackboard Black.tmTheme +350 -0
  35. package/themes/Blackboard.tmTheme +348 -0
  36. package/themes/Blueberry Jelly.tmTheme +242 -0
  37. package/themes/Bluesy.tmTheme +242 -0
  38. package/themes/Blurb 2.tmTheme +229 -0
  39. package/themes/Blurb.tmTheme +229 -0
  40. package/themes/Bongzilla 2.tmTheme +223 -0
  41. package/themes/Bongzilla.tmTheme +223 -0
  42. package/themes/Brightly Dark.tmTheme +242 -0
  43. package/themes/Brilliance Black.tmTheme +2619 -0
  44. package/themes/Brilliance Dull.tmTheme +2243 -0
  45. package/themes/Bromozoid.tmTheme +227 -0
  46. package/themes/CSSEdit.tmTheme +203 -0
  47. package/themes/Classic Modified.tmTheme +469 -0
  48. package/themes/Clouds Midnight.tmTheme +361 -0
  49. package/themes/Clouds of Ruby.tmTheme +649 -0
  50. package/themes/Clouds.tmTheme +348 -0
  51. package/themes/Cloudy Fields.tmTheme +240 -0
  52. package/themes/Coal Graal.tmTheme +282 -0
  53. package/themes/Cobalt.tmTheme +561 -0
  54. package/themes/Coda.tmTheme +317 -0
  55. package/themes/Colorful.tmTheme +307 -0
  56. package/themes/Cool Glow.tmTheme +234 -0
  57. package/themes/Corona.tmTheme +290 -0
  58. package/themes/Cowabunga.tmTheme +242 -0
  59. package/themes/DanBurst.tmTheme +665 -0
  60. package/themes/Daniel Fischer.tmTheme +627 -0
  61. package/themes/Dark Ocean.tmTheme +242 -0
  62. package/themes/DarkNeon.tmTheme +818 -0
  63. package/themes/Dawn.tmTheme +437 -0
  64. package/themes/DawnCustom.tmTheme +443 -0
  65. package/themes/Django (Smoothy).tmTheme +453 -0
  66. package/themes/Django Blues.tmTheme +182 -0
  67. package/themes/Django Extended.tmTheme +495 -0
  68. package/themes/Django.tmTheme +436 -0
  69. package/themes/Dobdark.tmTheme +615 -0
  70. package/themes/Dominion Day.tmTheme +562 -0
  71. package/themes/Doo-Daa.tmTheme +242 -0
  72. package/themes/Drankin Purp.tmTheme +227 -0
  73. package/themes/Dreamweaver_Blackbam_Aptana303.tmTheme +980 -0
  74. package/themes/Easy on my Eyes There Buddy.tmTheme +227 -0
  75. package/themes/Eiffel.tmTheme +435 -0
  76. package/themes/Emacs Strict.tmTheme +241 -0
  77. package/themes/Emacs.tmTheme +241 -0
  78. package/themes/Epic Blue.tmTheme +320 -0
  79. package/themes/Erebus.tmTheme +467 -0
  80. package/themes/Espresso Libre.tmTheme +402 -0
  81. package/themes/Espresso Tutti.tmTheme +392 -0
  82. package/themes/Espresso.tmTheme +329 -0
  83. package/themes/Fade to Grey.tmTheme +308 -0
  84. package/themes/Fluidvision.tmTheme +443 -0
  85. package/themes/ForLaTeX.tmTheme +214 -0
  86. package/themes/Freckle.tmTheme +279 -0
  87. package/themes/Friendship Bracelet.tmTheme +303 -0
  88. package/themes/GaGaGaGroovy.tmTheme +227 -0
  89. package/themes/Gangrene.tmTheme +242 -0
  90. package/themes/GitHub.tmTheme +653 -0
  91. package/themes/GlitterBomb.tmTheme +387 -0
  92. package/themes/Halloween Night.tmTheme +303 -0
  93. package/themes/Happy happy joy joy.tmTheme +841 -0
  94. package/themes/Happydeluxe.tmTheme +184 -0
  95. package/themes/HelvectorLight.tmTheme +557 -0
  96. package/themes/Humane.tmTheme +220 -0
  97. package/themes/IDLE.tmTheme +235 -0
  98. package/themes/IR_Black.tmTheme +810 -0
  99. package/themes/IR_White.tmTheme +792 -0
  100. package/themes/Jane Fonda, Baby Redux.tmTheme +264 -0
  101. package/themes/Johnny.tmTheme +798 -0
  102. package/themes/Juicy.tmTheme +250 -0
  103. package/themes/Kuroir Theme.tmTheme +707 -0
  104. package/themes/LAZY.tmTheme +291 -0
  105. package/themes/Lowlight.tmTheme +605 -0
  106. package/themes/Mac Classic.tmTheme +476 -0
  107. package/themes/Made of Code.tmTheme +695 -0
  108. package/themes/MagicWB (Amiga).tmTheme +376 -0
  109. package/themes/Malibu Nights.tmTheme +257 -0
  110. package/themes/Menage A Trois.tmTheme +881 -0
  111. package/themes/Merbivore Soft.tmTheme +285 -0
  112. package/themes/Merbivore.tmTheme +285 -0
  113. package/themes/Midnight.tmTheme +321 -0
  114. package/themes/Mmm Sandy.tmTheme +227 -0
  115. package/themes/Monokai.tmTheme +289 -0
  116. package/themes/MultiMarkdown.tmTheme +183 -0
  117. package/themes/Mustang.tmTheme +339 -0
  118. package/themes/Neopro Inverted.tmTheme +328 -0
  119. package/themes/Neopro.tmTheme +330 -0
  120. package/themes/Nice One.tmTheme +222 -0
  121. package/themes/No Way.tmTheme +255 -0
  122. package/themes/Overcast.tmTheme +659 -0
  123. package/themes/Pastels on Dark.tmTheme +703 -0
  124. package/themes/Pastie.tmTheme +321 -0
  125. package/themes/Peridinkle.tmTheme +240 -0
  126. package/themes/Play!.tmTheme +736 -0
  127. package/themes/Puss.tmTheme +227 -0
  128. package/themes/Putty.tmTheme +275 -0
  129. package/themes/Quail.tmTheme +257 -0
  130. package/themes/RDark.tmTheme +235 -0
  131. package/themes/Rails Envy.tmTheme +299 -0
  132. package/themes/Railscasts 2.tmTheme +368 -0
  133. package/themes/Railscasts.tmTheme +278 -0
  134. package/themes/Resesif.tmTheme +298 -0
  135. package/themes/Ringo.tmTheme +240 -0
  136. package/themes/Ruby Blue.tmTheme +366 -0
  137. package/themes/RubyRobot.tmTheme +250 -0
  138. package/themes/Ryan Light.tmTheme +232 -0
  139. package/themes/Seafoam.tmTheme +242 -0
  140. package/themes/Sidewalk Chalk.tmTheme +276 -0
  141. package/themes/Sin City (that yellow bastard).tmTheme +585 -0
  142. package/themes/Slate.tmTheme +436 -0
  143. package/themes/Slush & Poppies.tmTheme +336 -0
  144. package/themes/Slush and Poppies.tmTheme +336 -0
  145. package/themes/Smokey Morning.tmTheme +229 -0
  146. package/themes/Smoothy original.tmTheme +623 -0
  147. package/themes/Smoothy.tmTheme +623 -0
  148. package/themes/Solarized (dark).tmTheme +2051 -0
  149. package/themes/Solarized-dark.tmTheme +312 -0
  150. package/themes/Solarized-light.tmTheme +305 -0
  151. package/themes/Sometheme.tmTheme +240 -0
  152. package/themes/SoylentTheme.tmTheme +353 -0
  153. package/themes/SpaceCadet.tmTheme +212 -0
  154. package/themes/Spectacular.tmTheme +436 -0
  155. package/themes/Starlight.tmTheme +857 -0
  156. package/themes/Stoneship Bright.tmTheme +348 -0
  157. package/themes/Stoneship.tmTheme +361 -0
  158. package/themes/Summer Camp Mod.tmTheme +229 -0
  159. package/themes/Summer Camp.tmTheme +229 -0
  160. package/themes/Summery Drink.tmTheme +242 -0
  161. package/themes/Sunburst.tmTheme +665 -0
  162. package/themes/Swyphs II.tmTheme +306 -0
  163. package/themes/Tango Bright.tmTheme +1 -0
  164. package/themes/Tango.tmTheme +450 -0
  165. package/themes/Teenage Dream.tmTheme +242 -0
  166. package/themes/Texari.tmTheme +727 -0
  167. package/themes/Text Ex Machina.tmTheme +295 -0
  168. package/themes/Tomorrow-Night-Blue.tmTheme +175 -0
  169. package/themes/Tomorrow-Night-Eighties.tmTheme +175 -0
  170. package/themes/Tomorrow-Night.tmTheme +175 -0
  171. package/themes/Tomorrow.tmTheme +349 -0
  172. package/themes/ToyChest.tmTheme +503 -0
  173. package/themes/TravisJeffery.tmTheme +1261 -0
  174. package/themes/Tubster.tmTheme +280 -0
  175. package/themes/Twilight BG FG.tmTheme +1000 -0
  176. package/themes/Twilight.tmTheme +516 -0
  177. package/themes/TwilightMod.tmTheme +529 -0
  178. package/themes/Two Days Ago.tmTheme +242 -0
  179. package/themes/Vibrant Fin.tmTheme +447 -0
  180. package/themes/Vibrant Ink.tmTheme +447 -0
  181. package/themes/Vibrant Scala.tmTheme +292 -0
  182. package/themes/Vibrant Tango.tmTheme +438 -0
  183. package/themes/Wandering.tmTheme +681 -0
  184. package/themes/Whimsy in Blue.tmTheme +240 -0
  185. package/themes/Why/342/200/231s Poignant.tmTheme" +191 -0
  186. package/themes/Windows XP.tmTheme +350 -0
  187. package/themes/Witch.tmTheme +282 -0
  188. package/themes/Yurple.tmTheme +227 -0
  189. package/themes/ZZZ.tmTheme +131 -0
  190. package/themes/Zachstronaut.tmTheme +381 -0
  191. package/themes/Zenburnesque.tmTheme +343 -0
  192. package/themes/[ Argonaut ].tmTheme +387 -0
  193. package/themes/barf.tmTheme +254 -0
  194. package/themes/converted-vscode-AmoledShinyBlack.tmTheme +528 -0
  195. package/themes/converted-vscode-AmoledShinyBlack2.tmTheme +609 -0
  196. package/themes/converted-vscode-AmoledShinyBlack3.tmTheme +683 -0
  197. package/themes/converted-vscode-AmoledShinyBlack4.tmTheme +896 -0
  198. package/themes/converted-vscode-AmoledShinyBlack5.tmTheme +1023 -0
  199. package/themes/converted-vscode-AmoledShinyBlack6.tmTheme +2092 -0
  200. package/themes/eclips3.media (ECLM).tmTheme +294 -0
  201. package/themes/evin.tmTheme +253 -0
  202. package/themes/fake.tmTheme +669 -0
  203. package/themes/fapfap.tmTheme +508 -0
  204. package/themes/helloKitty.tmTheme +293 -0
  205. package/themes/iLife 05.tmTheme +619 -0
  206. package/themes/iPlastic.tmTheme +397 -0
  207. package/themes/idleFingers.tmTheme +380 -0
  208. package/themes/krTheme.tmTheme +551 -0
  209. package/themes/mark.james.name.tmTheme +1117 -0
  210. package/themes/minimal Theme.tmTheme +551 -0
  211. package/themes/mint.tmTheme +617 -0
  212. package/themes/mintBlue Dark.tmTheme +653 -0
  213. package/themes/mintBlue.tmTheme +655 -0
  214. package/themes/modifiedPastels.tmTheme +745 -0
  215. package/themes/monoindustrial.tmTheme +451 -0
  216. package/themes/my-theme-blackboard.tmTheme +363 -0
  217. package/themes/my-theme-classic.tmTheme +465 -0
  218. package/themes/nppGLua.tmTheme +293 -0
  219. package/themes/reST testing theme.tmTheme +554 -0
  220. package/themes/rose-pine-dawn.tmTheme +329 -0
  221. package/themes/rose-pine-moon.tmTheme +329 -0
  222. package/themes/rose-pine.tmTheme +329 -0
  223. package/themes/ryan-light.tmTheme +232 -0
  224. package/themes/wut.tmTheme +255 -0
  225. package/tools/build-pages-site.mjs +465 -0
  226. package/tools/generate-theme-metadata.mjs +680 -0
  227. package/tools/serve-pages-site.mjs +196 -0
  228. package/tools/validate-themes.mjs +272 -0
  229. package/types/index.d.ts +49 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,8 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ ## Unreleased
6
+
7
+ - Initial source-of-truth repository for Codex and Bat TextMate themes.
8
+ - Add a publishable npm CLI for listing, previewing, installing, diagnosing, and configuring theme installs.
@@ -0,0 +1,23 @@
1
+ # Contributing
2
+
3
+ Keep this repository focused on terminal syntax theme source files and local sync validation.
4
+
5
+ See [DEVELOPMENT.md](DEVELOPMENT.md) for the full maintainer command reference.
6
+
7
+ When adding, removing, renaming, or editing a file in `themes/`, regenerate the consumer manifest:
8
+
9
+ ```powershell
10
+ npm run metadata:write
11
+ npm run pages:build
12
+ ```
13
+
14
+ Before submitting changes:
15
+
16
+ ```powershell
17
+ npm run metadata:check
18
+ npm run pages:check
19
+ npm run release:verify
20
+ Sync-TerminalThemes.ps1 -WhatIf
21
+ ```
22
+
23
+ When importing themes from a web source, use raw file URLs. Do not save rendered GitHub HTML pages as `.tmTheme` files.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Nick2bad4u
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Nick2bad4u
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,169 @@
1
+ # Codex Terminal Themes
2
+
3
+ [![NPM license.](https://flat.badgen.net/npm/license/codex-terminal-themes?color=purple)](https://github.com/Nick2bad4u/codex-terminal-themes/blob/main/LICENSE) [![NPM total downloads.](https://flat.badgen.net/npm/dt/codex-terminal-themes?color=pink)](https://www.npmjs.com/package/codex-terminal-themes) [![Latest GitHub release.](https://flat.badgen.net/github/release/Nick2bad4u/codex-terminal-themes?color=cyan)](https://github.com/Nick2bad4u/codex-terminal-themes/releases) [![GitHub stars.](https://flat.badgen.net/github/stars/Nick2bad4u/codex-terminal-themes?color=yellow)](https://github.com/Nick2bad4u/codex-terminal-themes/stargazers) [![GitHub forks.](https://flat.badgen.net/github/forks/Nick2bad4u/codex-terminal-themes?color=orange)](https://github.com/Nick2bad4u/codex-terminal-themes/forks) [![GitHub open issues.](https://flat.badgen.net/github/open-issues/Nick2bad4u/codex-terminal-themes?color=red)](https://github.com/Nick2bad4u/codex-terminal-themes/issues) [![Repo Checks.](https://flat.badgen.net/github/checks/nick2bad4u/codex-terminal-themes?color=green)](https://github.com/Nick2bad4u/codex-terminal-themes/actions)
4
+
5
+ High-contrast TextMate `.tmTheme` files for Codex terminal sessions, `bat`, and other tools that can read TextMate themes.
6
+
7
+ Browse the theme gallery:
8
+
9
+ <https://nick2bad4u.github.io/codex-terminal-themes/>
10
+
11
+ ## What You Get
12
+
13
+ - 203 TextMate themes in `themes/`.
14
+ - A searchable online gallery with syntax previews, theme metadata, hue filtering, and color matching.
15
+ - A generated metadata manifest at `metadata/themes.json` for scripts and theme pickers.
16
+ - A dependency-light npm CLI for listing, previewing, installing, and diagnosing themes.
17
+ - Themes that can still be copied directly into Codex or Bat theme folders.
18
+
19
+ ## Recommended Theme
20
+
21
+ For Codex terminal use, start with:
22
+
23
+ ```text
24
+ themes/converted-vscode-AmoledShinyBlack6.tmTheme
25
+ ```
26
+
27
+ It is the most customized AMOLED variant in this repo and has the broadest scope coverage for terminal-heavy workflows.
28
+
29
+ ## Install With npm
30
+
31
+ Use the CLI without a global install:
32
+
33
+ ```powershell
34
+ npx codex-terminal-themes list --search amoled
35
+ npx codex-terminal-themes show converted-vscode-amoledshinyblack6
36
+ npx codex-terminal-themes install converted-vscode-amoledshinyblack6 --target both
37
+ ```
38
+
39
+ Open the interactive picker with an ANSI terminal preview:
40
+
41
+ ```powershell
42
+ npx codex-terminal-themes pick
43
+ ```
44
+
45
+ Install directly from the picker:
46
+
47
+ ```powershell
48
+ npx codex-terminal-themes pick --install --target codex
49
+ ```
50
+
51
+ Run environment checks before installing:
52
+
53
+ ```powershell
54
+ npx codex-terminal-themes doctor
55
+ ```
56
+
57
+ CLI config is optional and only stores CLI defaults. It does not edit theme files or mutate Codex configuration:
58
+
59
+ ```powershell
60
+ npx codex-terminal-themes config set defaultTheme converted-vscode-amoledshinyblack6
61
+ npx codex-terminal-themes config set defaultTarget both
62
+ npx codex-terminal-themes install
63
+ ```
64
+
65
+ Useful install overrides:
66
+
67
+ ```powershell
68
+ npx codex-terminal-themes install converted-vscode-amoledshinyblack6 --target codex --codex-dir "$env:USERPROFILE\.codex\themes"
69
+ npx codex-terminal-themes install converted-vscode-amoledshinyblack6 --target bat --bat-dir "$((bat --config-dir).Trim())\themes"
70
+ npx codex-terminal-themes install converted-vscode-amoledshinyblack6 --dry-run --json
71
+ ```
72
+
73
+ ## Use With Codex Manually
74
+
75
+ Copy the `.tmTheme` file you want into your Codex themes directory, then select it from your Codex configuration.
76
+
77
+ On Windows, that folder is usually:
78
+
79
+ ```powershell
80
+ $env:USERPROFILE\.codex\themes
81
+ ```
82
+
83
+ Example:
84
+
85
+ ```powershell
86
+ Copy-Item ".\themes\converted-vscode-AmoledShinyBlack6.tmTheme" "$env:USERPROFILE\.codex\themes\"
87
+ ```
88
+
89
+ ## Use With Bat Manually
90
+
91
+ Find Bat's config directory:
92
+
93
+ ```powershell
94
+ bat --config-dir
95
+ ```
96
+
97
+ Create a `themes` folder there if it does not exist, copy the `.tmTheme` files into it, then rebuild Bat's cache:
98
+
99
+ ```powershell
100
+ $batConfig = bat --config-dir
101
+ New-Item -ItemType Directory -Force -Path "$batConfig\themes"
102
+ Copy-Item ".\themes\converted-vscode-AmoledShinyBlack6.tmTheme" "$batConfig\themes\"
103
+ bat cache --build
104
+ ```
105
+
106
+ Use a theme once:
107
+
108
+ ```powershell
109
+ bat --theme "AMOLED Dark Shiny - Codex Varied v6" README.md
110
+ ```
111
+
112
+ To make a Bat theme permanent, put the theme name in Bat's config file:
113
+
114
+ ```text
115
+ --theme="AMOLED Dark Shiny - Codex Varied v6"
116
+ ```
117
+
118
+ ## Sync Everything Locally
119
+
120
+ For local source checkout workflows, this repo also works with a drop-in PowerShell sync script named:
121
+
122
+ ```powershell
123
+ Sync-TerminalThemes.ps1
124
+ ```
125
+
126
+ Dry run first:
127
+
128
+ ```powershell
129
+ Sync-TerminalThemes.ps1 -WhatIf
130
+ ```
131
+
132
+ Then sync:
133
+
134
+ ```powershell
135
+ Sync-TerminalThemes.ps1
136
+ ```
137
+
138
+ The sync script copies valid `.tmTheme` files to the Codex theme folder and Bat's theme folder, then rebuilds Bat's cache.
139
+
140
+ ## Theme Metadata
141
+
142
+ Use `metadata/themes.json` when you need to inspect the collection without parsing XML plist files yourself.
143
+
144
+ It includes:
145
+
146
+ - theme id, display name, file name, path, UUID, author, semantic class, and color space
147
+ - detected dark, light, or unknown appearance
148
+ - global colors such as background, foreground, selection, caret, line highlight, and invisibles
149
+ - setting counts, color-reference counts, scoped-setting counts, and unique scope counts
150
+ - TextMate scopes used by each theme
151
+ - duplicate UUID groups for imported themes that share historical UUIDs
152
+
153
+ See [metadata/README.md](metadata/README.md) for the manifest field contract and a small consumption example.
154
+
155
+ ## Troubleshooting
156
+
157
+ If Bat does not show a theme, rebuild its cache:
158
+
159
+ ```powershell
160
+ bat cache --build
161
+ ```
162
+
163
+ If a downloaded theme does not work, make sure it is a raw `.tmTheme` XML plist file. Saving a rendered GitHub webpage as `.tmTheme` creates an HTML file that Codex and Bat cannot consume.
164
+
165
+ If a theme looks too flat, try a newer numbered AMOLED variant. The numbered `converted-vscode-AmoledShinyBlack*.tmTheme` files are intentional iterations, and the later versions usually have more language-specific scope coverage.
166
+
167
+ ## Maintainers
168
+
169
+ Development commands, validation, generated files, and release checks live in [DEVELOPMENT.md](DEVELOPMENT.md).
package/SECURITY.md ADDED
@@ -0,0 +1,5 @@
1
+ # Security
2
+
3
+ This repository stores local theme assets and validation tooling. It should not contain secrets, credentials, tokens, or machine-private configuration.
4
+
5
+ Report sensitive issues through the repository's private vulnerability reporting channel if one is enabled. Do not open public issues that disclose secrets or private local paths beyond the expected theme sync paths.
package/SUPPORT.md ADDED
@@ -0,0 +1,5 @@
1
+ # Support
2
+
3
+ Use GitHub issues for reproducible problems with theme validation, sync behavior, or Bat/Codex theme loading.
4
+
5
+ Include the theme filename, validation command, and relevant error output. Do not include secrets or unrelated private repository content.
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env node
2
+ import { runCli } from "../src/cli.mjs";
3
+
4
+ void runCli(process.argv.slice(2), {
5
+ cwd: process.cwd(),
6
+ env: process.env,
7
+ stderr: process.stderr,
8
+ stdin: process.stdin,
9
+ stdout: process.stdout,
10
+ }).then((exitCode) => {
11
+ process.exitCode = exitCode;
12
+ });