Commit graph sonda/web/package-lock.json
Author SHA1 Message Date
tgiachi
945aaf1a05 feat(web): new look, part 1: palette, Figtree, menu, covers and controls
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.
2026-11-13 17:11:59 +01:00
tgiachi
f1da4b5aaf feat(web): scaffold the React app with Vite, Tailwind and shadcn/ui
- 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
2026-11-12 11:15:50 +01:00