Commit 8dfb7aca authored by Martin Straka's avatar Martin Straka Committed by Karel Slaný

Set Material properties from system palette

parent 0ccf17c4
......@@ -26,6 +26,7 @@ import QtQuick.Controls 2.1
import QtQuick.Window 2.1
import QtQuick.Layouts 1.3
import QtQuick.Dialogs 1.2
import QtQuick.Controls.Material 2.1
import cz.nic.mobileDatovka 1.0
ApplicationWindow {
......@@ -47,6 +48,13 @@ ApplicationWindow {
text: "Note: set default font"
}
// Set default material design from system palette
Material.theme: Material.System
Material.background: datovkaPalette.base
Material.foreground: datovkaPalette.text
Material.primary: datovkaPalette.alternateBase
Material.accent: datovkaPalette.highlight
// define all pages for stackview
property Component pageAboutApp: PageAboutApp {}
property Component pageAccountDetail: PageAccountDetail {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment