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

Can't change the lineColor in a timeline diagram #4263

Open
blackmad opened this issue Mar 31, 2023 · 1 comment
Open

Can't change the lineColor in a timeline diagram #4263

blackmad opened this issue Mar 31, 2023 · 1 comment
Labels

Comments

@blackmad
Copy link

Description

I'm struggling to figure out if it's at all possible to change the line color of timeline diagrams.

I've read the docs for timeline https://mermaid.js.org/syntax/timeline.html which doesn't talk about line color, and also https://mermaid.js.org/config/theming.html#theme-variables-reference-table

Is the line color configurable? how can I figure out what variable controls it?

I'm trying lineColor and actorLineColor, but neither seems to do it.

Steps to reproduce

https://mermaid.live/edit#pako:eNplUcFqwzAM_RWhEXzJIZSdct3YVmhhUNgpFyWWM1PHGo4zKCH_PqVjXbvJF_u9pydLmrETy1gjaBTF7KPPNcxggvQ7_uRgajCW26k3JZj8zgOvSEsjG_hB3ih5agOPSs1NhJswwUd-kCBpTbxzrtIw5T8ZdVnS7kZbVavaXKTLeori8s5-4NX91yv7HBhe_KheJxAHB-k8Bdiz9QSvgbKTNFzX3lTVBmrQwke22_iHulfqiTpuRY56fRbpg5bDEgdOA3mrkzt33ODtJBrUUSzlFbUiDVp2NIXcYBMXdaEpy-EUO6xzmrjE6cNS5kdPfaIBa0dhVFQ_r_3svxd13tfyBb35gaY(

Screenshots

No response

Code Sample

%%{init: { 'logLevel': 'debug', 'theme': 'base' , 'themeVariables': {
              'lineColor': '#ff0000',
              'actorLineColor': '#00ff00'
       } } }%%
       timeline
        title History of Social Media Platform
          2002 : LinkedIn
          2004 : Facebook : Google


### Setup

- Mermaid version: 10.0.2
- Browser and Version: Chrome

### Additional Context

_No response_
@blackmad blackmad added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Mar 31, 2023
@jgreywolf jgreywolf added roadmap items to add to roadmap for auto workflow and removed roadmap items to add to roadmap for auto workflow labels Nov 16, 2023
@jgreywolf
Copy link
Contributor

@blackmad No, you are not able to change the line color in timeline diagram at this time. We will consider it for a future version

@jgreywolf jgreywolf added Type: Enhancement New feature or request and removed Type: Bug / Error Something isn't working or is incorrect Status: Triage Needs to be verified, categorized, etc labels Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants