Commit ce8dfa4f authored by Zéfling's avatar Zéfling 🎨
Browse files

Version update (0.1.2)

parent cce45f15
# Changelog of coloration-lib # Changelog of coloration-lib
## V0.1.2 (2020-05-04)
### Corrections
- fix alpha calculation for `toHEX()`
## V0.1.1 (2020-05-02) ## V0.1.1 (2020-05-02)
### Feature ### Feature
...@@ -9,7 +15,7 @@ ...@@ -9,7 +15,7 @@
### Corrections ### Corrections
- fix calculation when no alpha - fix calculation when no alpha
- fix calculation alpha with mask opacity - fix alpha calculation with mask opacity
## V0.1.0 (2020-05-01) ## V0.1.0 (2020-05-01)
......
...@@ -48,7 +48,7 @@ color.addColor({ ...@@ -48,7 +48,7 @@ color.addColor({
v: 10, v: 10,
alpha: -0.2 alpha: -0.2
}); });
console.log(color.toHEX()); // #ff3381cd console.log(color.toHEX()); // #ff3381cc
``` ```
## Publishing the library ## Publishing the library
......
{ {
"name": "coloration-lib", "name": "coloration-lib",
"version": "0.1.1", "version": "0.1.2",
"license": "MIT", "license": "MIT",
"repository": { "repository": {
"type": "git", "type": "git",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment