LightDarkSwitched¶
Represents an expression that switches between a light-mode and a dark-mode variant depending on the current appearance.
LightDarkSwitched[light, dark] uses light in light mode and dark in
dark mode. With a single argument (or Automatic), the missing variant is
derived automatically. The kernel does not resolve the switch — it stays
symbolic and is resolved by the front end when rendering:
Since the kernel keeps it symbolic, it is not a color object: