-
Notifications
You must be signed in to change notification settings - Fork 122
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
body on kit-site is missing font 'Overpass' #35
Comments
The SvelteKit site has a line that's not present on the svelte.dev site: sites/packages/site-kit/base.css Line 63 in 766775d
The svelte.dev site for reference: https://github.com/sveltejs/site-kit/blob/01d83baee868053b01b560bc92ee34967616113f/base.css#L61 It looks like @Rich-Harris added this in 2f03e65 |
Removing the extra line make it choose a better looking font, but totally screws up the font sizing, so it'll take some tweaking |
I think the extra line is because the custom property I was able to work around that with either: /* using a fixed value for line-height – not really what I wanted */
body {
font: 300 var(--h4)/1.5 var(--font);
...
} ... or splitting the font-shortcut: body {
font-family: var(--font);
font-size: var(--h4);
line-height: var(--lh);
font-weight: 300;
...
} |
😳 Where can I create issues for bugs in css? |
Hi I think I figured out the problem. kit.svelte.dev has base.css, line 138: The matching style from svelte.dev:
svelte.dev is using site-kit 1.4.0, which is why it has not been affected. |
Just noticed this while reading the kit-docs.
So the body on kit-site looks like:
While on the svelte-site we have the 'Overpass' as body-font:
The text was updated successfully, but these errors were encountered: