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

Strict parsers (Follow CSS specs) #53

Closed omgovich closed 3 years ago

omgovich commented 3 years ago

Solution for https://github.com/cssnano/cssnano/issues/1120 https://github.com/cssnano/cssnano/issues/1115 https://github.com/cssnano/cssnano/issues/1113

codecov-commenter commented 3 years ago

Codecov Report

Merging #53 (aa24027) into master (a3e1186) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #53   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           34        34           
  Lines          422       425    +3     
  Branches        72        94   +22     
=========================================
+ Hits           422       425    +3     
Impacted Files Coverage Ξ”
tests/fixtures.ts 100.00% <ΓΈ> (ΓΈ)
src/colorModels/hex.ts 100.00% <100.00%> (ΓΈ)
src/colorModels/hslString.ts 100.00% <100.00%> (ΓΈ)
src/colorModels/hwbString.ts 100.00% <100.00%> (ΓΈ)
src/colorModels/lchString.ts 100.00% <100.00%> (ΓΈ)
src/colorModels/rgbString.ts 100.00% <100.00%> (ΓΈ)
src/parse.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 a3e1186...aa24027. Read the comment docs.

github-actions[bot] commented 3 years ago

Size Change: +49 B (+1%)

Total Size: 8.99 kB

Filename Size Change
./dist/index.js 2 kB +48 B (+2%)
./dist/plugins/lch.js 1.43 kB -1 B (0%)
./dist/plugins/names.js 1.39 kB +2 B (0%)
ℹ️ View Unchanged | Filename | Size | Change | | :--- | :---: | :---: | | `./dist/plugins/a11y.js` | 459 B | 0 B | | `./dist/plugins/hwb.js` | 891 B | 0 B | | `./dist/plugins/lab.js` | 1.03 kB | 0 B | | `./dist/plugins/mix.js` | 956 B | 0 B | | `./dist/plugins/xyz.js` | 833 B | 0 B |

compressed-size-action