Skip to content

[Site] Use monospace system font #1121

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

Closed
wants to merge 1 commit into from

Conversation

smnandre
Copy link
Member

TL;DR; i suggest to use native system fonts instead of webfont.

Follow #1119, this time for the monospace font, with the same reasons.

Again, I put online some before/after captures* with a slider tool to compare.
(* made on macOS Ventura / Firefox)

Captures here: https://smnand.re/w/b68eda/

slider-comparaison

I made two separate PR because developpers tend to be a little more sensible about code fonts :)

@weaverryan
Copy link
Member

This time I can see the difference easily on https://smnand.re/w/b68eda/ - but I don't personally mind it.

Anyone have a strong opinion on the before/after of the code blocks in the link above?

Also, this will need a rebase now - after merging your other PR's ;)

@smnandre smnandre force-pushed the site/monospace-system-font branch from fb94f66 to e9ffa85 Compare September 18, 2023 18:57
@smnandre
Copy link
Member Author

We can play with the multiple font settings / axes.. I find it more readable like that but it's only a personal opinion.

@weaverryan
Copy link
Member

Let's roll with it - if there are any major objections (which I doubt), then we can talk about those when they happen. Thanks!

@weaverryan
Copy link
Member

Merged - not sure why GH didn't see that

@weaverryan weaverryan closed this Sep 19, 2023
weaverryan added a commit that referenced this pull request Sep 19, 2023
This PR was merged into the 2.x branch.

Discussion
----------

[Site] Use monospace system font

TL;DR; i suggest to use native system fonts instead of webfont.

Follow #1119, this time for the `monospace` font, with the same reasons.

Again, I put online some before/after captures*  with a slider tool to compare.
(* made on macOS Ventura / Firefox)

Captures here: https://smnand.re/w/b68eda/

<img width="1565" alt="slider-comparaison" src="https://github.com/symfony/ux/assets/1359581/c1fd99cd-bc38-4279-9e5f-46f175903d0b">

I made two separate PR because developpers tend to be a little more sensible about code fonts :)

Commits
-------

e9ffa85 Use monospace system font
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants