Open nikiljos opened 3 years ago
@nikiljos I guess the issue is with out svg to png rendering.
The workaround that I can think of is use the color
function instead of the hex codes. Here is a version of your sketch with transparency fixed in the PNG using a work-around.
@anandology It is okay to continue as before right? I mean if I submit the one I did, you will be evaluating the png or svg for code-a-pookalam
Please continue as before. I'll take care of fixing this issue.
Describe the bug Transparent colors hex codes rendered as it's opaque color in sketches tab previews...
eg. #ff874ba9 is a semi transparent color of #F43B86 (the same effect of reducing the a value) Filling this color inside any shape shows the color properly in the run preview but shows the shape with it's original color in the preview tab
Check out this sketch https://mon.school/sketches/337472
To Reproduce Steps to reproduce the behavior:
Expected behavior The preview image won't be rendering it as transpartent colors
Desktop:
Additional context Transparent colors created with with rgba values don't have this issue