Closed Sohn123 closed 1 year ago
Name | Link |
---|---|
Latest commit | 4c307ac2e99ff34320cd8a7ba1775f7836c80590 |
Latest deploy log | https://app.netlify.com/sites/anatole-demo/deploys/633b04dc6424a60008715e5a |
SonarCloud Quality Gate failed.
1 Bug
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
@Sohn123 Thanks for this PR. I think it certainly shows that there is still huge potential for optimizing load time. Unfortunately, as the theme is aimed at beginners, I am convinced that creating custom icon sets might be a fairly big hurdle for some users. Therefore, I'll close this PR. Thanks for your understanding.
@lxndrblz Ok, I totally understand that. I just want to clarify that for most users, there is no need to create a custom icon font. I think we could agree on a list of supported icons (documented in the wiki), that is far smaller than font-awesome and still supports all necessary icons for this theme. Anybody who wants additional icons can create a custom icon font. But I think additional icons are already an advanced use case :)
Description
Checking the performance via lighthouse revealed, that most of the time loading the website is spent downloading fonts. Most of the icons from fontawesome are currently unused. I created a custom icon font using Icomoon to improve load times. The font is
4.5KB
compared to150KB
of fontawesome. Downside is that this would be a breaking change for people using other icons of fontawesome on their website.Issue Number:
Checklist
Yes, I included all necessary artefacts, including:
Testing Checklist
Yes, I ensured that all of the following scenarios were tested: