mirror of
https://github.com/belsabbagh/dotfiles.git
synced 2026-04-11 09:36:46 +00:00
24 lines
497 B
QML
24 lines
497 B
QML
pragma ComponentBehavior: Bound
|
|
|
|
import ".."
|
|
import qs.components
|
|
import qs.components.controls
|
|
import qs.components.containers
|
|
import qs.services
|
|
import qs.config
|
|
import QtQuick
|
|
|
|
CollapsibleSection {
|
|
title: qsTr("Theme mode")
|
|
description: qsTr("Light or dark theme")
|
|
showBackground: true
|
|
|
|
SwitchRow {
|
|
label: qsTr("Dark mode")
|
|
checked: !Colours.currentLight
|
|
onToggled: checked => {
|
|
Colours.setMode(checked ? "dark" : "light");
|
|
}
|
|
}
|
|
}
|