mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-23 03:02:30 +01:00
Change many dark and light theming issues
This commit is contained in:
parent
49a33fad52
commit
d4812e476c
@ -45,7 +45,7 @@ Item {
|
||||
|
||||
Rectangle {
|
||||
id: rectangle
|
||||
color: "#F0F0F0"
|
||||
color: Material.background
|
||||
radius: 3
|
||||
clip: true
|
||||
anchors {
|
||||
@ -137,9 +137,9 @@ Item {
|
||||
Button {
|
||||
id: btnClear
|
||||
text: qsTr("Clear")
|
||||
Material.background: Material.Grey
|
||||
Material.background: Material.theme === Material.Light ? Qt.lighter(Material.accent) : Qt.darker(Material.accent)
|
||||
Material.foreground: "white"
|
||||
font.family: ScreenPlay.settings.font
|
||||
|
||||
anchors {
|
||||
top: parent.top
|
||||
right: btnOpen.left
|
||||
@ -152,7 +152,7 @@ Item {
|
||||
Button {
|
||||
id: btnOpen
|
||||
text: qsTr("Select Preview Image")
|
||||
Material.background: Material.Orange
|
||||
Material.background: Material.accent
|
||||
Material.foreground: "white"
|
||||
font.family: ScreenPlay.settings.font
|
||||
anchors {
|
||||
|
@ -15,13 +15,14 @@ Item {
|
||||
Rectangle {
|
||||
id: rectangle
|
||||
radius: 3
|
||||
|
||||
color: Qt.lighter(Material.background)
|
||||
anchors.fill: parent
|
||||
|
||||
Text {
|
||||
id: txt
|
||||
text: _name
|
||||
color: Material.color(Material.Grey)
|
||||
color: Material.theme === Material.Light ? Qt.lighter(Material.foreground) : Qt.darker(Material.foreground)
|
||||
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
anchors.fill: parent
|
||||
|
@ -26,7 +26,7 @@ Item {
|
||||
|
||||
Rectangle {
|
||||
id: rectangle
|
||||
color: "#F0F0F0"
|
||||
color: Material.background
|
||||
radius: 3
|
||||
clip: true
|
||||
anchors {
|
||||
|
@ -108,7 +108,7 @@ Item {
|
||||
bottomMargin: 30
|
||||
horizontalCenter: parent.horizontalCenter
|
||||
}
|
||||
Material.background: Material.Orange
|
||||
Material.background: Material.accent
|
||||
Material.foreground: "white"
|
||||
|
||||
icon.source: "qrc:/assets/icons/icon_share.svg"
|
||||
|
@ -81,7 +81,7 @@ Item {
|
||||
bottom: parent.bottom
|
||||
bottomMargin: 20
|
||||
}
|
||||
Material.background: Material.Orange
|
||||
Material.background: Material.accent
|
||||
Material.foreground: "white"
|
||||
icon.source: "qrc:/assets/icons/icon_upload.svg"
|
||||
icon.color: "white"
|
||||
@ -168,7 +168,7 @@ Item {
|
||||
bottom: parent.bottom
|
||||
bottomMargin: 20
|
||||
}
|
||||
Material.background: Material.Orange
|
||||
Material.background: Material.accent
|
||||
Material.foreground: "white"
|
||||
icon.source: "qrc:/assets/icons/icon_upload.svg"
|
||||
icon.color: "white"
|
||||
@ -248,7 +248,7 @@ Item {
|
||||
Button {
|
||||
text: qsTr("Upload Exsisting Project to Steam")
|
||||
anchors.centerIn: parent
|
||||
Material.background: Material.Orange
|
||||
Material.background: Material.accent
|
||||
Material.foreground: "white"
|
||||
icon.source: "qrc:/assets/icons/icon_steam.svg"
|
||||
icon.color: "white"
|
||||
|
@ -227,7 +227,7 @@ Item {
|
||||
id: btnSave
|
||||
text: qsTr("Save")
|
||||
enabled: false
|
||||
Material.background: Material.Orange
|
||||
Material.background: Material.accent
|
||||
Material.foreground: "white"
|
||||
font.family: ScreenPlay.settings.font
|
||||
onClicked: {
|
||||
|
@ -177,7 +177,7 @@ Item {
|
||||
id: btnSave
|
||||
text: qsTr("Save")
|
||||
enabled: false
|
||||
Material.background: Material.Orange
|
||||
Material.background: Material.accent
|
||||
Material.foreground: "white"
|
||||
font.family: ScreenPlay.settings.font
|
||||
|
||||
|
@ -86,7 +86,7 @@ Item {
|
||||
Button {
|
||||
id: btnBack
|
||||
text: qsTr("Back to create and send an error report!")
|
||||
Material.background: Material.Orange
|
||||
Material.background: Material.accent
|
||||
Material.foreground: "white"
|
||||
font.family: ScreenPlay.settings.font
|
||||
anchors {
|
||||
|
@ -320,7 +320,7 @@ Item {
|
||||
id: btnSave
|
||||
text: qsTr("Save")
|
||||
enabled: false
|
||||
Material.background: Material.Orange
|
||||
Material.background: Material.accent
|
||||
Material.foreground: "white"
|
||||
font.family: ScreenPlay.settings.font
|
||||
|
||||
|
@ -319,8 +319,7 @@ Item {
|
||||
Button {
|
||||
id: btnSetWallpaper
|
||||
text: qsTr("Set wallpaper")
|
||||
Material.accent: Material.Orange
|
||||
Material.background: Material.Orange
|
||||
Material.background: Material.accent
|
||||
Material.foreground: "white"
|
||||
font.family: ScreenPlay.settings.font
|
||||
icon.source: "qrc:/assets/icons/icon_plus.svg"
|
||||
|
@ -6,7 +6,8 @@ import ScreenPlay 1.0
|
||||
|
||||
Rectangle {
|
||||
id: rect
|
||||
color: Qt.darker(Material.background)
|
||||
color: Material.theme === Material.Light ? Qt.darker(Material.background) : Qt.lighter(Material.background)
|
||||
|
||||
height: availableHeight
|
||||
width: availableWidth
|
||||
|
||||
|
@ -127,7 +127,7 @@ Item {
|
||||
Button {
|
||||
id: btnRemoveSelectedWallpaper
|
||||
text: qsTr("Remove selected")
|
||||
Material.background: Material.Orange
|
||||
Material.background: Material.accent
|
||||
Material.foreground: "white"
|
||||
font.family: ScreenPlay.settings.font
|
||||
enabled: monitorSelection.activeMonitors.length == 1
|
||||
@ -139,7 +139,7 @@ Item {
|
||||
Button {
|
||||
id: btnRemoveAllWallpaper
|
||||
text: qsTr("Remove all Wallpapers")
|
||||
Material.background: Material.Orange
|
||||
Material.background: Material.accent
|
||||
Material.foreground: "white"
|
||||
font.family: ScreenPlay.settings.font
|
||||
enabled: ScreenPlay.screenPlayManager.activeWallpaperCounter > 0
|
||||
@ -151,7 +151,7 @@ Item {
|
||||
Button {
|
||||
id: btnRemoveAllWidgets
|
||||
text: qsTr("Remove all Widgets")
|
||||
Material.background: Material.Orange
|
||||
Material.background: Material.accent
|
||||
Material.foreground: "white"
|
||||
font.family: ScreenPlay.settings.font
|
||||
enabled: ScreenPlay.screenPlayManager.activeWidgetsCounter > 0
|
||||
|
Loading…
Reference in New Issue
Block a user