Closed mlange-42 closed 1 year ago
Base: 53.10% // Head: 52.83% // Decreases project coverage by -0.27%
:warning:
Coverage data is based on head (
69a0b8f
) compared to base (58d62e8
). Patch coverage: 0.00% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
thanks! please next time add unit-test and run make docs, so that we regenerate and inspect visually that all works ok!
confirmed all is ok.
This PR changes SVG generation to use
rbg(...)
instead ofrgba(...)
, which is not supported by Inkscape.Alpha is scaled to range [0, 1] and used in the
...-opacity
properties.Alpha can't currently appear when used via the CLI, as it is not supported by the
colorful.Hex()
function that is used for palettes. Decided to still leave alpha in for use as a library.Not 100% sure about the bitshift, but it looks like alpha is treated the same as color channels.
Fixes #21
Screenshot Inkscape before:
After:
Screen to verify that using
fill-opacity
and leavingopacity
at 1 works: