8 ms·
Preach! I wholeheartedly agree. The CSS file is in the repo: https://github.com/propjockey/css-media-vars/blob/master/css-media-vars.css https://github.com/pro
by James0x57 6y ago
Preach! I wholeheartedly agree.
The CSS file is in the repo:
https://github.com/propjockey/css-media-vars/blob/master/css-media-vars.css https://github.com/propjockey/css-media-vars/blob/master/css...
and the readme links to this in an example link tag:
https://unpkg.com/css-media-vars/css-media-vars.css https://unpkg.com/css-media-vars/css-media-vars.css
NPM is for convenience. Can't expect people to jump out of the build env all at once, so providing a vanilla CSS solution as a package is a good way to start the transition. IMO /shrug