omgovich / colord

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

Support modern CSS notations of RGB, HSL and LCH color functions #35

Closed omgovich closed 3 years ago

omgovich commented 3 years ago

Closes #32 Closes #33 Closes #34

codecov-commenter commented 3 years ago

Codecov Report

Merging #35 (9b85818) into master (cc61f53) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #35   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           30        30           
  Lines          372       375    +3     
  Branches        79        82    +3     
=========================================
+ Hits           372       375    +3     
Impacted Files Coverage Δ
src/colorModels/hslString.ts 100.00% <100.00%> (ø)
src/colorModels/lchString.ts 100.00% <100.00%> (ø)
src/colorModels/rgbString.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 cc61f53...9b85818. Read the comment docs.

github-actions[bot] commented 3 years ago

Size Change: +73 B (+1%)

Total Size: 6.91 kB

Filename Size Change
./dist/index.js 1.78 kB +54 B (+3%)
./dist/plugins/lch.js 1.16 kB +19 B (+2%)
ℹ️ View Unchanged | Filename | Size | Change | | :--- | :---: | :---: | | `./dist/plugins/a11y.js` | 456 B | 0 B | | `./dist/plugins/hwb.js` | 613 B | 0 B | | `./dist/plugins/lab.js` | 875 B | 0 B | | `./dist/plugins/names.js` | 1.36 kB | 0 B | | `./dist/plugins/xyz.js` | 668 B | 0 B |

compressed-size-action