-
Notifications
You must be signed in to change notification settings - Fork 62
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
Font Awesome Icons are not working #38
Comments
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗 |
+1 for this. It still fails when using 6.0.0beta2 (latest) min.css. Additionally, there is something rendering for the RTD CI on my PR, but it doesn't look right. I noticed that different themes of the sphinx-design docs rendered differently (with respect 2 the - :fab:`git;2em` ``fontawesome/brands/git``
- :fab:`git-alt;2em` ``fontawesome/brands/git-alt``
- :fab:`git-square;2em` ``fontawesome/brands/git-square``
- :fab:`github;2em` ``fontawesome/brands/github``
- :fab:`github-alt;2em` ``fontawesome/brands/github-alt``
- :fab:`github-square;2em` ``fontawesome/brands/github-square``
- :fab:`gitlab;2em` ``fontawesome/brands/gitlab``
- :fab:`gitkraken;2em` ``fontawesome/brands/gitkraken``
- :fab:`bitbucket;2em` ``fontawesome/brands/bitbucket`` |
Yeh cheers I'll try to look into it soonish. Really that's why I prefer the octicon icons and soon #41, since here the svg's are directly packaged and so it's easier to ensure consistency |
The problem here might be that sphinx-design isn't adding the html_css_files for any theme other than alabaster. :) Lines 17 to 20 in 2cdadca
|
That looks like the one cheers! 😅 |
Ah, then there's possibly a more foundational issue here. :) |
might be a breaking change in the FA CSS. I added the .fa, .fab, .fad, .fal, .far, .fas {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
display: inline-block;
font-style: normal;
font-variant: normal;
text-rendering: auto;
line-height: 1;
font-family: 'FontAwesome'; /* this property was missing */
} An icon {fas}`spinner;sd-bg-primary sd-bg-text-primary`, some more text. |
Alternatively, adding a |
@pradyunsg I found this comment sphinx-design/sphinx_design/icons.py Lines 27 to 29 in 43bb2cc
I'm not sure if there is a newer implication since the latest FA release is v6.1.1. Nonetheless, I think |
Describe the problem
The example showing how to use github icons is not working locally or on the doc site https://sphinx-design.readthedocs.io/en/furo-theme/badges_buttons.html?highlight=icons#inline-icons for the furo theme.
Link to your repository or website
No response
Steps to reproduce
https://sphinx-design.readthedocs.io/en/furo-theme/badges_buttons.html?highlight=icons#inline-icons
The text was updated successfully, but these errors were encountered: