@kecan0406/ttheme 1.1.3 → 1.1.5
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 +16 -5
- package/bin/ttheme.js +178 -176
- package/bin/ttheme.js.map +1 -1
- package/dist/manifest.json +599 -141
- package/package.json +1 -1
- package/shell/adapters/_bg.zsh +228 -56
- package/shell/adapters/_osc.zsh +9 -1
- package/shell/ttheme.zsh +269 -91
package/README.md
CHANGED
|
@@ -122,10 +122,13 @@ page](https://kecan0406.github.io/ttheme/market) lists the public ones.
|
|
|
122
122
|
|
|
123
123
|
### Your own palettes
|
|
124
124
|
|
|
125
|
-
`ttheme new rei
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
125
|
+
`ttheme new rei` opens the palette editor on a blank palette: a few seeds grow
|
|
126
|
+
twenty colors that pass the contrast gate, then each one is tuned in OKLCH while
|
|
127
|
+
the terminal repaints as you go. It makes `<you>@<market>/rei`, named after your
|
|
128
|
+
GitHub handle and a market name the first `new` asks for, in
|
|
129
|
+
`~/.config/ttheme/market/<market>`, and installs it; `--from rei` starts from
|
|
130
|
+
rei's colors instead. `ttheme edit rei` opens the same editor, and `ttheme check
|
|
131
|
+
--fix` suggests colors that pass the gate.
|
|
129
132
|
|
|
130
133
|
A local market is already a repository layout: `palettes/*.toml` (a folder
|
|
131
134
|
under it, such as `palettes/night/`, is a catalog), the
|
|
@@ -156,7 +159,7 @@ from the booru the way `find` does.
|
|
|
156
159
|
| `ttheme pin` / `unpin` | A palette for this directory — `cd` in repaints, `cd` out restores |
|
|
157
160
|
| `ttheme browse` | Pick palettes and markets — tab moves between Catalog, Installed, Markets and Errors |
|
|
158
161
|
| `ttheme market add <owner/repo>` | Add someone's market (`#v1` pins it) — `ttheme market` lists yours; `search`, `remove` too |
|
|
159
|
-
| `ttheme new <name
|
|
162
|
+
| `ttheme new <name>` | Make a palette of your own in the palette editor (`--from <palette>` starts from its colors); `edit`, `check`, `share` follow |
|
|
160
163
|
| `ttheme on` / `off` | Wear the default again / give the terminal its own colors back |
|
|
161
164
|
| `ttheme config` | Settings in `$EDITOR` |
|
|
162
165
|
|
|
@@ -212,6 +215,14 @@ Terminal background images are downloaded from the booru you pick only when you
|
|
|
212
215
|
ask `find` for one, built on your own machine and written to
|
|
213
216
|
`~/.config/ttheme/backgrounds/`; none ship in this repository or on npm.
|
|
214
217
|
|
|
218
|
+
Every background picture belongs to the artist who drew it. ttheme never passes
|
|
219
|
+
one on: a palette or a share code names a booru post by its number, and each
|
|
220
|
+
machine fetches it from that booru itself. `find` names who drew each post and
|
|
221
|
+
links the post and the artwork's own page, an installed picture keeps its
|
|
222
|
+
artist and source, and `preview` names the artist over its tuning panel. The
|
|
223
|
+
pictures are for your own terminal — when you show one off, credit the artist
|
|
224
|
+
and link the artwork's page, not the booru's copy.
|
|
225
|
+
|
|
215
226
|
## License
|
|
216
227
|
|
|
217
228
|
[MIT](LICENSE)
|