Skip to content

Remove Google Fonts usage #1261

Closed
Closed
@qwerty287

Description

This is actually more a background question than a bug report or feature request. I don't really know any CSS and web styling, however, there are some lines importing Google Fonts APIs. I think, you should replace them with local files - take a look at your website:

Your server, your data, your rules. Never depend on someone else. Lychee is a self-hosted solution, so you are in the full control of your photos.

Sure, I'm in the full control of my photos, but connections to Google Fonts are still very bad and Never depend on someone else also isn't correct.

The lines are:

<link rel="dns-prefetch" href="//fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">

@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,700,900");

'https://fonts.googleapis.com',
(more a side effect of others)
'https://fonts.gstatic.com',
(more a side effect of others)
@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,700,900");

@import url("https://fonts.googleapis.com/css?family=Roboto:400,300,500,700,900");

<link rel="dns-prefetch" href="//fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">

<link rel="dns-prefetch" href="//fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">

https://github.com/LycheeOrg/Lychee-front/blob/feba79086476c7c522052b9b8d4c81b397a888c3/styles/landing/landing.scss#L2
https://github.com/LycheeOrg/Lychee-front/blob/feba79086476c7c522052b9b8d4c81b397a888c3/styles/page/page.scss#L2

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions