Re:Material 3 Expressive: Better, Easier, Emotional UX
by jampekka on Saturday May 17, 2025 @02:55AM
(#44012520)
The effect on the page is per-pixel, it doesn't change the whole cursor color when the hovered element changes.
For normal elements this can be done with mix-blend-mode, but that's not available for the cursor.
The background colour of the hovered element is known. When you specify the bgcolor, also override the cursor image.