The first piece of the new look of the web app.
- The Sonda theme takes the new palette (a deep blue ground, a lighter tone
for panels instead of shadows, teal for the action). Every theme gets a
--friend colour for what comes from another Sonda server, checked for
contrast on the page and on a panel and for a hue that is not the primary
one.
- Figtree is the only font; Fraunces is gone, also from the full-screen
player.
- The menu is words and a dot: the dot of the open page is the colour of this
server, and the dot of Friends is always the colour of what comes from
elsewhere. There is nothing to fold, so the fold button and its setting are
removed.
- The shell is flat: the menu has a line on its right, the page has no panel
around it, the player is a band under everything.
- A missing cover is the rings of Sonda on a colour taken from the album, the
same one every time; a friend's album gets another colour than this
server's album with the same id.
- The switch is a pill with a round knob and the outline button is a line.
- Vite, React 19 and TypeScript in web/, Vitest with jsdom and Testing Library
- Tailwind v4 and shadcn/ui, with Figtree and Fraunces bundled locally
- npm run gen:api builds src/api/schema.d.ts from the OpenAPI spec
- dev server proxies /api to sondad (SONDA_URL, default 127.0.0.1:8080)
- mockFetch test helper that refuses unmatched requests