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

Add option to change monospace font #27564

Open
Guanran928 opened this issue Jun 12, 2024 · 2 comments
Open

Add option to change monospace font #27564

Guanran928 opened this issue Jun 12, 2024 · 2 comments
Labels
O-Uncommon Most users are unlikely to come across this or unexpected workflow T-Enhancement T-Feature Request to add a new feature which does not exist right now X-Needs-Product More input needed from the Product team

Comments

@Guanran928
Copy link

Your use case

Add an option to change the monospace font used in code snippet messages.

Element Web is using Inconsolata for monospace texts, I want to use my system's monospace font for consistency.

It also does not match Inter's x-height very well, see #15077:
image

Have you considered any alternatives?

No response

Additional context

Currently there an option for sans-serif texts, but not for monospaced texts.
image

@dosubot dosubot bot added the T-Feature Request to add a new feature which does not exist right now label Jun 12, 2024
@t3chguy
Copy link
Member

t3chguy commented Jun 13, 2024

The font is configurable in themes https://github.com/element-hq/element-web/blob/develop/docs/theming.md

@dbkr dbkr added X-Needs-Product More input needed from the Product team O-Uncommon Most users are unlikely to come across this or unexpected workflow labels Jun 27, 2024
@dbkr
Copy link
Member

dbkr commented Jun 27, 2024

Have given to product, although to be honest I'd suggest just fixing the height of the font rather than introducing another complex feature to work around the bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-Uncommon Most users are unlikely to come across this or unexpected workflow T-Enhancement T-Feature Request to add a new feature which does not exist right now X-Needs-Product More input needed from the Product team
Projects
None yet
Development

No branches or pull requests

3 participants