1.0.1 • Published 7 years ago
styled-hsla-helper v1.0.1
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