Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subgraph background is black in rendered flowchart PNG via CLI #121

Closed
trumbitta opened this issue Feb 18, 2015 · 5 comments
Closed

subgraph background is black in rendered flowchart PNG via CLI #121

trumbitta opened this issue Feb 18, 2015 · 5 comments

Comments

@trumbitta
Copy link

subgraph background is black in rendered flowchart PNG via CLI, thus its title can't be seen and arrows almost get lost (dark grey on black)

Is there a way to style the subgraph?

@knsv
Copy link
Collaborator

knsv commented Feb 18, 2015

Yes there is an option, (--css), to add a css file to the graph rendering. The class that styles the subgraph has is .cluser. An example below:

.cluster { fill:#f5f5f5;}

There should probably be a better default value then black ... :)

@trumbitta
Copy link
Author

Nice, thank you!

I was using 0.3.3, and now after having updated to 0.3.5 the option is there :D

@knsv
Copy link
Collaborator

knsv commented Feb 18, 2015

You are welcome! Closing this one.Let me know if you run into anything else.

@mistic100
Copy link

Black should be definitely changed by something else. Currently it looks like a bug.

Is there a list of the classes that can be used ?

@knsv
Copy link
Collaborator

knsv commented May 6, 2015

You can look at the css file sin the list folder. Maybe the cli should use mermaid.css per default if no css is set.

/Knut

Knut Sveidqvist
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

On Wednesday 6 May 2015 at 14:10, Damien Sorel wrote:

Black should be definitely changed by something else. Currently it looks like a bug.
Is there a list of the classes that can be used ?


Reply to this email directly or view it on GitHub (#121 (comment)).

mgenereu pushed a commit to mgenereu/mermaid that referenced this issue Jun 25, 2022
Bump node.js from 13.6 to 14.16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants