Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

Allow rems/ems in breakpoints #27

Open
ehowey opened this issue Aug 1, 2019 · 0 comments
Open

Allow rems/ems in breakpoints #27

ehowey opened this issue Aug 1, 2019 · 0 comments

Comments

@ehowey
Copy link
Owner

ehowey commented Aug 1, 2019

Currently the breakpoints object in theme-ui only functions using pixel values because it is used in calculations for the onepage theme and I need the pixel integer values to do these calculations. There should be a way to convert this to allow for rems/ems to be used in the breakpoints.

The calculations ensure that the content flows properly as the header resizes based on screenwidth.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant