A button that swaps the lab between the light and dark palette. More...
| Import Statement: | import Clayground.Lab |
| Inherits: |
Drop it into a corner - beside LangSwitch is the convention - and the whole lab follows, chrome and board alike, because every colour it paints is a binding on LabTheme.
Example usage:
import Clayground.Lab Row { anchors.right: parent.right; anchors.top: parent.top anchors.margins: 12; spacing: 6 LangSwitch { } ThemeSwitch { } }
See also LabTheme and LangSwitch.