The Northwestern palette and fonts now come from @nu-appdev/northwestern-tokens. The theme kept its own copy of the brand colors, semantic colors and font stacks in variables.css, and its own @font-face rules in typography.css. Both now import the tokens package, a new runtime dependency that installs with the theme. The --nu-* names and values are unchanged, and the tokens load into the same northwestern cascade layer, so styles that reference or override them keep working. The theme’s interface tokens, such as surfaces, links, focus rings and dark mode, stay in variables.css. The tokens package also defines --nu-border-radius (0); the theme already squares every corner.
Fonts load from Department Templates 4.0 as .woff2. Akkurat Pro and most Poppins weights still loaded the .woff files from the retired common.northwestern.edu/v8 template. The dept 4.0 files are the same font builds (Akkurat Pro 1.003, Poppins 4.004) with identical metrics, in a smaller format, so text renders the same. Two edge cases differ:
Poppins at weight 100 or 200 now renders Poppins Thin. v8 served ExtraLight at weight 100. The theme uses neither weight.
dept 4.0’s Poppins files cover Latin-1 and common punctuation only. Characters outside it, such as ł or ő, fall back to Akkurat Pro. H3 to H6 already used the dept 4.0 Poppins file and behaved this way; H2 and the site title now do too.
Mermaid 12 support. Diagrams keep Mermaid’s flat classic look, the dagre layout and Mermaid 11 flowchart sizing, so existing diagrams render with the same layout and size. Set look, layout or flowchart in mermaidConfig to use Mermaid 12’s neo look and ELK layout instead. The mermaid peer range stays >=11.0.0.
Changed
The diagram palette uses Northwestern tokens throughout. Text on every filled shape now meets WCAG AA contrast in both modes, and dark-mode edges are brighter. Gantt, journey, kanban, timeline, mindmap, treemap, radar, packet, quadrant, architecture and C4 diagrams now use the brand palette instead of Mermaid’s defaults.
satori moves to ^0.63.2, which fixes GHSA-wx4j-mvgx-mqwp.
Fixed
On Mermaid 12, diagrams that the theme re-rendered fell back to Mermaid’s pastel redux-color theme, often with unreadable labels.
In dark mode, astro-mermaid’s first render could replace the theme’s render and leave a diagram in light-mode colors.
Unreadable text on Gantt task bars, journey sections, class diagram edge labels, and C4 and architecture labels, plus white backgrounds on xy, quadrant, packet and radar charts in dark mode.