settings: add material palette and transparency

This commit is contained in:
end-4
2025-06-19 19:32:31 +02:00
parent e8414c88ba
commit eaa56ff555
5 changed files with 103 additions and 5 deletions
@@ -0,0 +1,29 @@
import "root:/modules/common/widgets/"
import "root:/modules/common/"
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
RippleButton {
id: root
Layout.fillWidth: true
contentItem: RowLayout {
spacing: 10
StyledText {
id: labelWidget
Layout.fillWidth: true
text: root.text
font.pixelSize: Appearance.font.pixelSize.normal
color: Appearance.colors.colOnSecondaryContainer
}
StyledSwitch {
id: switchWidget
down: root.down
scale: 0.75
Layout.fillWidth: false
checked: root.checked
}
}
}