styled-hsla-helper
v1.0.1
Published
change hsla color for styled-component Edit
Downloads
3
Maintainers
Readme
styled-hsla-helper
change hsla color for styled-component
Install
npm install --save styled-hsla-helper
Usage
const hslaChanger = require('styled-hsla-helper ')
hslaChanger(`hsla(0, 0%, 0%, 1)`, .8)
// => hsla(0, 0%, 0%, 0.8)
API
changer(color: string, percentage: float) -> changedColor: string
License
MIT © Song Wang