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

feat: Revert to using pixel values #26

Merged
merged 1 commit into from
Feb 3, 2020
Merged

Conversation

kyranjamie
Copy link
Contributor

@kyranjamie kyranjamie commented Feb 3, 2020

@jasperjansz's been reviewing onboarding stuff in Hank's notes app. There, the font-size set on body is 14px. Using rem values, the style system will inherit this value.

I do not believe this is behaviour we want. The style system should be as close to a collection of pure components as possible, unaffected by whatever global state its in. Here, I've changed the baseSizes back to using px values.

Prompted me to write this response to system UI issue: system-ui/theme-specification#1 (comment)

Copy link
Contributor

@aulneau aulneau left a comment

Choose a reason for hiding this comment

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

This looks good to me and I agree! Merge whenever!

@kyranjamie kyranjamie merged commit 46ca980 into master Feb 3, 2020
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