← Back to all sparks
V

varnish

ANALYTICS
Velocity0.0

Front-end for The Carpentries Lesson Infrastructure

The Carpentries' lesson skin, rebuilt on Bootstrap 5 with dark mode and a wider reach.

r-packagecarpentriescss-themingdark-modebootstrap
Current state
varnish supplies the HTML and CSS styling for Carpentries lessons. The defining release in this window is 1.0.3, which moved the theme to Bootstrap 5.3.2, implemented dark mode, made analytics configurable and taught the all-in-one search to distinguish learner from instructor views. Since then the work has been consolidation: dark-mode bugs, Sass variables for fonts, per-carpentry favicons, and fonts that render Ukrainian lessons.
Where it's heading
The package is finishing a platform upgrade rather than starting something new — the Bootstrap 5 move created the dark-mode and CSS follow-ups that fill 1.0.4 and 1.0.5. It advances in lockstep with pegboard, the lesson parser: tabset panel support landed in both within a minute of each other, and the caution callout arrived the same way months later, so a new lesson element requires the pair to ship together. Contributors are numerous and largely first-time, so features track who shows up.
Prediction
Expect further internationalisation and theming work — font and locale support is the one thread still opening rather than closing — most likely paired with a matching pegboard release if it touches lesson syntax.

Recent moves

  1. 1y ago

    Ukrainian font support, per-carpentry favicons, caution callout

    Fonts now cover Ukrainian lessons, favicons vary by carpentry, and default and mono fonts move into Sass variables loaded early. The caution callout added here is the styling half of the same element pegboard accepted as a valid div a minute earlier — the clearest instance of the two packages moving as one.

    View source ↗
  2. 1y ago

    Dark-mode figcaption bug and heading CSS fixes

    A figcaption rendering bug in dark mode is fixed, along with CSS for overview headings and resources sections. Pure cleanup after the theme overhaul two releases earlier.

    View source ↗
  3. 2y ago

    Bootstrap 5.3.2 upgrade brings dark mode and configurable analytics

    The largest release in this window: the theme moves to Bootstrap 5.3.2, dark mode is implemented, analytics become configurable, and all-in-one search learns the learner and instructor distinction. Every subsequent release in the window is repair or refinement of what this one changed.

    View source ↗
  4. 2y ago

    Tabset panels styled; search redirected to the all-in-one page

    Tabs and tabset panels gain styling here, one minute after pegboard added parsing support for them — a coordinated pair release rather than two independent decisions. Caption styling, citation file naming from metadata and a search redirect round it out.

    View source ↗