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

style: introduce --line-height and --icon-size css variables #87

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

andirueckel
Copy link
Member

@andirueckel andirueckel commented Oct 25, 2023

Introducing var(--line-height) instead of calculating with the literal value 1.3 in quite some occasions.

Also introducing var(--icon-size) as we don’t want to use static sizing of 24px for .svg icons.

var(--icon-size) is being calculated by multiplying the root font-size × var(--line-height), which makes .svg icons scale nicely relative to our font-size … or optionally the user-defined font-size via browser preferences. ✨

@andirueckel andirueckel requested a review from aofn October 25, 2023 12:29
@aofn aofn merged commit 810cc4c into invite-users Oct 25, 2023
@aofn aofn deleted the invite-users-css-improvements branch October 25, 2023 12:45
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