import tailwindDefaultTheme from 'tailwindcss/defaultTheme' ; function getInnerWidth ( ) { return window . innerWidth ; } function getInnerHeight ( ) { return window . innerHeight ; } function isLg ( ) { const lgPixelsWidth = tailwindDefaultTheme . screens . lg ; const lgWidth = parseInt ( lgPixelsWidth . substring ( 0 , lgPixelsWidth . length - 2 ) ) ; return getInnerWidth ( ) > lgWidth ; } const screenService = { getInnerWidth , getInnerHeight , isLg , } ; export default screenService ;