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

Custom fonts #27

Open
5 of 12 tasks
badlydrawnrob opened this issue Jul 23, 2019 · 0 comments
Open
5 of 12 tasks

Custom fonts #27

badlydrawnrob opened this issue Jul 23, 2019 · 0 comments
Labels
enhancement New feature or request thinking about

Comments

@badlydrawnrob
Copy link
Owner

badlydrawnrob commented Jul 23, 2019

Child themes

Remember that Print First CSS is a bare-bones approach.
It is not a framework. A child theme takes on that responsibility.

Currently the default font is system-ui, the headings are font-weight: normal and inherit from :root, and there's no custom font included. Beware that @font-face should not be nested inside a selector or class.)

There's an annoying x-height problem on iOS/MacOS devices.

Not my business!

@font-face is not the responsibility of print-first-css!
Create a theme repo and base it on this one.

Custom fonts are not in the problem scope for Print First CSS. I'd like it to have nicely styled typography, but I'm leaving the base setup as device independant (meaning the typography will use whatever fonts your device does, hopefully).

That's a problem for child themes, like Anki programming themes.

Some current themes based off print-first-css ...

Some font-specific stuff

The particulars

material-type-01

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request thinking about
Projects
None yet
Development

No branches or pull requests

1 participant