@kecan0406/ttheme 1.0.43 → 1.0.44

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 CHANGED
@@ -82,21 +82,45 @@ Both images are drawn from the live catalog, so they always match what
82
82
  adds or drops single palettes any time, and a merged palette reaches everyone
83
83
  through `ttheme update` without waiting for a release.
84
84
 
85
+ ### Markets
86
+
87
+ Anyone can publish palettes from a GitHub repository. `ttheme market add alice`
88
+ adds `github.com/alice/ttheme-palettes`, and its palettes join the catalog as
89
+ `<palette>@alice`, next to the palette each one varies:
90
+
91
+ ```sh
92
+ ttheme market search # repositories with the ttheme-market topic
93
+ ttheme market add alice # or alice/<repo>, or a folder
94
+ ttheme add dusk@alice
95
+ ```
96
+
97
+ Nobody reviews a market. Its palettes are colors and post numbers, never code,
98
+ and the contrast gate's numbers are shown for them but never enforced — only
99
+ the official catalog is held to the gate. `ttheme update` refreshes every
100
+ market; `ttheme market remove alice` drops one, and the palettes you installed
101
+ from it keep working. The official catalog is a market too (`official`).
102
+ [The markets page](https://kecan0406.github.io/ttheme/markets) lists the public ones.
103
+
85
104
  ### Your own palettes
86
105
 
87
- `ttheme new dusk --from madoka` copies a palette into
88
- `~/.config/ttheme/palettes/<you>/dusk.toml`, named after your GitHub handle
89
- (`<you>/dusk`), and installs it. `ttheme edit` opens it in `$EDITOR` and
90
- refuses a result that fails the contrast gate, offering colors that pass;
91
- `ttheme check --fix` does the same for any palette of yours.
106
+ `ttheme new dusk --from madoka` makes `dusk@<you>`, named after your GitHub
107
+ handle, in your local market at `~/.config/ttheme/market` (the first `new`
108
+ creates it) and installs it. `ttheme edit` opens it in `$EDITOR`; `ttheme check
109
+ --fix` suggests colors that pass the gate.
110
+
111
+ The local market is already a repository layout: `palettes/*.toml`, the
112
+ `ttheme-market.json` index and a workflow that rebuilds the index on every
113
+ push. Publishing it is two commands, which `ttheme market init` prints:
114
+
115
+ ```sh
116
+ gh repo create <you>/ttheme-palettes --public --source ~/.config/ttheme/market --push
117
+ gh repo edit <you>/ttheme-palettes --add-topic ttheme-market
118
+ ```
92
119
 
93
120
  `ttheme share <palette>` prints a code — `tt1:…`, about 200 characters — that
94
121
  carries the colors and the numbers of its background posts with their framing.
95
- `ttheme add tt1:…` installs it anywhere, fetching those posts from the booru the
96
- way `find` does. `ttheme submit <palette>` opens a filled-in GitHub issue; a bot
97
- checks it and turns it into a pull request for the catalog, where it appears
98
- as `<you>/<palette>` next to the palette it came from. A palette that leaves the
99
- catalog keeps working for whoever installed it.
122
+ `ttheme add tt1:…` installs it anywhere without a market, fetching those posts
123
+ from the booru the way `find` does.
100
124
 
101
125
  ## Usage
102
126
 
@@ -108,11 +132,13 @@ catalog keeps working for whoever installed it.
108
132
  | `ttheme default <palette>` | the palette new tabs open with |
109
133
  | `ttheme pin` / `unpin` | a palette for this directory — `cd` in repaints, `cd` out restores |
110
134
  | `ttheme browse` | pick palettes from the catalog |
111
- | `ttheme new <name> --from <palette>` | make a palette of your own; `edit`, `check`, `share`, `submit` follow |
135
+ | `ttheme market add <owner>` | add someone's market — `ttheme market` lists yours; `search`, `remove` too |
136
+ | `ttheme new <name> --from <palette>` | make a palette of your own; `edit`, `check`, `share` follow |
112
137
  | `ttheme on` / `off` | wear the default again / give the terminal its own colors back |
113
138
  | `ttheme config` | settings in `$EDITOR` |
114
139
 
115
- `ttheme help` lists everything. Preview's keys, directory pins, rotating new
140
+ `ttheme help` shows the three to start with and the rest by task; `ttheme help
141
+ all` lists every command. Preview's keys, directory pins, rotating new
116
142
  tabs and every setting are in [docs/usage.md](docs/usage.md).
117
143
 
118
144
  ## Terminal support
@@ -139,9 +165,9 @@ window. See [docs/backgrounds.md](docs/backgrounds.md).
139
165
  ## Contributing
140
166
 
141
167
  A palette is one TOML file of color values and post numbers — never images.
142
- `ttheme submit` sends one of yours without a checkout;
143
- [CONTRIBUTING.md](CONTRIBUTING.md) has the rules, the file format and the
144
- checks it must pass.
168
+ Your own go in your own market, with no review; the official catalog takes pull
169
+ requests, and [CONTRIBUTING.md](CONTRIBUTING.md) has its rules, the file format
170
+ and the checks a palette must pass.
145
171
 
146
172
  ## Credits
147
173