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 relative units #5

Open
hungsu opened this issue Apr 19, 2021 · 0 comments
Open

Use relative units #5

hungsu opened this issue Apr 19, 2021 · 0 comments

Comments

@hungsu
Copy link
Owner

hungsu commented Apr 19, 2021

From Licat:

  • Theme developers: from now on, please avoid setting font-size using absolute units like px or pt. Instead, use relative units like em or %, which will automatically scale from the font size the user specified. To migrate px to em, you can divide your px value by 16 (the default font size), for example, 24px => 1.5em.

https://discord.com/channels/686053708261228577/716028884885307432/833752744262500352

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

No branches or pull requests

1 participant