-
Couldn't load subscription status.
- Fork 99
Description
Hello, just a heads up concerning the use of google fonts CDN without user's consent.
This violates the GDPR (General Data Protection Regulation) which is the EU framework law (implemented by member states in national law) concerning data protection. Here is a source https://www.cookieyes.com/documentation/google-fonts-and-gdpr/
Beyond the legal aspect it is a privacy concern that any request to a sveltia backend is potentially tracked by Google which is a privacy concern.
I understand that the Google Fonts CDN is uset to make the "drop-in replacement to decap" aspect work and also allow completely flexible localization.
Therefore my proposal for a solution:
Make this an option in the SiteConfig: google-fonts-cdn (default), system-font (uses the system-ui font family which is widely supported and some other fallbacks), self-hosted (Setting this option enables another configuration property where the font URLs and font-families for use in CSS are specified)
I realize this is probably something for the post-1.0.0 phase but I thought it would be helpful to document this as early as possible all the same.
Cheers!