styled-media-query icon indicating copy to clipboard operation
styled-media-query copied to clipboard

add 'px' complement to getSizeFromBreakpoint

Open woo-cie opened this issue 3 years ago • 0 comments

Hi. First, I'm grateful for the very nice module. This PR implements #30.

  • Add completion of px to number in getSizeFromBreakpoint
  • Add number to DefaultBreakpoints type
  • Enable to convert number as px in pxToEmOrRem
  • Add generics constraint to pxToEr and pxToRem

woo-cie avatar Sep 09 '21 23:09 woo-cie