latentcat / uvcanvas

An React.js component library for beautifully shaded canvas https://uvcanvas.com
https://uvcanvas.com
1.01k stars 36 forks source link

Allow users to tweak colors #4

Open corysimmons opened 2 months ago

ciaochaos commented 2 months ago

Absolutely, it will be updated in the next few days

anudit commented 2 months ago

Looking forward to this! @ciaochaos @CPunisher

Sidd5arth commented 1 month ago

to change color I created an empty div with some background color then made it absolute, relative to the uvcanvas and set mix blend mode like this. .novatrix-overlay { position: absolute; width: 100%; height: 100%; background-color: var(--blue); mix-blend-mode: hard-light; }

d-ivashchuk commented 3 weeks ago

@ciaochaos I would love to help with being able to pass some colors at least to couple of examples. If you want to give me a brief guide of how this could be achieved I could work on the PR!