Skip to content

feat: add self-hosted Material Symbols Outlined font support - #11

Merged
philippilievskibearingpointcom merged 1 commit into
mainfrom
feature/self-host-icons
Jul 31, 2026
Merged

feat: add self-hosted Material Symbols Outlined font support#11
philippilievskibearingpointcom merged 1 commit into
mainfrom
feature/self-host-icons

Conversation

@philippilievskibearingpointcom

Copy link
Copy Markdown
Member

Icons in the publisher plugin could take several seconds to appear on slower connections (up to 17s in testing). The font relied on for  md-icon  (Material Symbols Outlined) was being pulled in as the full variable font (~2.9MB, covering every weight/fill/size combination), which is way more than we need.

This PR bundles a static, single-weight version of the font directly in the plugin (~320KB, ~9x smaller) so it's always available without depending on the host or an external CDN.

To avoid this fix clashing with other plugins doing the same thing, the icon font is scoped to the plugin's own element instead of being set globally on  :root .

@philippilievskibearingpointcom
philippilievskibearingpointcom requested a review from a team as a code owner July 29, 2026 12:52
@Sander3003

Copy link
Copy Markdown
Member

Nice work!

@philippilievskibearingpointcom
philippilievskibearingpointcom merged commit fada493 into main Jul 31, 2026
3 checks passed
@philippilievskibearingpointcom
philippilievskibearingpointcom deleted the feature/self-host-icons branch July 31, 2026 07:35
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.

3 participants