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.
- package/CHANGELOG.md +8 -0
- package/CONTRIBUTING.md +23 -0
- package/LICENSE +21 -0
- package/LICENSE.txt +21 -0
- package/README.md +169 -0
- package/SECURITY.md +5 -0
- package/SUPPORT.md +5 -0
- package/bin/codex-terminal-themes.mjs +12 -0
- package/docs/app.js +1393 -0
- package/docs/assets/theme-gallery-header.png +0 -0
- package/docs/favicon.svg +10 -0
- package/docs/index.html +240 -0
- package/docs/preview.svg +24 -0
- package/docs/site-data.json +51078 -0
- package/docs/styles.css +780 -0
- package/metadata/README.md +71 -0
- package/metadata/themes.json +16185 -0
- package/metadata/themes.schema.json +218 -0
- package/package.json +109 -0
- package/src/cli.mjs +1763 -0
- package/stylelint.config.mjs +12 -0
- package/themes/80s.tmTheme +229 -0
- package/themes/Active4D.tmTheme +407 -0
- package/themes/All Hallow's Eve Custom.tmTheme +275 -0
- package/themes/All Hallow's Eve.tmTheme +277 -0
- package/themes/All Hallows Eve.tmTheme +277 -0
- package/themes/Amy.tmTheme +559 -0
- package/themes/Artic Fall.tmTheme +275 -0
- package/themes/BBEdit.tmTheme +439 -0
- package/themes/Bespin.tmTheme +516 -0
- package/themes/Black Pearl II.tmTheme +496 -0
- package/themes/Black Pearl.tmTheme +400 -0
- package/themes/Blackboard 2.tmTheme +348 -0
- package/themes/Blackboard Black.tmTheme +350 -0
- package/themes/Blackboard.tmTheme +348 -0
- package/themes/Blueberry Jelly.tmTheme +242 -0
- package/themes/Bluesy.tmTheme +242 -0
- package/themes/Blurb 2.tmTheme +229 -0
- package/themes/Blurb.tmTheme +229 -0
- package/themes/Bongzilla 2.tmTheme +223 -0
- package/themes/Bongzilla.tmTheme +223 -0
- package/themes/Brightly Dark.tmTheme +242 -0
- package/themes/Brilliance Black.tmTheme +2619 -0
- package/themes/Brilliance Dull.tmTheme +2243 -0
- package/themes/Bromozoid.tmTheme +227 -0
- package/themes/CSSEdit.tmTheme +203 -0
- package/themes/Classic Modified.tmTheme +469 -0
- package/themes/Clouds Midnight.tmTheme +361 -0
- package/themes/Clouds of Ruby.tmTheme +649 -0
- package/themes/Clouds.tmTheme +348 -0
- package/themes/Cloudy Fields.tmTheme +240 -0
- package/themes/Coal Graal.tmTheme +282 -0
- package/themes/Cobalt.tmTheme +561 -0
- package/themes/Coda.tmTheme +317 -0
- package/themes/Colorful.tmTheme +307 -0
- package/themes/Cool Glow.tmTheme +234 -0
- package/themes/Corona.tmTheme +290 -0
- package/themes/Cowabunga.tmTheme +242 -0
- package/themes/DanBurst.tmTheme +665 -0
- package/themes/Daniel Fischer.tmTheme +627 -0
- package/themes/Dark Ocean.tmTheme +242 -0
- package/themes/DarkNeon.tmTheme +818 -0
- package/themes/Dawn.tmTheme +437 -0
- package/themes/DawnCustom.tmTheme +443 -0
- package/themes/Django (Smoothy).tmTheme +453 -0
- package/themes/Django Blues.tmTheme +182 -0
- package/themes/Django Extended.tmTheme +495 -0
- package/themes/Django.tmTheme +436 -0
- package/themes/Dobdark.tmTheme +615 -0
- package/themes/Dominion Day.tmTheme +562 -0
- package/themes/Doo-Daa.tmTheme +242 -0
- package/themes/Drankin Purp.tmTheme +227 -0
- package/themes/Dreamweaver_Blackbam_Aptana303.tmTheme +980 -0
- package/themes/Easy on my Eyes There Buddy.tmTheme +227 -0
- package/themes/Eiffel.tmTheme +435 -0
- package/themes/Emacs Strict.tmTheme +241 -0
- package/themes/Emacs.tmTheme +241 -0
- package/themes/Epic Blue.tmTheme +320 -0
- package/themes/Erebus.tmTheme +467 -0
- package/themes/Espresso Libre.tmTheme +402 -0
- package/themes/Espresso Tutti.tmTheme +392 -0
- package/themes/Espresso.tmTheme +329 -0
- package/themes/Fade to Grey.tmTheme +308 -0
- package/themes/Fluidvision.tmTheme +443 -0
- package/themes/ForLaTeX.tmTheme +214 -0
- package/themes/Freckle.tmTheme +279 -0
- package/themes/Friendship Bracelet.tmTheme +303 -0
- package/themes/GaGaGaGroovy.tmTheme +227 -0
- package/themes/Gangrene.tmTheme +242 -0
- package/themes/GitHub.tmTheme +653 -0
- package/themes/GlitterBomb.tmTheme +387 -0
- package/themes/Halloween Night.tmTheme +303 -0
- package/themes/Happy happy joy joy.tmTheme +841 -0
- package/themes/Happydeluxe.tmTheme +184 -0
- package/themes/HelvectorLight.tmTheme +557 -0
- package/themes/Humane.tmTheme +220 -0
- package/themes/IDLE.tmTheme +235 -0
- package/themes/IR_Black.tmTheme +810 -0
- package/themes/IR_White.tmTheme +792 -0
- package/themes/Jane Fonda, Baby Redux.tmTheme +264 -0
- package/themes/Johnny.tmTheme +798 -0
- package/themes/Juicy.tmTheme +250 -0
- package/themes/Kuroir Theme.tmTheme +707 -0
- package/themes/LAZY.tmTheme +291 -0
- package/themes/Lowlight.tmTheme +605 -0
- package/themes/Mac Classic.tmTheme +476 -0
- package/themes/Made of Code.tmTheme +695 -0
- package/themes/MagicWB (Amiga).tmTheme +376 -0
- package/themes/Malibu Nights.tmTheme +257 -0
- package/themes/Menage A Trois.tmTheme +881 -0
- package/themes/Merbivore Soft.tmTheme +285 -0
- package/themes/Merbivore.tmTheme +285 -0
- package/themes/Midnight.tmTheme +321 -0
- package/themes/Mmm Sandy.tmTheme +227 -0
- package/themes/Monokai.tmTheme +289 -0
- package/themes/MultiMarkdown.tmTheme +183 -0
- package/themes/Mustang.tmTheme +339 -0
- package/themes/Neopro Inverted.tmTheme +328 -0
- package/themes/Neopro.tmTheme +330 -0
- package/themes/Nice One.tmTheme +222 -0
- package/themes/No Way.tmTheme +255 -0
- package/themes/Overcast.tmTheme +659 -0
- package/themes/Pastels on Dark.tmTheme +703 -0
- package/themes/Pastie.tmTheme +321 -0
- package/themes/Peridinkle.tmTheme +240 -0
- package/themes/Play!.tmTheme +736 -0
- package/themes/Puss.tmTheme +227 -0
- package/themes/Putty.tmTheme +275 -0
- package/themes/Quail.tmTheme +257 -0
- package/themes/RDark.tmTheme +235 -0
- package/themes/Rails Envy.tmTheme +299 -0
- package/themes/Railscasts 2.tmTheme +368 -0
- package/themes/Railscasts.tmTheme +278 -0
- package/themes/Resesif.tmTheme +298 -0
- package/themes/Ringo.tmTheme +240 -0
- package/themes/Ruby Blue.tmTheme +366 -0
- package/themes/RubyRobot.tmTheme +250 -0
- package/themes/Ryan Light.tmTheme +232 -0
- package/themes/Seafoam.tmTheme +242 -0
- package/themes/Sidewalk Chalk.tmTheme +276 -0
- package/themes/Sin City (that yellow bastard).tmTheme +585 -0
- package/themes/Slate.tmTheme +436 -0
- package/themes/Slush & Poppies.tmTheme +336 -0
- package/themes/Slush and Poppies.tmTheme +336 -0
- package/themes/Smokey Morning.tmTheme +229 -0
- package/themes/Smoothy original.tmTheme +623 -0
- package/themes/Smoothy.tmTheme +623 -0
- package/themes/Solarized (dark).tmTheme +2051 -0
- package/themes/Solarized-dark.tmTheme +312 -0
- package/themes/Solarized-light.tmTheme +305 -0
- package/themes/Sometheme.tmTheme +240 -0
- package/themes/SoylentTheme.tmTheme +353 -0
- package/themes/SpaceCadet.tmTheme +212 -0
- package/themes/Spectacular.tmTheme +436 -0
- package/themes/Starlight.tmTheme +857 -0
- package/themes/Stoneship Bright.tmTheme +348 -0
- package/themes/Stoneship.tmTheme +361 -0
- package/themes/Summer Camp Mod.tmTheme +229 -0
- package/themes/Summer Camp.tmTheme +229 -0
- package/themes/Summery Drink.tmTheme +242 -0
- package/themes/Sunburst.tmTheme +665 -0
- package/themes/Swyphs II.tmTheme +306 -0
- package/themes/Tango Bright.tmTheme +1 -0
- package/themes/Tango.tmTheme +450 -0
- package/themes/Teenage Dream.tmTheme +242 -0
- package/themes/Texari.tmTheme +727 -0
- package/themes/Text Ex Machina.tmTheme +295 -0
- package/themes/Tomorrow-Night-Blue.tmTheme +175 -0
- package/themes/Tomorrow-Night-Eighties.tmTheme +175 -0
- package/themes/Tomorrow-Night.tmTheme +175 -0
- package/themes/Tomorrow.tmTheme +349 -0
- package/themes/ToyChest.tmTheme +503 -0
- package/themes/TravisJeffery.tmTheme +1261 -0
- package/themes/Tubster.tmTheme +280 -0
- package/themes/Twilight BG FG.tmTheme +1000 -0
- package/themes/Twilight.tmTheme +516 -0
- package/themes/TwilightMod.tmTheme +529 -0
- package/themes/Two Days Ago.tmTheme +242 -0
- package/themes/Vibrant Fin.tmTheme +447 -0
- package/themes/Vibrant Ink.tmTheme +447 -0
- package/themes/Vibrant Scala.tmTheme +292 -0
- package/themes/Vibrant Tango.tmTheme +438 -0
- package/themes/Wandering.tmTheme +681 -0
- package/themes/Whimsy in Blue.tmTheme +240 -0
- package/themes/Why/342/200/231s Poignant.tmTheme" +191 -0
- package/themes/Windows XP.tmTheme +350 -0
- package/themes/Witch.tmTheme +282 -0
- package/themes/Yurple.tmTheme +227 -0
- package/themes/ZZZ.tmTheme +131 -0
- package/themes/Zachstronaut.tmTheme +381 -0
- package/themes/Zenburnesque.tmTheme +343 -0
- package/themes/[ Argonaut ].tmTheme +387 -0
- package/themes/barf.tmTheme +254 -0
- package/themes/converted-vscode-AmoledShinyBlack.tmTheme +528 -0
- package/themes/converted-vscode-AmoledShinyBlack2.tmTheme +609 -0
- package/themes/converted-vscode-AmoledShinyBlack3.tmTheme +683 -0
- package/themes/converted-vscode-AmoledShinyBlack4.tmTheme +896 -0
- package/themes/converted-vscode-AmoledShinyBlack5.tmTheme +1023 -0
- package/themes/converted-vscode-AmoledShinyBlack6.tmTheme +2092 -0
- package/themes/eclips3.media (ECLM).tmTheme +294 -0
- package/themes/evin.tmTheme +253 -0
- package/themes/fake.tmTheme +669 -0
- package/themes/fapfap.tmTheme +508 -0
- package/themes/helloKitty.tmTheme +293 -0
- package/themes/iLife 05.tmTheme +619 -0
- package/themes/iPlastic.tmTheme +397 -0
- package/themes/idleFingers.tmTheme +380 -0
- package/themes/krTheme.tmTheme +551 -0
- package/themes/mark.james.name.tmTheme +1117 -0
- package/themes/minimal Theme.tmTheme +551 -0
- package/themes/mint.tmTheme +617 -0
- package/themes/mintBlue Dark.tmTheme +653 -0
- package/themes/mintBlue.tmTheme +655 -0
- package/themes/modifiedPastels.tmTheme +745 -0
- package/themes/monoindustrial.tmTheme +451 -0
- package/themes/my-theme-blackboard.tmTheme +363 -0
- package/themes/my-theme-classic.tmTheme +465 -0
- package/themes/nppGLua.tmTheme +293 -0
- package/themes/reST testing theme.tmTheme +554 -0
- package/themes/rose-pine-dawn.tmTheme +329 -0
- package/themes/rose-pine-moon.tmTheme +329 -0
- package/themes/rose-pine.tmTheme +329 -0
- package/themes/ryan-light.tmTheme +232 -0
- package/themes/wut.tmTheme +255 -0
- package/tools/build-pages-site.mjs +465 -0
- package/tools/generate-theme-metadata.mjs +680 -0
- package/tools/serve-pages-site.mjs +196 -0
- package/tools/validate-themes.mjs +272 -0
- 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.
|
package/CONTRIBUTING.md
ADDED
|
@@ -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
|
+
[](https://github.com/Nick2bad4u/codex-terminal-themes/blob/main/LICENSE) [](https://www.npmjs.com/package/codex-terminal-themes) [](https://github.com/Nick2bad4u/codex-terminal-themes/releases) [](https://github.com/Nick2bad4u/codex-terminal-themes/stargazers) [](https://github.com/Nick2bad4u/codex-terminal-themes/forks) [](https://github.com/Nick2bad4u/codex-terminal-themes/issues) [](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,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
|
+
});
|