Skip to content
This repository has been archived by the owner on Jul 22, 2023. It is now read-only.

Custom css not working #94

Closed
fulljackz opened this issue Jan 19, 2021 · 3 comments
Closed

Custom css not working #94

fulljackz opened this issue Jan 19, 2021 · 3 comments

Comments

@fulljackz
Copy link

Hi,

I already check this comment : #24 (comment)
But it does not seems to work on my side.

What should I do to be able to customize my diagrams links color for example ?

Regards,

@StevonixDev
Copy link

Hi,
I am also having the same Problem.

regards

@fulljackz
Copy link
Author

fulljackz commented Feb 26, 2021

Hi @StevonixDev I get it working with in .mermaid-config.json :

{
    "theme": "forest",
    "themeCSS": "",
    "cloneCssStyles": false,
    "sequence": {
        "mirrorActors": false,
        "useMaxWidth": false
    }
}

Then, with ~/node_modules/.bin/mmdc -o test.png -i input -c .mermaid-config.json , it generates a diagram with my custom css.

@aloisklink
Copy link
Collaborator

Development has moved to the https://github.com/mermaid-js/mermaid-cli repo, please re-open your issue there if it's still relevant.
The package has also been renamed on NPM to @mermaid-js/mermaid-cli, so you may need to run npm uninstall mermaid.cli && npm install @mermaid-js/mermaid-cli to get the latest version of this package.

@aloisklink aloisklink closed this as not planned Won't fix, can't repro, duplicate, stale Jul 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants