Skip to content

Conversation

@5h1rU
Copy link
Contributor

@5h1rU 5h1rU commented Feb 3, 2021

No description provided.

Copy link
Contributor

@felixfbecker felixfbecker left a comment

Choose a reason for hiding this comment

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

👍🏻

"/^margin/": ["rem"],
"/^padding/": ["rem"],
"font-size": ["px", "em"],
"font-size": ["px", "rem", "em"],
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should disallow px generally and only override it for the browser extension.

Also we should probably add line-height here too to make sure it is scaled together with the font-size (and doesn't use px, but only unit-less or em).

@felixfbecker felixfbecker changed the title chore: use rem as font-size unit feat: use rem as font-size unit Feb 4, 2021
@felixfbecker
Copy link
Contributor

Changed the scope of the PR from chore to feat because chore wouldn't be released (see https://semantic-release.gitbook.io/semantic-release/)

@5h1rU 5h1rU merged commit 3fc34e3 into master Feb 5, 2021
@5h1rU 5h1rU deleted the font-size-unit branch February 5, 2021 21:17
@sourcegraph-bot
Copy link

🎉 This PR is included in version 1.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants