Closed wonderbeel closed 1 year ago
Awesome thanks a lot.
Would you be interested to get invited as a collaborator on the repo?
If you can add me as a collaborator it would be great, I use this preset a lot for pet projects so I can probably find and fix issues if some upstream updates break it 👀.
Just added you as a collaborator ! Would be cool if we can still go through PRs for our changes, including me
Thanks a lot dude !!
:wave: I found a couple of issues using this preset recently:
background-image
rule was not working for some patterns (eg,squares-in-squares
) because it was matching another pattern and trying to use the rest of the name as a color; ensuring that the patterns are solved in the regex solved this issue, but maybe it can be solved in a better way?fill='FILLCOLOR'
andfill='none'
attribute, this was causing that patterns to not work as expected when using a--webkit-mask-image
rule because the svg was basically transparent (FILLCOLOR
is not a valid color so the browser was fallbacking to the previous color). To fix it I removed thefill='none'
attribute and ensured that in the generated css rule we always have a pattern filled with black and opacity of 1 to be sure that we are not depending on a random behavior of the browser to obtain the correct image