1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-18 08:22:33 +02:00

Fix dark/light styling

This commit is contained in:
Elias Steurer 2020-05-03 19:20:03 +02:00
parent 8da12bb89c
commit 8367303ca3
3 changed files with 4 additions and 4 deletions

View File

@ -45,7 +45,7 @@ Item {
Rectangle {
id: rectangle
color: Material.background
color: Material.theme === Material.Light ? Material.background : Qt.darker(Material.background)
radius: 3
clip: true
anchors {

View File

@ -15,7 +15,7 @@ Item {
Rectangle {
id: rectangle
radius: 3
color: Qt.lighter(Material.background)
color: Material.theme === Material.Light ? Qt.lighter(Material.background) : Material.background
anchors.fill: parent
Text {

View File

@ -26,7 +26,7 @@ Item {
Rectangle {
id: rectangle
color: Material.background
color: Material.theme === Material.Light ? Material.background : Qt.darker(Material.background)
radius: 3
clip: true
anchors {
@ -72,7 +72,7 @@ Item {
radius: 3
height: parent.height - 20
width: 200
color: "#aaffffff"
color: Material.theme === Material.Light ? Qt.lighter(Material.background) : Material.background
anchors {
top: parent.top
topMargin: -80