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

flowchart linkStyle color not work anymore ? #2951

Closed
yurenchen000 opened this issue Apr 18, 2022 · 1 comment
Closed

flowchart linkStyle color not work anymore ? #2951

yurenchen000 opened this issue Apr 18, 2022 · 1 comment
Assignees
Labels
Contributor needed Status: Approved Is ready to be worked on Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@yurenchen000
Copy link

yurenchen000 commented Apr 18, 2022

Describe the bug

https://mermaid-js.github.io/mermaid/#/flowchart?id=styling-and-classes

linkStyle 3 stroke:#ff3,stroke-width:4px,color:red;

the color property no effect.
I remember it still working last month.

mermaid 8.13.4 in hedgeDoc also no effect.
mermaid.live seems v9.0.0 current

To Reproduce

graph TD
    A -->|000| B
    B -->|111| C

    linkStyle 1 stroke:#ff3,stroke-width:4px,color:red;

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
// broken
mermaind_linkstyle_err

// old version effect (in hedgedoc, can't known js version)
mermaid_linkstyle_ok

Desktop:

  • OS: ubuntu 20.04
  • Browser: chrome 99, firefox 98
@sidharthv96 sidharthv96 transferred this issue from mermaid-js/mermaid-live-editor Apr 18, 2022
@github-actions github-actions bot added the Status: Triage Needs to be verified, categorized, etc label Apr 18, 2022
@knsv knsv added Type: Bug / Error Something isn't working or is incorrect Contributor needed Status: Approved Is ready to be worked on labels Apr 22, 2022
@knsv knsv self-assigned this May 10, 2022
@knsv
Copy link
Collaborator

knsv commented May 10, 2022

Thanks for reporting. A fix for this will be included in the 9.1.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Contributor needed Status: Approved Is ready to be worked on Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

2 participants