sveltejs / svelte.dev

The Svelte omnisite
https://svelte.dev
111 stars 72 forks source link

Use of serif font for code in docs menu #567

Open dbushell opened 1 month ago

dbushell commented 1 month ago

The documentation pages have code in the menu. See "Special elements" for example:

menu-old

Also many items under "Runes" and "Template syntax" I could consider code.

I think this would look more legible using the monospace font:

menu-new

Rich-Harris commented 1 month ago

it looks really weird to mix and match

dbushell commented 1 month ago

You mean mix and match monospace font with the serif font? True, but code in a serif also looks weird. If it's going to look weird either way, I'd suggest the trade off in weirdness should favour code legibility.