mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-23 03:02:30 +01:00
Fix dark/light styling
This commit is contained in:
parent
8da12bb89c
commit
8367303ca3
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user