Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Allow the user to supply their own font files / disable Google Fonts #150

Open
ELLIOTTCABLE opened this issue Jan 5, 2023 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@ELLIOTTCABLE
Copy link
Collaborator

At the moment, using Dracula-UI seems to mean inevitably bringing in Google Fonts - took me a while to figure out why this was getting prepended to my CSS, breaking my privacy promise to my users (looks like it was added in cbe5fc8.):

@import url("https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&display=swap");

Personally, I'd love to see this gone entirely; why compramise your users like this? (Or, perhaps, check out one of the awesome alternatives to Google Fonts, like Fontsource!) But if you wish to keep it, at least give us an easy way to disable this in our builds. :x

@ELLIOTTCABLE ELLIOTTCABLE added the enhancement New feature or request label Jan 5, 2023
@ELLIOTTCABLE ELLIOTTCABLE changed the title Allow the user to supply their own font Allow the user to supply their own font files / disable Google Fonts Jan 5, 2023
@doowruc
Copy link
Collaborator

doowruc commented Jan 5, 2023

In addition, it is now illegal to link to Google Fonts in Germany - https://www.theregister.com/2022/01/31/website_fine_google_fonts_gdpr/

@mrhappyma
Copy link
Member

This was irritating me as well. I have published dracula-ui-no-fonts, a package identical to this but without the font.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Development

No branches or pull requests

3 participants