Skip to content

How should themes use fonts? #140

@RunDevelopment

Description

@RunDevelopment

We have a lot of themes and they use fonts differently. Some use Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace (this is why we use over at PrismJS/prism), some Menlo, Monaco, "Courier New", monospace, and others use completely different fonts.

I don't think that we should disallow themes to use custom fonts but:

  1. Most themes only use generic fonts. It looks like they don't care which one it is specifically.
  2. Custom fonts (that the user likely hasn't installed) should probably be @imported.

My question is: How should themes use fonts?

  • Should they @import their (main) font?
  • Should (most or) all use the same set of generic fonts?

@LeaVerou @mAAdhaTTah @Golmote

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions