Commit Graph

2 Commits

Author SHA1 Message Date
catarrh 32509b102c Theme-adaptive favicon: transparent PNG + prefers-color-scheme SVG
- sim.png regenerated from sim.svg with true transparency (was flattened
  onto opaque white; favicon showed a white box)
- new favicon.svg: same glyph, fill moved to presentation attribute +
  embedded @media (prefers-color-scheme: dark) -> white glyph on dark
  browser themes (interface sim.svg untouched, keeps dark:invert)
- index.html: dual icon links (svg for modern browsers, png Safari fallback)
- sw.js: precache favicon.svg, cache bump otaman-v11 -> otaman-v12
2026-08-22 11:17:00 +03:00
catarrh d2c292e5b8 Merge pysim-otaman-server into otaman (monorepo, v1.7.0)
- Move PWA into frontend/; server package at pysim_otaman_server/
- Server now serves the PWA (same origin -> no CORS/PNA): static file handler
  + --web-dir flag + injects window.PYSIM_EMBEDDED marker into index.html
- Frontend defaults to relative API base when embedded (pysimBase = '')
- Version 1.7.0 aligned: server.py VERSION, pyproject.toml, PWA header
- SW cache bump otaman-v7 -> otaman-v8
- Docs: combined README + docs/api.md endpoint reference; update links
- Fix stale package.json repository URL
2026-08-14 15:48:38 +03:00