Skip to content

Add fa-brands class for Font Awesome brand icons - #2287

Merged
hansthen merged 1 commit into
python-visualization:mainfrom
00200200:fix/2278-fontawesome-brand-icons
Oct 8, 2026
Merged

hansthen merged 1 commit into
python-visualization:mainfrom
00200200:fix/2278-fontawesome-brand-icons

Conversation

@00200200

@00200200 00200200 commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #2278

FA6 brand icons (fa-bluetooth and friends) live in the brands webfont, but Leaflet.awesome-markers only emits fa, which FA6 treats as solid. I add fa-brands to extra_classes for those names. Solid icons like fa-heart are unchanged.

Tested with:
python -m pytest tests/test_issue_2278.py

Leaflet.awesome-markers only emits the fa class, so FA6 brand glyphs such as bluetooth never load the brands webfont.
@hansthen

hansthen commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

@00200200 Thanks for the PR. I will have a look at it.

@hansthen
hansthen merged commit dbb0764 into python-visualization:main Oct 8, 2026
15 of 16 checks passed

This branch was successfully deployed

1 active deployment
pypi — bbcbc6ef Deployed Oct 8, 2026 by 00200200 via packages #1924
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.

Font Awesome Brand Icons do not work

2 participants