quartz-theme-typora icon indicating copy to clipboard operation
quartz-theme-typora copied to clipboard

Smoky theme: in mermaid diagrams end of arrowhead doesn't show

Open balanyo opened this issue 6 years ago • 2 comments

For example, in mermaid: graph LR; A[Hello!] --> B{This} B --> C(is a) C --> D((Flowchart!))

In the smoky theme the end of the arrows don't show. image

balanyo avatar Nov 18 '19 14:11 balanyo

Thanks for reporting, and sorry for my late reply.

I have not been able to reproduce this error. Although I haven't yet added support for Mermaid diagrams, my theme uses some css files for dark themes from the Night theme, which I believe comes pre-installed. This should be in "themes/night/mermaid.dark.css"

Do you have the Night theme installed? If not, can you try installing it from here http://theme.typora.io/theme/Night/ and let me know if that resolves the problem?

troennes avatar Dec 09 '19 15:12 troennes

Hm, just tried with the following themes:

  • Night, as suggested => visible, whitish
  • Xydark => visible, whitish
  • Vue dark => barely visible, very similar color to background
  • Quartz smoky => visible, whitish
  • Minimalism dark => barely visible, very similar color to background

This isn't a bug I think, it's just that some dark themes don't take care of coloring the arrowhead differently than their white counterparts. In mermaid itself, I can set the color of the arrow's line with "stroke" but I am not sure how to color the arrowhead (I tried a few things, e.g. "arrowHead", but nothing I tried works).

Could you let me know how to set the color of the arrowhead in the CSS of the themes?

Thanks!

Balazs

On Mon, Dec 9, 2019 at 4:10 PM troennes [email protected] wrote:

Thanks for reporting, and sorry for my late reply.

I have not been able to reproduce this error. Although I haven't yet added support for Mermaid diagrams, my theme uses some css files for dark themes from the Night theme, which I believe comes pre-installed. This should be in "themes/night/mermaid.dark.css"

Do you have the Night theme installed? If not, can you try installing it from here http://theme.typora.io/theme/Night/ and let me know if that resolves the problem?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/troennes/quartz-theme-typora/issues/3?email_source=notifications&email_token=ACPERH3AR67KH5WDGBNBJQTQXZNXHA5CNFSM4JOUFRHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGJQJSQ#issuecomment-563283146, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACPERH7HMKC34SJT3PKEJDDQXZNXHANCNFSM4JOUFRHA .

balanyo avatar Dec 19 '19 16:12 balanyo