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

use fa6 icon names #121

Closed
wants to merge 6 commits into from
Closed

use fa6 icon names #121

wants to merge 6 commits into from

Conversation

12rambau
Copy link

@12rambau 12rambau commented Feb 4, 2023

You are using the role name to define the style of the icon, it should be aligned with the version of font awesome advertised i.e. fa6.

To avoid older documentations with hundreds of icons stopping working overnight I added a correspondence table between the fa keys as they are changing between each version. o you think it would be useful to raise a warning when using an old one?

the "fas" style is deprecated since fontawesome 6. it has been changed to fa-solid in the html output. Check your icon as names are also changing between version

note: there is a bug in the pre-commit checks that is not related to my modifications.

You are using the role name to define the style of the icon, it should be alined with the version of font awesome advertized i.e. fa6
@welcome
Copy link

welcome bot commented Feb 4, 2023

Thanks for submitting your first pull request! You are awesome! 🤗

If you haven't done so already, check out EBP's Code of Conduct and our Contributing Guide, as this will greatly help the review process.

Welcome to the EBP community! 🎉

@12rambau 12rambau marked this pull request as ready for review February 4, 2023 09:00
@12rambau 12rambau marked this pull request as draft February 4, 2023 09:32
@codecov-commenter
Copy link

codecov-commenter commented Feb 4, 2023

Codecov Report

Base: 90.02% // Head: 90.02% // No change to project coverage 👍

Coverage data is based on head (b0d773a) compared to base (6df4751).
Patch coverage: 100.00% of modified lines in pull request are covered.

❗ Current head b0d773a differs from pull request most recent head 917506a. Consider uploading reports for the commit 917506a to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #121   +/-   ##
=======================================
  Coverage   90.02%   90.02%           
=======================================
  Files          11       11           
  Lines         942      942           
=======================================
  Hits          848      848           
  Misses         94       94           
Flag Coverage Δ
pytests 90.02% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
sphinx_design/icons.py 79.64% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@12rambau 12rambau marked this pull request as ready for review February 4, 2023 10:17
@chrisjsewell
Copy link
Member

Heya, thanks but...
Since both short and long names are supported in v6 (see https://docs.fontawesome.com/web/add-icons/how-to#aliases and https://docs.fontawesome.com/web/setup/upgrade/whats-changed#full-style-names),
but long names are not supported in v5,
and the fact that I prefer the shorter names for roles (to keep things terse),
I am closing this PR for now

@12rambau 12rambau deleted the patch-1 branch May 22, 2024 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants