Hello,
the light and dark syntax is currently only available for color values. The expected behaviour can however be achieved using a dynamic layer value.
{
"type": "image",
"value": {
"left": {
"context": "device",
"field": "darkModeEnabled"
},
"right": "true",
"mode": "equals"
},
"trueValue": "asset://darkmodeexample.png",
"falseValue": "asset://lightmodeexample.png"
}
Regards