Add a Timeline theme plugin for the timeline's colors and fonts
- github
- github/openchronology/timeline-app
- commit
- main
- github/athanclark
Timeline settings (#223) gain two kinds, a color (#rrggbb) and a font family list (installed fonts only, as for heading fonts), and manifests a `theme` that maps parts of the timeline's look to them: label color and font, measure color and font, halo, marker, duration and background colors. The last enabled plugin to set a part wins it. The new official Timeline theme plugin sets all eight from the plugin list, with a color picker and "Use default" for colors and suggested fonts. The stage gets them as --timeline-* properties (with shades worked out in timeline-theme.ts), which the stylesheet reads with the usual look as fallback. Colors chosen on events still win, and the halo shows over a background color as over an image. Fixes #230. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/commit/3e4e325e2e69b073e24538f10ac124de7de37c3d
Related
Open Add a Timeline theme plugin for the timeline's colors and fonts in the timeline