omgovich / colord

👑 A tiny yet powerful tool for high-performance color manipulations and conversions
https://colord.omgovich.ru
MIT License
1.67k stars 50 forks source link

Do not add 100% alpha to strings #13

Closed omgovich closed 3 years ago

omgovich commented 3 years ago

It is a pattern used by all popular libraries, so I decided to mimic it.

github-actions[bot] commented 3 years ago

Size Change: +26 B (+1%)

Total Size: 3.82 kB

Filename Size Change
./dist/index.js 1.7 kB +26 B (+2%)
ℹ️ View Unchanged | Filename | Size | Change | | :--- | :---: | :---: | | `./dist/plugins/names.js` | 1.42 kB | 0 B | | `./dist/plugins/xyz.js` | 704 B | 0 B |

compressed-size-action

codecov-io commented 3 years ago

Codecov Report

Merging #13 (ea0f7cc) into master (e51856c) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #13   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           20        20           
  Lines          241       241           
  Branches        49        51    +2     
=========================================
  Hits           241       241           
Impacted Files Coverage Δ
src/colorModels/hslaString.ts 100.00% <100.00%> (ø)
src/colorModels/rgbaString.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e51856c...ea0f7cc. Read the comment docs.