import css file via webpack css loader, parse with css and use values as necessary - in this case, parsing @custom-media
to store media queries to set up window.matchMedia()
event handlers.
Example
npm install
npm start
// browse to localhost:8080