patches: add v1.6.0 webui dark-theme patch matching kanrisha

Add patches/v1.6.0/0002-webui-dark-theme.patch, a cosmetic patch that
re-skins the de-branded admin UI to match the kanrisha web app's dark
theme — near-black base-900 page, base-800 panels/sidebar, indigo
(#6366f1) primary and blue (#3b82f6) accent, lifted status colors, and
self-hosted Inter + JetBrains Mono.

The retheme lives entirely in tailwind-config.js (token remap) and
theme.css (a utility-override layer), plus bundled variable woff2
fonts, so versitygw's HTML is left untouched apart from the login
page's light gradient becoming a solid dark surface.

Verified: the full series (0001 + 0002) replays cleanly from the bare
v1.6.0 tag, and the login, dashboard, and modal surfaces render dark
in a browser. Applied to v1.6.0 only; README updated.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
57_WolveandClaude Opus 4.8 committed 2026-06-29 10:40:46 -05:00
1 parent db035ac412
commit e914168362
2 files changed
+3895 -5

No files matched your search

+27 -5
View File
@@ -39,7 +39,8 @@ s3-gateway/
│ └── run.sh # local end-to-end: clone + patch + build one tag
├── patches/
│ ├── v1.6.0/
│ │ └── 0001-webui-debrand.patch
│ │ ├── 0001-webui-debrand.patch
│ │ └── 0002-webui-dark-theme.patch
│ └── v1.5.0/
│ └── 0001-webui-debrand.patch
├── .gitea/workflows/build.yml
@@ -77,10 +78,10 @@ tag comes from the `patches:` field in `ci/support-matrix.yaml`
Currently maintained:
| Upstream tag | Patch set | Contents |
|--------------|---------------|-----------------------------------|
| `v1.6.0` | `v1.6.0/` | `0001-webui-debrand.patch` |
| `v1.5.0` | `v1.5.0/` | `0001-webui-debrand.patch` |
| Upstream tag | Patch set | Contents |
|--------------|---------------|-----------------------------------------------------------|
| `v1.6.0` | `v1.6.0/` | `0001-webui-debrand.patch`, `0002-webui-dark-theme.patch` |
| `v1.5.0` | `v1.5.0/` | `0001-webui-debrand.patch` |
### What the de-brand patch does
@@ -98,6 +99,27 @@ Apache-2.0; the de-brand strips the visible Versity *trademarks* (logos,
wordmarks, and the login footer) while preserving the *copyright* notice
in the source headers.
### What the dark-theme patch does
`0002-webui-dark-theme.patch` re-skins the admin UI to match the
**kanrisha** web app — a near-black palette with indigo/blue accents —
without touching the page markup. It works entirely through the two
shared asset files plus bundled fonts:
- `tailwind-config.js` — remaps the named color tokens (`surface`,
`charcoal`, `primary`, `accent`) onto the dark palette and switches
the sans/mono fonts to Inter / JetBrains Mono.
- `theme.css` — sets the dark body, restyles the bespoke components
(sidebar active state, dropdowns, toggles, file rows, login) in
indigo, and adds an override layer that flips the built-in Tailwind
white/gray/status utilities the markup uses.
- `fonts.css` + `assets/fonts/*.woff2` — self-hosts Inter and JetBrains
Mono (variable, latin + latin-ext) so the UI stays fully offline,
matching the existing self-hosted Roboto.
The only markup change is the login page's light background gradient,
which becomes a solid dark surface. Currently applied to `v1.6.0` only.
## Adding / refreshing a version
When upstream cuts a new release you want a build of, you rebase the
File diff suppressed because it is too large. Load diff