@hagicode/hagilight-mermaid 0.20.1-dev.200.1.6beb099 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/theme.js +3 -0
  2. package/package.json +1 -1
package/dist/theme.js CHANGED
@@ -226,6 +226,9 @@ export function getMermaidThemeConfig(mode, preset = 'default', options = {}) {
226
226
  // Keep this top-level setting for diagram types that read it here. The
227
227
  // flowchart renderer reads the explicit setting in the flowchart block.
228
228
  useMaxWidth: true,
229
+ // Railroad terminals read their fill from secondBkg before secondaryColor. The base theme sets secondBkg to a
230
+ // fixed light yellow, which stayed light in dark mode, so the terminal fill is set here from the same core role.
231
+ railroad: { terminalFill: semantic.coreNode.fill },
229
232
  };
230
233
  cache.set(cacheKey, config);
231
234
  return config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hagicode/hagilight-mermaid",
3
- "version": "0.20.1-dev.200.1.6beb099",
3
+ "version": "0.21.0",
4
4
  "type": "module",
5
5
  "description": "Framework-agnostic Mermaid rendering with the HagiCode look: themes, presets, entrance reveal and path tracing for Astro, Starlight and Docusaurus sites",
6
6
  "repository": {