@kecan0406/ttheme 1.2.14 → 1.2.15
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 +13 -12
- package/bin/package.json +1 -0
- package/bin/ttheme.js +219 -217
- package/bin/ttheme.js.map +1 -1
- package/dist/manifest.json +1 -1
- package/package.json +2 -2
- package/shell/adapters/_bg.zsh +0 -2
- package/shell/adapters/_osc.zsh +30 -0
- package/shell/preview.zsh +1 -1
- package/shell/ttheme.zsh +3 -11
package/README.md
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
<p align="center">
|
|
6
6
|
<a href="https://www.npmjs.com/package/@kecan0406/ttheme"><img src="https://img.shields.io/npm/v/@kecan0406/ttheme?style=flat-square" alt="npm version"></a>
|
|
7
7
|
<a href="https://github.com/kecan0406/ttheme/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/kecan0406/ttheme/ci.yml?branch=main&style=flat-square&label=ci" alt="CI status"></a>
|
|
8
|
-
<a href="https://
|
|
8
|
+
<a href="https://ttheme.vercel.app/"><img src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fkecan0406.github.io%2Fttheme%2Fmanifest.json&query=%24.palettes.length&label=palettes&style=flat-square&color=c796c8" alt="palettes in the catalog"></a>
|
|
9
9
|
<a href="LICENSE"><img src="https://img.shields.io/npm/l/@kecan0406/ttheme?style=flat-square" alt="MIT license"></a>
|
|
10
10
|
</p>
|
|
11
11
|
|
|
12
12
|
<p align="center">
|
|
13
|
-
<a href="https://
|
|
13
|
+
<a href="https://ttheme.vercel.app/">Site</a> ·
|
|
14
14
|
<a href="#palettes">Palettes</a> ·
|
|
15
15
|
<a href="docs/usage.md">Usage</a> ·
|
|
16
16
|
<a href="docs/terminals.md">Terminals</a> ·
|
|
@@ -68,7 +68,7 @@ a checkout are in [docs/install.md](docs/install.md).
|
|
|
68
68
|
## Palettes
|
|
69
69
|
|
|
70
70
|
<p align="center">
|
|
71
|
-
<a href="https://
|
|
71
|
+
<a href="https://ttheme.vercel.app/"><img src="https://kecan0406.github.io/ttheme/readme/series.svg" alt="One card per series, drawn in its lead palette" width="856"></a>
|
|
72
72
|
</p>
|
|
73
73
|
|
|
74
74
|
<details>
|
|
@@ -80,8 +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
|
-
|
|
84
|
-
|
|
83
|
+
with the next release — `ttheme update` brings it, and ttheme says when one is
|
|
84
|
+
out.
|
|
85
85
|
|
|
86
86
|
### Markets
|
|
87
87
|
|
|
@@ -111,14 +111,16 @@ ttheme browse # shift+→ to Markets: add, remov
|
|
|
111
111
|
`ttheme browse` handles markets the way it handles palettes: its Markets tab
|
|
112
112
|
adds one by repository or folder, finds the public ones on GitHub, marks one for
|
|
113
113
|
removal and switches its auto-update, and enter applies all of it with the
|
|
114
|
-
palettes you picked. The official catalog
|
|
115
|
-
|
|
114
|
+
palettes you picked. The official catalog comes with ttheme and updates with it;
|
|
115
|
+
a repository asks when you add it whether its list updates on its own, and a
|
|
116
|
+
palette you installed from it keeps its colors until you take its update —
|
|
117
|
+
`ctrl+r` on a palette marked `↑` in browse's Installed tab. Nobody reviews a market. Its
|
|
116
118
|
palettes are colors and post numbers, never code, and the contrast gate's
|
|
117
119
|
numbers are shown for them but never enforced — only the official catalog is
|
|
118
|
-
held to the gate. `ttheme update` refreshes every market now; `ttheme market
|
|
120
|
+
held to the gate. `ttheme update` updates ttheme and refreshes every market now; `ttheme market
|
|
119
121
|
remove alice@pastel` drops one, and the palettes you installed from it keep
|
|
120
122
|
working. The official catalog is a market too (`official`). [The markets
|
|
121
|
-
page](https://
|
|
123
|
+
page](https://ttheme.vercel.app/market) lists the public ones.
|
|
122
124
|
|
|
123
125
|
### Your own palettes
|
|
124
126
|
|
|
@@ -155,7 +157,6 @@ from the booru the way `find` does.
|
|
|
155
157
|
| `ttheme` | Preview and browse as tabs of one screen — `tab` and `shift+tab` switch |
|
|
156
158
|
| `ttheme preview` | Browse live — the tab repaints as the cursor moves, enter applies it to this tab or makes it the default |
|
|
157
159
|
| `ttheme use <palette>` | Paint this tab (a unique prefix works) |
|
|
158
|
-
| `ttheme next` | Advance this tab to the next palette |
|
|
159
160
|
| `ttheme default <palette>` | The palette new tabs open with |
|
|
160
161
|
| `ttheme pin` / `unpin` | A palette for this directory, everything below it, its repository or an ssh host (`ssh:<host>`) — a panel shows what each choice reaches; `cd` or `ssh` in repaints, leaving restores |
|
|
161
162
|
| `ttheme pins` | Map every pinned directory as a tree, in each palette's colors, with where you are marked, and every pinned ssh host |
|
|
@@ -165,8 +166,8 @@ from the booru the way `find` does.
|
|
|
165
166
|
| `ttheme on` / `off` | Wear the default again / give the terminal its own colors back |
|
|
166
167
|
| `ttheme config` | Settings in `$EDITOR` |
|
|
167
168
|
|
|
168
|
-
`ttheme help`
|
|
169
|
-
|
|
169
|
+
`ttheme help` lists every command by task; `ttheme help all` adds their
|
|
170
|
+
options and examples. Preview's keys and the mouse, directory pins,
|
|
170
171
|
rotating new tabs and every setting are in [docs/usage.md](docs/usage.md).
|
|
171
172
|
|
|
172
173
|
## Terminal support
|
package/bin/package.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"module"}
|