troennes / quartz-theme-typora

A minimalistic theme for Typora markdown editor
MIT License
31 stars 5 forks source link

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

Open balanyo opened 4 years ago

balanyo commented 4 years ago

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
troennes commented 4 years ago

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?

balanyo commented 4 years ago

Hm, just tried with the following themes:

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 notifications@github.com 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 .