Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize fonts #40

Open
xferra opened this issue Dec 11, 2017 · 0 comments
Open

Optimize fonts #40

xferra opened this issue Dec 11, 2017 · 0 comments

Comments

@xferra
Copy link
Member

xferra commented Dec 11, 2017

  1. Cleanup and restructure all font properties in CSS, for example using CSS variables;
  2. Install npm package font-awesome with the same version as now on CDN (or use latest from CDN);
  3. Minify font-awesome using fontmin and gulp - so, only required icons ans styles should be included for deployment;
  4. Find a proper way to load Gooogle Fonts: FAQ, Google Fonts API, Fonts Blog, webfontloader - they are connected in the header;

PS: 3* - as an idea - leave a link to CDN and then during gulp default - execute a new task that will replace it with the locally optimized variant.
PS2: Analyzing Web Font Performance

All ideas and remarks are welcome.
Part of generic Optimization issue #39

@xferra xferra assigned Klim711 and unassigned Klim711 Dec 11, 2017
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

No branches or pull requests

2 participants