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

Use system-ui as default font #2355

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Commits on Jun 18, 2024

  1. Use system-ui as default font

    I'm on Ubuntu, and the font that's currently shown for me on matrix.org is Nimbus Sans. The font in the existing font list that is causing this is the font "Helvetica", which I do not have installed.
    
    From my cursory understanding of font matching, when running `fc-match helvetica` in the terminal, I get `NimbusSans-Regular.otf: "Nimbus Sans" "Regular"`, which explains why I'm being shown Nimbus Sans.
    
    As it appears from the existing font list, the desired result was to use the font of the system the user is on. By using `system-ui`, we can achieve this. In my case, I would be shown the Ubuntu Font, as that's my default on my system.
    veyndan committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    07bc9ff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0524749 View commit details
    Browse the repository at this point in the history