#450 Over backgrounds, the timeline is drawn crisply instead of with a glow
–
- github
- github/openchronology/timeline-app
- github/openchronology/timeline-app#450
- pull request
- state:merged
Over a background image or color (`.over-backgrounds`), the timeline used to rely on soft white glows to stay readable: - labels on a frosted, see-through box with blurred text; - stacked blur filters on markers and stems. Over busy images the glows looked smudged, and the axis and duration bands were hard to see. Now nothing is blurred: - **Labels:** sit on solid cards in the halo color, with a small shadow. - **Ruler labels:** an outline behind their letters instead of a card, because they fade in and out. - **Axis:** 3px, in the timeline's measure color (or the stage's strongest text color), edged in the halo color, with a soft shadow. The ticks are 2px and edged the same way. - **Markers:** keep their ring, with a thin dark edge and a drop shadow. Stems are 2px and edged. - **Duration bands:** solid instead of 70% opacity, with bold titles, a dark edge and a shadow. A presumptive band's dashes (#325) sit just outside it, clear of its title. - **Relationship arcs:** 2px in the measure color, at full opacity, on their halo-color casing. Other changes: - Everything still follows a timeline's own theme colors (halo, measure, marker). - `--stage-halo-backing` and `--timeline-halo-backing` are no longer used, so they're removed. - No more `filter` on markers. Like before, no layer-wide filter (#232). - Plain timelines, with nothing behind them, look as before. Tests: - `duration-backgrounds-browser.mjs` checks the new look: solid white label cards, no text-shadow and no backdrop-filter on labels, outlined ruler labels, a 3px edged axis, and no filters on markers or layers. - `timeline-theme-browser.mjs` checks that labels sit on cards of a timeline's chosen halo color. - `theme-contrast.test.mjs` adds the label text against its card. - Locally 30 of 30 browser tests pass. In the unit tests, the only failure is the folder-contents check, which counted the `node_modules` folder mounted into my local test container. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/pull/450
Related
Open #450 Over backgrounds, the timeline is drawn crisply instead of with a glow in the timeline