accessible-colors
accessible-colors copied to clipboard
Please pre-build the code and publish on NPM
i want to be able to simply install a script which compares 2 colors and outputs a contrast number. I cannot use your code if it's not on NPM, sorry. I only use published packages for obvious reasons.
Also, you have huge amount of dependencies. for such simple task this is absurd:
"add-commas": "0.0.4",
"es6-promise": "^4.0.5",
"isomorphic-fetch": "^2.2.1",
"jsonp": "^0.2.1",
"react": "^15.4.1",
"react-dom": "^15.4.1",
"react-redux": "^5.0.1",
"redux": "^3.6.0",
"redux-thunk": "^2.1.0"
...
this repo is not meant to be a package you install to compute a contrast number (there are some of them on npm already). It is the source code of a website.