Skip to content

[#21]:svarga:docs, refresh gallery (filled pie/donut + wireframe bar/histogram), nord dark theme#22

Merged
steven-varga merged 1 commit into
stagingfrom
21-gallery-refresh
Jun 18, 2026
Merged

[#21]:svarga:docs, refresh gallery (filled pie/donut + wireframe bar/histogram), nord dark theme#22
steven-varga merged 1 commit into
stagingfrom
21-gallery-refresh

Conversation

@steven-varga

Copy link
Copy Markdown
Contributor

Closes #21.

Summary

  • Dark gallery → Nord (#2E3440, fg #D8DEE9 ≈ doxy fg #d2dbde), matching the doxygen-awesome dark page background #2b303b. The old solarized_dark (#002B36 teal) clashed with it. Light stays Solarized Light (#fdf6e3, already an exact match to the light page).
  • Filled pie/donut — the gallery renders were stale pre-fill outlines (0 <polygon>); now filled <polygon> wedges.
  • Hollow (wireframe) bar + histogram added as new gallery cells (bottom row, beside the dashboard).

Reproducibility

  • Global default theme is now selectable at build time via -DPLOT_DEFAULT_THEME=<preset> (runtime default unchanged: solarized_dark).
  • Removed hardcoded plot::theme(solarized_dark) from the line/scatter/heatmap/dashboard examples so they honour the default + make gallery.
  • New make gallery target (in doxy/) rebuilds dark+light SVGs from the examples; /build-*/ scratch dirs gitignored.

Verification

  • ctest 5/5 pass; default-theme build still renders solarized_dark.
  • All 15 dark SVGs #2E3440, all 15 light SVGs #fdf6e3; pie/donut filled; wireframe bar/histogram render hollow fill="none" outlines.
  • make gallery reproduces the committed renders.

…histogram), nord dark theme

The doxy gallery SVGs were stale (pie/donut rendered as pre-fill outlines) and
the dark renders used solarized_dark (#002B36 teal) which clashed with the doxy
dark page background (#2b303b cool blue-grey). Regenerated every gallery SVG:

- dark renders now use the Nord theme (#2E3440; fg #D8DEE9 ≈ doxy fg #d2dbde),
  matching the doxygen-awesome dark page. Light stays Solarized Light (#fdf6e3,
  already an exact match to the light page).
- pie/donut now render as filled <polygon> wedges (current code).
- added hollow (wireframe) plot::bar and plot::histogram gallery cells.

To keep example sources theme-neutral, the global default theme is now
selectable at build time with -DPLOT_DEFAULT_THEME=<preset> (runtime default
unchanged: solarized_dark). Removed the hardcoded plot::theme(solarized_dark)
from the line/scatter/heatmap/dashboard examples. Added a reproducible
`make gallery` target and ignored the /build-*/ scratch dirs.
@steven-varga steven-varga merged commit c12ddd1 into staging Jun 18, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant