lit icon indicating copy to clipboard operation
lit copied to clipboard

Remove hardcoded font-family Nunito

Open ivan-avalos opened this issue 3 years ago • 3 comments

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.

ivan-avalos avatar Aug 09 '20 04:08 ivan-avalos

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.

ajusa avatar Aug 18 '20 16:08 ajusa

Is this going to be implemented soon?

currently I'm just doing this:

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

Aditeya avatar Oct 03 '22 07:10 Aditeya

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)
}

....

asiftyro avatar Dec 11 '22 23:12 asiftyro