New light‑dark() Function Tester - Online Color Switch Use the light‑dark() CSS function to change colors based on color scheme. Build a simple dark mode toggle with one property. Color Tool color scheme CSS function light‑dark