The light-dark() CSS function now accepts <image> values. This allows using images, gradients, and so on for different color schemes. (Firefox bug 2023569).
light-dark()
<image>