summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kelakon.qrc1
-rw-r--r--main.qml7
-rw-r--r--qtquickcontrols2.conf8
3 files changed, 14 insertions, 2 deletions
diff --git a/kelakon.qrc b/kelakon.qrc
index e36056f..98784b9 100644
--- a/kelakon.qrc
+++ b/kelakon.qrc
@@ -10,5 +10,6 @@
<file>assets/arrow-back-24px.svg</file>
<file>pages/Password.qml</file>
<file>pages/PasswordForm.ui.qml</file>
+ <file>qtquickcontrols2.conf</file>
</qresource>
</RCC>
diff --git a/main.qml b/main.qml
index 6bbb5af..3882c25 100644
--- a/main.qml
+++ b/main.qml
@@ -1,12 +1,15 @@
import QtQuick 2.12
import QtQuick.Controls 2.12
+import QtQuick.Controls.Material 2.12
ApplicationWindow {
id: appWindow
- width: 362
- height: 628
+ width: 360
+ height: 640
visible: true
+ Material.accent: Material.DeepPurple
+
StackView {
id: stackView
anchors.fill : parent
diff --git a/qtquickcontrols2.conf b/qtquickcontrols2.conf
new file mode 100644
index 0000000..1554f7a
--- /dev/null
+++ b/qtquickcontrols2.conf
@@ -0,0 +1,8 @@
+[Controls]
+Style=Material
+
+[Material]
+Theme=Light
+Primary=DeepPurple
+Accent=DeepPurple
+QT_QUICK_CONTROLS_MATERIAL_VARIANT=Normal \ No newline at end of file