-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
Changing graph nodes text color #487
Comments
Also doesn't work for me... |
Please create a sample in https://mermaidjs.github.io/mermaid-live-editor/ to reproduce the bug. Thanks. |
This is no bug I think, according to documentation there is no "color" setting for the text color of the node. |
This feature request is a deal breaker for me, I'm including mermaid in a dark background website and not being able to change the color of the fonts means i can't use mermaid at all. |
I too would really like to have this feature. I can't use dark colors for my nodes so the diversity of colors I can use is significantly reduced. |
I used HTML tag for font color of node. For example,
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
It is still an issue... |
Please can we have something more powerful for inline styles? Similar to PlantUML. Stylesheets don't really cut it - specially for services like Gitlab! |
Text color style would definitively be a great feature ! |
At least for me, the problem is for websites that support mermaid within itself, like GitLab. Users cannot edit mermaid settings or apply any CSS. |
It also doesn’t work for the CLI, which is my main use of mermaid. It seems like a terrible idea to have a CLI for svg generation distributed in a interpreted language, |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you are still interested in it, and it is still relevant, you can comment or remove the label to revive it. |
I'm interested. |
This issue has been been automatically closed due to a lack of activity. This is done to maintain a clean list of issues that the community is interested in developing. |
Hmm, the bots are rising. We have a rebellion on our hands. |
I want this feature... I hate that there is such a lack of dynamic manipulation in this package. Compare this to Go.js and it's almost day and night. Not sure why we can't just reference a node like an array element |
This seems like a such a basic thing to have :/ |
@jpetro416 @tastevens We're always welcoming new contributors. If you'd like to help out, feel free to check our "collaborators wanted" issue, read our contribution guidelines, and join us in slack! |
Sorry if I didn't understand the question but, for me, color in a classDef is working... |
I'm going to work on a PR for this as it can improve the visualisation when |
It would be nice to have other CSS text attributes available too (i.e., |
Hi @sappjw, I agree but would like to leave this issue to setting the text color only. Feel free to open another issue for the settings you consider most preferable. |
The SVG attribute for text color is also |
…_color_from_style #487 Set text color for flowchart nodes according to style definitions
Hi! Thanks for this useful library.
I'd like to be able to change the text color in my graphs. I naively trie:
But it doesn't work unfortunately.
I tried to look for similar issues but not sure there are. Those looks similar but no example were provided so i'm not sure it is the same need:
I really need this feature so i would PR the project if anyone point me out where I can change it since the codebase is huge and I did not found were the styling things takes place.
The text was updated successfully, but these errors were encountered: