Use light backgrounds
Use this procedure on a page with a light background. The default color of the effects is yellow (#fad30b). On a light page, a dark color is easier to see.
Procedure
Select a dark color in the format
#rrggbb.Put the color in
theme.color.Optional: give a different color to one effect:
tsimport { createWand } from 'magic-cursor-wand'; createWand({ config: { theme: { color: '#1e293b' }, glitter: { color: '#b45309' }, }, });Open the page. Make sure that the effects have good contrast with the background.
Result
Each effect that has the color null gets the value of theme.color. An effect with its own color keeps that color.
The glitter effect uses the lighter composite operation. On a light background, this operation makes the particles less visible. Use a color with high saturation for glitter.