🐛 Bug: Every page loads @font-face rules for unused character sets
Maintainers usually reply within 1 day
Assessment
This issue has not been assessed yet.
Description
Bug Report Checklist
- I have tried restarting my IDE and the issue persists.
- I have pulled the latest
mainbranch of the repository. - I have searched for related issues and found none that matched my issue.
Expected
The stylesheet loaded on every page should only declare the fonts and character sets the site uses.
Actual
BaseLayout.astro and index.astro import each Fontsource package's default stylesheet, which includes @font-face rules for Cyrillic, Greek, and Vietnamese subsets. Those rules make up 24.6 KB of the shared 38.5 KB stylesheet, and Lighthouse's unused-css-rules audit reports 13-15 KiB of unused CSS on every page.
Additional Info
Found in a Lighthouse audit of https://squiggleconf.com. All site content is within the Latin and Latin Extended ranges.
🦠
- Dominant language
- Astro
- Stars
- 12
- Forks
- 8
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 129
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SquiggleTools/SquiggleConf.com
-
🚀 Feature: Add a countdown to the CFP opens sectionPossibly taken @JoshuaKGoldberg claimed this 5 days ago. Opentype: feature
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
SquiggleTools/SquiggleConf.com#255 ·
Maintainers usually reply within 1 day
-
type: feature
Difficulty 3/5 1-2 days Newbie friendliness 35/100
SquiggleTools/SquiggleConf.com#265 ·
Maintainers usually reply within 1 day
-
🚀 Feature: Add a map above the Lunch section in the timelinePossibly taken @JoshuaKGoldberg claimed this 5 days ago. Opentype: feature
Difficulty 3/5 1-2 days Newbie friendliness 68/100
SquiggleTools/SquiggleConf.com#258 ·
Maintainers usually reply within 1 day
-
type: feature
Difficulty 4/5 3-5 days Newbie friendliness 48/100
SquiggleTools/SquiggleConf.com#257 ·
Maintainers usually reply within 1 day
-
🚀 Feature: Shrink the CFP opens and past sponsors logos to ~40px tallPossibly taken @JoshuaKGoldberg claimed this 9 days ago. Opentype: feature
SquiggleTools/SquiggleConf.com#254 · 1 assignee ·
Maintainers usually reply within 1 day