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

[docs] Tweak code sizes #852

Merged
merged 3 commits into from
Nov 21, 2024
Merged

[docs] Tweak code sizes #852

merged 3 commits into from
Nov 21, 2024

Conversation

vladmoroz
Copy link
Contributor

@vladmoroz vladmoroz commented Nov 21, 2024

@vladmoroz vladmoroz added the docs Improvements or additions to the documentation label Nov 21, 2024
/* Match 13px Unica to 11.5px Menlo */
size-adjust: calc(100% * 11.5 / 13);
/* Match other monospace fonts to SF Mono in width */
size-adjust: calc(100% * 13.25 / 14);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@colmtuite I realised I was looking at a much wider SF Mono while you were looking at a much narrower Menlo

Bumped it 7% larger, does it feel OK now or do you want to go larger?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vladmoroz I'd go a tiny bit larger still. Maybe 13.5px or something like that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mui-bot
Copy link

mui-bot commented Nov 21, 2024

Netlify deploy preview

https://deploy-preview-852--base-ui.netlify.app/

Generated by 🚫 dangerJS against c5405e8

@vladmoroz vladmoroz enabled auto-merge (squash) November 21, 2024 17:49
@vladmoroz vladmoroz merged commit 01e9cc7 into mui:master Nov 21, 2024
21 checks passed
@vladmoroz vladmoroz deleted the code-fonts branch November 21, 2024 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants