README: template version per consumer, every one has the theme menu
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8774ef62ce
commit
f4d7e3b1ab
1 file changed
+16
-14
@@ -100,8 +100,8 @@ inside the UI. Any other method gets 405. `ApplyAppearance` ignores
|
|||||||
unknown cookie values, so whatever the consumer set before stays the
|
unknown cookie values, so whatever the consumer set before stays the
|
||||||
default. A consumer whose middleware wants a CSRF token on every POST
|
default. A consumer whose middleware wants a CSRF token on every POST
|
||||||
puts the hidden field into `AppearanceFormHTML`, which is rendered
|
puts the hidden field into `AppearanceFormHTML`, which is rendered
|
||||||
inside the menu's form. A consumer with its own switch (e.g. `yareco`'s)
|
inside the menu's form. A consumer with its own switch can keep it and
|
||||||
can keep it and just set `Theme`/`Palette`.
|
just set `Theme`/`Palette` (none does today).
|
||||||
|
|
||||||
**Adding a palette:** a `:root[data-palette="..."]` block in
|
**Adding a palette:** a `:root[data-palette="..."]` block in
|
||||||
`static/style.css`, a constant and an entry in `Palettes` in
|
`static/style.css`, a constant and an entry in `Palettes` in
|
||||||
@@ -124,19 +124,21 @@ module).
|
|||||||
|
|
||||||
## Migration status
|
## Migration status
|
||||||
|
|
||||||
Eight projects use it, all on `v0.2.3` (2026-10-29). `yareco` also uses
|
Eight projects use it (as of 2026-10-30), all with the built-in theme
|
||||||
the built-in theme menu; `yakwui` still has its own switch.
|
menu. A project moves to a newer tag when it needs what that tag adds:
|
||||||
|
`v0.2.4` brought `AppearanceFormHTML` (yamase-web's CSRF token),
|
||||||
|
`v0.2.5` the `no-sidebar` rule (yaiam-authd's login pages).
|
||||||
|
|
||||||
| Project | Meta-repo | Status |
|
| Project | Meta-repo | Version | Status |
|
||||||
|---|---|---|
|
|---|---|---|---|
|
||||||
| `yasta` | yetano | migrated (pilot) |
|
| `yasta` | yetano | `v0.2.3` | migrated (pilot) |
|
||||||
| `yasl` | yetano | migrated |
|
| `yasl` | yetano | `v0.2.3` | migrated |
|
||||||
| `yaiam` | yetano | migrated |
|
| `yaiam` | yetano | `v0.2.5` | migrated (`yaiam-web` and the `yaiam-authd` login pages) |
|
||||||
| `yakwui` | yak | migrated |
|
| `yakwui` | yak | `v0.2.3` | migrated |
|
||||||
| `yamase-web` | yamase | migrated |
|
| `yamase-web` | yamase | `v0.2.4` | migrated |
|
||||||
| `yamocir` | yetano | migrated |
|
| `yamocir` | yetano | `v0.2.3` | migrated |
|
||||||
| `yet` (`yet serve`) | yetano | built on it (a server-rendered shell whose content area a small JS app fills) |
|
| `yet` (`yet serve`) | yetano | `v0.2.3` | built on it (a server-rendered shell whose content area a small JS app fills) |
|
||||||
| `yareco` | yetano | built on it (reference consumer for themes) |
|
| `yareco` | yetano | `v0.2.3` | built on it (reference consumer for themes) |
|
||||||
|
|
||||||
`yaais` was evaluated too and deliberately NOT migrated: it's a
|
`yaais` was evaluated too and deliberately NOT migrated: it's a
|
||||||
client-rendered SPA (static `index.html` + vanilla JS), not a
|
client-rendered SPA (static `index.html` + vanilla JS), not a
|
||||||
|
|||||||
Reference in new issue
Block a user