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

Remove hardcoded font-family Nunito #26

Open
ivan-avalos opened this issue Aug 9, 2020 · 3 comments
Open

Remove hardcoded font-family Nunito #26

ivan-avalos opened this issue Aug 9, 2020 · 3 comments

Comments

@ivan-avalos
Copy link

Hello! It's a bit odd that nunito is hardcoded in the stylesheet, which forces you to install Nunito and misses the point of "ridiculously small". The font-family should be up to the user by default, I think.

@ajusa
Copy link
Owner

ajusa commented Aug 18, 2020

Sorry for the late response! That is a fair point - at the time I was being lazy and didn't want to write any custom CSS for the actual site, which I wanted to use Nunito. I'll either remove the font-family ruleset (which would also decrease the size) or set it to something like sans-serif so that it picks a reasonable default. I'm currently leaning towards the first option, as most developers will probably have a font they want to use.

@Aditeya
Copy link

Aditeya commented Oct 3, 2022

Is this going to be implemented soon?

currently I'm just doing this:

*:not(i):not(.fa){
	font-family: 'Iosevka Web' !important;
}

@asiftyro
Copy link

asiftyro commented Dec 11, 2022

For the time being, I am using the following approach.

:root {
  --system-ui: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

h6 {
  font: 100 1em var(--system-ui)
}

....

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

4 participants