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

Font configuration options #211

Closed
schu opened this issue Nov 17, 2019 · 1 comment
Closed

Font configuration options #211

schu opened this issue Nov 17, 2019 · 1 comment

Comments

@schu
Copy link

schu commented Nov 17, 2019

Is there a way to a) change the font throughout(!) writefreely and b) disable/remove all default fonts and related resources (webfont.js etc)?

For example, to change the font to Inter I added the following customization (via the web UI):

@import url('https://rsms.me/inter/inter.css');
html, body, textarea, pre, body#post article, body#collection article, body#subpage article, span, .font { font-family: 'Inter', sans-serif !important; }
@supports (font-variation-settings: normal) {
  html, body, textarea, pre, body#post article, body#collection article, body#subpage article, span, .font { font-family: 'Inter var', sans-serif !important; }
}

in combination with setting both disable_js = true and webfont = false in my config. That works to some extent (public pages are mostly using Inter now), but writefreely still loads all its default fonts and the menu and admin area still using the default fonts as well.

It looks like templates and theming are pretty tied to the code and it's not possible without actually changing the code.

Am I missing something?

@thebaer
Copy link
Member

thebaer commented Nov 19, 2019

Hey, thanks for bringing this up. I went ahead and answered this on our forum, where we discuss things like this (we only use GitHub for bug reports). Let's continue the discussion over there, if you don't mind.

@thebaer thebaer closed this as completed Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants