Replies: 1 comment 1 reply
-
Can you give the URL of a page where this is happening, and ideally also a link to the repo from which that page is generated? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was trying to figure out why fontawesome icons in mermaid diagrams are looking different in on https://mermaid.live/ compared to a site rendered with this theme and sphinxcontrib-mermaid
I've pinned it down to this line:
pydata-sphinx-theme/webpack.config.js
Lines 75 to 77 in 3e74810
Which adds
<script src="../_static/scripts/fontawesome.js?digest=8878045cc6db502f8baf"></script>
to the page. If I remove that from the HTML, it's just ordinary icons and renders well. I spent a bit of time trying various CSS to change the SVG icons to white, but couldn't figure it out :(The icons are getting converted to SVG with
path fill="currentColor"
and I can't figure out how to change that to match text in the diagram, I'd prefer to simply disable this conversion to match appearance on https://mermaid.liveBeta Was this translation helpful? Give feedback.
All reactions