circagraph
Sign inSign up

openchronology/timeline-app on GitHub

The OpenChronology repository on GitHub, mirrored by och-import-github: issues and pull requests as durations (ongoing while open), what happened to them as moments, plus releases, milestones, commits and branches. The Branches view shows the most recently active branches each in a track of its own.

Source: https://github.com/openchronology/timeline-app

3,131 moments · 2026-10-05 CE 20:21:49 UTC – 2026-11-16 CE 12:10:45 UTC · by @athan · @athan

#382 Light and dark themes across the whole site and the editor

–

  • github
  • github/openchronology/timeline-app
  • github/openchronology/timeline-app#382
  • issue
  • state:closed

The landing and audience pages (#379, #380) follow the system's light or dark setting with a dark palette of their own (`platform/app/platform.css`, the `prefers-color-scheme: dark` block after the landing styles: `--paper #1a2720`, `--ink #e3ebe0`, `--green #9fd0a8`, …). The rest of the site is light only. Port that theme to the whole site. **Scope.** - Every platform page: the timeline browser (`/explore` and `/` when it is the browser), profiles, timeline pages and the reader, moment and duration pages, sign-in and sign-up, account, administration and moderation, help and docs, plugins, download, legal pages, error pages, dialogs, toasts, menus, forms and focus states. - The editor and viewer chrome in `src/` (toolbar, panels, dialogs, the details panel and reader, menus), so the hosted editor, the offline HTML edition and the desktop app match. - The timeline stage's default drawing (axis, ticks, labels, markers, bands, arcs, halos over backgrounds) in dark, while a timeline whose **Timeline theme** plugin sets its own colours keeps them in both modes. **Behaviour.** Follow `prefers-color-scheme` by default, with a choice of **System / Light / Dark** (in the account menu and the footer, remembered in the browser, applied before first paint so there's no flash; it works signed out and without JavaScript falling back to the system setting). Embeds follow the embedding page's preference and accept a `theme=light|dark` parameter. **Quality.** One set of colour tokens for both modes (no scattered hard-coded colours), WCAG AA contrast for text and controls in both, images and band backgrounds unchanged, charts and printed pages readable (print stays light). Tests: both schemes across the main pages (screenshots and contrast checks in the browser tests), the toggle, no flash on load, and a themed timeline keeping its colours. https://github.com/openchronology/timeline-app/issues/382

Related

Open #382 Light and dark themes across the whole site and the editor in the timeline

#382 Light and dark themes across the whole site and the…