mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-12-09 05:54:07 +01:00
The `scaleLabelColor` variable in `theme-forest` and `theme-neutral` was set to `"calculated"`, as it defaults to `this.labelTextColor` **before** `this.labelTextColor` was set. Moving the `this.labelTextColor` assignments before `scaleLabelColor` is calculated fixes this. Fixes mindmap and timeline invalid CSS in theme forest and neutral.