Skip to content

Use system-ui as default font #16

@rienheuver

Description

@rienheuver

Currently we ship Roboto as the default font for Open Components. However, this increases load time and might not fit with the OS-style perfectly. Nowadays we have system-ui as an option for font-family with great browser support. Read more here: https://css-tricks.com/snippets/css/system-font-stack/

How about using this instead of Roboto altogether? It will improve load times and simply fit the users environment better. We can simply use --font-sans from open-props, which is currently:

--font-sans: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;

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