Closed JKRhb closed 3 months ago
Ah this is because @config
can only set diagram local config but not global theme config for now. You will have to call pintora.setConfig
JS API to alter global theme.
But I will look into it, it's reasonable that one should be able to alter diagram local theme through @config
directive.
Fixed in v0.7.4
Hi there :)
When using the
themeConfig
in asequenceDiagram
, it seems as if thenoteBackground
color is not adjustable. Instead, it is always rendered yellow. You can find a minimal example for reproducing the issue below.Source code
Rendered sequence diagram