v0.0.153
-
Keep mermaid node labels readable on colored boxes in dark mode: the diagram renderer labels every node with the theme foreground even when the diagram sets its own fill via
classDeforstyle, and those literal fills - usually light pastels - do not follow the theme, so dark mode painted white text over light boxes. The rendered SVG is produced once server-side and shared by both modes, sorenderDiagramnow bakes a literal contrast color into the labels of nodes whose shape carries a literal fill, chosen from the fill's perceived brightness: black on light fills, white on dark ones, correct in both modes at once. Nodes without a custom fill keep the theme-variable color so they continue to follow theme toggles, and aclassDefthat setscolor:explicitly is left untouched -
Fall back generated site icons to
icon.png: the default favicon constant still pointed at the legacyfavicon.icowhile generated sites standardize onicon.pngunder the icon file convention, so a project with no rooticon.pngand noconfig.jsoniconresolved its fallback to the old format. The fallback now resolves toicon.pnglike every other icon path -
Fix the browser-chrome color flipping back to the light
primaryon every route change: 0.0.151 served thetheme-colormeta from a static viewport export, and on each soft navigation Next re-asserts that React-owned tag with its baked-in light value, which then sticks because Cherry's post-hydration sync only re-runs on theme changes. The tag is script-owned again, as in the pre-release builds: the pre-paint script emits it viadocument.writewith the resolved mode'sprimaryalready in it, so the right color is in place from the first paint, hydration has nothing to reconcile (a server-rendered tag corrected pre-paint is answered by React 19 hydration with a stale duplicate, which is what 0.0.150 shipped), and navigation never touches it. Cherry's$themeColor="primary"sync keeps it current across theme toggles, on the sameprimarytoken the script resolves. The Theme page's Browser chrome note in the generated starter documentation describes the restored behavior again -
Update generated app dependency tsx to ^4.23.6