@kecan0406/ttheme 1.0.48 → 1.1.1
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/README.md +28 -23
- package/bin/ttheme.js +230 -232
- package/bin/ttheme.js.map +1 -1
- package/dist/manifest.json +94 -5
- package/package.json +2 -1
- package/shell/adapters/_bg.zsh +8 -8
- package/shell/ttheme.zsh +82 -42
package/README.md
CHANGED
|
@@ -80,7 +80,8 @@ a checkout are in [docs/install.md](docs/install.md).
|
|
|
80
80
|
Both images are drawn from the live catalog, so they always match what
|
|
81
81
|
`ttheme browse` offers. `init` installs the series you pick; `ttheme browse`
|
|
82
82
|
adds or drops single palettes any time, and a merged palette reaches everyone
|
|
83
|
-
through `ttheme update` without
|
|
83
|
+
within a day of using ttheme — or at once through `ttheme update` — without
|
|
84
|
+
waiting for a release.
|
|
84
85
|
|
|
85
86
|
### Markets
|
|
86
87
|
|
|
@@ -92,25 +93,29 @@ sits below the series in `ttheme preview` and `ttheme browse`, past a line:
|
|
|
92
93
|
▾ Evangelion
|
|
93
94
|
rei
|
|
94
95
|
asuka
|
|
95
|
-
──
|
|
96
|
+
── Markets ──────────
|
|
96
97
|
▾ alice@pastel
|
|
97
98
|
dusk
|
|
98
99
|
rei
|
|
99
100
|
```
|
|
100
101
|
|
|
101
102
|
```sh
|
|
102
|
-
ttheme market
|
|
103
|
-
ttheme market add alice/ttheme-pastel
|
|
104
|
-
ttheme add
|
|
103
|
+
ttheme add dusk --market alice/ttheme-pastel # add alice's market and install from it
|
|
104
|
+
ttheme market add alice/ttheme-pastel#v1 # or add it alone, pinned to a tag
|
|
105
|
+
ttheme browse # tab to Markets: add, remove, auto-update
|
|
105
106
|
```
|
|
106
107
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
108
|
+
`ttheme browse` handles markets the way it handles palettes: its Markets tab
|
|
109
|
+
adds one by repository or folder, finds the public ones on GitHub, marks one for
|
|
110
|
+
removal and switches its auto-update, and enter applies all of it with the
|
|
111
|
+
palettes you picked. The official catalog updates on its own once a day as you
|
|
112
|
+
use ttheme; a repository asks when you add it. Nobody reviews a market. Its
|
|
113
|
+
palettes are colors and post numbers, never code, and the contrast gate's
|
|
114
|
+
numbers are shown for them but never enforced — only the official catalog is
|
|
115
|
+
held to the gate. `ttheme update` refreshes every market now; `ttheme market
|
|
116
|
+
remove alice@pastel` drops one, and the palettes you installed from it keep
|
|
117
|
+
working. The official catalog is a market too (`official`). [The markets
|
|
118
|
+
page](https://kecan0406.github.io/ttheme/market) lists the public ones.
|
|
114
119
|
|
|
115
120
|
### Your own palettes
|
|
116
121
|
|
|
@@ -140,16 +145,16 @@ from the booru the way `find` does.
|
|
|
140
145
|
|
|
141
146
|
| Command | |
|
|
142
147
|
|---|---|
|
|
143
|
-
| `ttheme preview` |
|
|
144
|
-
| `ttheme use <palette>` |
|
|
145
|
-
| `ttheme next` |
|
|
146
|
-
| `ttheme default <palette>` |
|
|
147
|
-
| `ttheme pin` / `unpin` |
|
|
148
|
-
| `ttheme browse` |
|
|
149
|
-
| `ttheme market add <owner/repo>` |
|
|
150
|
-
| `ttheme new <name> --from <palette>` |
|
|
151
|
-
| `ttheme on` / `off` |
|
|
152
|
-
| `ttheme config` |
|
|
148
|
+
| `ttheme preview` | Browse live — the tab repaints as the cursor moves, enter applies it to this tab or makes it the default |
|
|
149
|
+
| `ttheme use <palette>` | Paint this tab (a unique prefix works) |
|
|
150
|
+
| `ttheme next` | Advance this tab to the next palette |
|
|
151
|
+
| `ttheme default <palette>` | The palette new tabs open with |
|
|
152
|
+
| `ttheme pin` / `unpin` | A palette for this directory — `cd` in repaints, `cd` out restores |
|
|
153
|
+
| `ttheme browse` | Pick palettes and markets — tab moves between Catalog, Installed, Markets and Errors |
|
|
154
|
+
| `ttheme market add <owner/repo>` | Add someone's market (`#v1` pins it) — `ttheme market` lists yours; `search`, `remove` too |
|
|
155
|
+
| `ttheme new <name> --from <palette>` | Make a palette of your own; `edit`, `check`, `share` follow |
|
|
156
|
+
| `ttheme on` / `off` | Wear the default again / give the terminal its own colors back |
|
|
157
|
+
| `ttheme config` | Settings in `$EDITOR` |
|
|
153
158
|
|
|
154
159
|
`ttheme help` shows the three to start with and the rest by task; `ttheme help
|
|
155
160
|
all` lists every command. Preview's keys, directory pins, rotating new
|
|
@@ -170,7 +175,7 @@ is what it is: [docs/terminals.md](docs/terminals.md).
|
|
|
170
175
|
## Background pictures
|
|
171
176
|
|
|
172
177
|
A palette can wear a picture behind the text. ttheme ships none: `ttheme
|
|
173
|
-
preview` → tab searches danbooru, konachan
|
|
178
|
+
preview` → tab searches danbooru, konachan, yande.re and zerochan for the character live
|
|
174
179
|
(safe-rated by default), or takes a picture you paste or drop, cuts the
|
|
175
180
|
character out on macOS, tints it to the palette and installs it on your machine
|
|
176
181
|
only. Ghostty shows the focused tab's picture, iTerm2 one per tab, kitty one per
|