Mermaid diagram sanky rendered without colors

Be sure to place the %%{init: {'themeCSS':''}}%% line under sankey-beta (especifically the one under your config, delete the first one)

It should look like this.

---
config:
 sankey:
  securityLevel: 'loose'
---
sankey-beta
%%{init: {'themeCSS':''}}%%

[Your contents here]