![Fancy Switch Screenshot](https://github.com/user-attachments/assets/a5a289ae-cf57-410f-b683-ff472639d2c8)

# Fancy light / dark theme switches

Demonstrates how make detailed switches with Slint's state system.

The SunMoonSwitch was based on a [Shmelt studios tutorial](https://www.youtube.com/watch?v=S6T6hrc8cQo)

[Online Preview](https://slint.dev/snapshots/master/editor/preview.html?load_url=https://raw.githubusercontent.com/slint-ui/slint/master/examples/fancy-switches/demo.slint)
[Online code editor](https://slint.dev/snapshots/master/editor/index.html?load_url=https://raw.githubusercontent.com/slint-ui/slint/master/examples/fancy-switches/demo.slint)