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
|
||||
default. A consumer whose middleware wants a CSRF token on every POST
|
||||
puts the hidden field into `AppearanceFormHTML`, which is rendered
|
||||
inside the menu's form. A consumer with its own switch (e.g. `yareco`'s)
|
||||
can keep it and just set `Theme`/`Palette`.
|
||||
inside the menu's form. A consumer with its own switch can keep it and
|
||||
just set `Theme`/`Palette` (none does today).
|
||||
|
||||
**Adding a palette:** a `:root[data-palette="..."]` block in
|
||||
`static/style.css`, a constant and an entry in `Palettes` in
|
||||
@@ -124,19 +124,21 @@ module).
|
||||
|
||||
## Migration status
|
||||
|
||||
Eight projects use it, all on `v0.2.3` (2026-10-29). `yareco` also uses
|
||||
the built-in theme menu; `yakwui` still has its own switch.
|
||||
Eight projects use it (as of 2026-10-30), all with the built-in theme
|
||||
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 |
|
||||
|---|---|---|
|
||||
| `yasta` | yetano | migrated (pilot) |
|
||||
| `yasl` | yetano | migrated |
|
||||
| `yaiam` | yetano | migrated |
|
||||
| `yakwui` | yak | migrated |
|
||||
| `yamase-web` | yamase | migrated |
|
||||
| `yamocir` | yetano | migrated |
|
||||
| `yet` (`yet serve`) | yetano | built on it (a server-rendered shell whose content area a small JS app fills) |
|
||||
| `yareco` | yetano | built on it (reference consumer for themes) |
|
||||
| Project | Meta-repo | Version | Status |
|
||||
|---|---|---|---|
|
||||
| `yasta` | yetano | `v0.2.3` | migrated (pilot) |
|
||||
| `yasl` | yetano | `v0.2.3` | migrated |
|
||||
| `yaiam` | yetano | `v0.2.5` | migrated (`yaiam-web` and the `yaiam-authd` login pages) |
|
||||
| `yakwui` | yak | `v0.2.3` | migrated |
|
||||
| `yamase-web` | yamase | `v0.2.4` | migrated |
|
||||
| `yamocir` | yetano | `v0.2.3` | migrated |
|
||||
| `yet` (`yet serve`) | yetano | `v0.2.3` | built on it (a server-rendered shell whose content area a small JS app fills) |
|
||||
| `yareco` | yetano | `v0.2.3` | built on it (reference consumer for themes) |
|
||||
|
||||
`yaais` was evaluated too and deliberately NOT migrated: it's a
|
||||
client-rendered SPA (static `index.html` + vanilla JS), not a
|
||||
|
||||
Reference in new issue
Block a user