Repository navigation
Upgrade Font Awesome to 7.3.1, adopt its Sass module API - #2750
Merged
Merged
Conversation
chalin
marked this pull request as ready for review
August 27, 2026 21:03
chalin
force-pushed
the
chalin-m24-fa7-2026-0827
branch
from
August 27, 2026 21:39
c0fd1aa to
d4607b1
Compare
Collaborator
Author
- Adds td/support/_fa.scss forwarding FA functions+variables (FA 7 members no longer leak through @import) - Namespaces the fa-content/icon-variable sites in the affected partials - Bumps $td-font-awesome-font-name to the FA 7 family name
- All 16 page-family shots: footer envelope/GitHub and blog RSS icon deltas only, verified against diffs; linux set to be refreshed from CI artifacts
- Deprecated in FA 7 and redundant: fixed-width is the new default rendering
- Same three deltas as the darwin set (footer envelope/GitHub spacing, RSS pill width), verified via crop review; breadcrumb shots unchanged
- FA 7 renders class-based glyphs with an empty content alternative, so the icon-only drawio button lost even its accidental (PUA glyph) accessible name; gives it a localized aria-label + title and marks the icon decorative - Marks the empty td-search__icon divs aria-hidden: their pseudo-element glyph was reaching the accessibility tree as private-use StaticText
- Hugo caches resources by target path across languages, so the language-invariant "js/main.js" (and the ExecuteAsTemplate paths feeding it) baked the first language's output into every locale; the new drawio aria-label made this user-visible. Scopes all five target paths by language - Falls back to English for the drawio label on locales without ui_edit_diagram (T returns empty, not a fallback) - Adds fa-width-auto to the click-to-copy button: FA 7's fixed-width default squeezes the button below its v6 content-driven size (glyph overflowed the padding box)
- Output-neutral today (only en.yaml carries ui_edit_diagram, and the en fallback bakes the same string for every language); the mechanism deserves its own PR with thorough multilingual testing, including the pre-existing search.js case and the js/main.LANG.js rename
- Deferred to a drawio-integration refresh: the unnamed-button defect predates FA 7 (the v6 name was a meaningless glyph codepoint), the fix carries a nontrivial i18n cost (a new ui_* key owed to 31 locales), and the integration itself needs a currency check against the provider's docs first. The search-icon aria-hidden fix stays
chalin
force-pushed
the
chalin-m24-fa7-2026-0827
branch
from
August 28, 2026 11:53
da22449 to
c969f76
Compare
- FA 7's empty content alternative made the nameless button explicit (v6 exposed a meaningless PUA glyph); a hardcoded label is the minimum correctness fix, localization deferred to the drawio-integration refresh
This was referenced Aug 28, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




@import: adds a forwarding support module and namespaces the theme's glyph sitesfa-fwuses. Consumer-visible as slightly wider icon boxes on literalfa-*icons; opt-out isfa-width-auto(applied to the click-to-copy button, which the new default squeezed)$td-font-awesome-font-name)fas/fabshorthands still ship by default, so existingicon:config strings keep working$fa-var-*references fail loud; barefa-content()calls compile but emit literal CSS (silent); FA module config overrides (e.g.$fa-font-path) silently no-op, since FA 7 freezes module defaults behind@import. Courtesy path: the internal forwarding module (@use 'td/support/fa') restores variable/function access, with the usual internal-SCSS stability caveat