solidjs / solidjs/solid-playground

Missing editor fonts

Open
#176 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
244
Forks
69
PR merge metrics
No merged PRs in 30d

Description

Related: https://github.com/solidjs/solid-playground/pull/165#discussion_r1531977790

There's a font-family: Menlo, Monaco, "Courier New", monospace, "Droid Sans Mono", "monospace", monospace style but Menlo and Monaco aren't installed on all systems (Linux Manjaro, Brave browser).
Instead it tries the next one, which happens to be this thin/unreadable Courier New font:
image
image

I suggest including Menlo in the assets (or load from a cdn) so it will look like this for everyone:
image
Or remove the custom fonts altogether (defaults to "Droid Sans Mono", "monospace", monospace), which is equally readable:
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the editor style that defines font-family and compare its behavior on systems without Menlo or Monaco. Choose between providing an available readable font and removing the problematic custom-font ordering; done means the editor remains readable across the reported environments.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.