Merge PR #658: Drop header color settings from style

This commit is contained in:
Jenkins nymea 2021-08-30 11:53:17 +02:00
commit 3a93236f9c
8 changed files with 1 additions and 25 deletions

View File

@ -15,7 +15,6 @@ ApplicationWindow {
Material.theme: NymeaUtils.isDark(Style.backgroundColor) ? Material.Dark : Material.Light
Material.background: Style.backgroundColor
Material.primary: Style.headerBackgroundColor
Material.accent: Style.accentColor
Material.foreground: Style.foregroundColor

View File

@ -5,9 +5,5 @@ import "../../ui"
StyleBase {
backgroundColor: "#303030"
foregroundColor: "#ffffff"
headerBackgroundColor: "#303030"
headerForegroundColor: "#ffffff"
iconColor: "#fafafa"
}

View File

@ -6,9 +6,6 @@ StyleBase {
backgroundColor: "#ffffff"
foregroundColor: "#638B87"
headerBackgroundColor: "#ffffff"
headerForegroundColor: "#79a79f"
accentColor: "#8cc1b6"
interfaceColors: {

View File

@ -6,9 +6,6 @@ StyleBase {
backgroundColor: "#151515"
foregroundColor: "#fefefe"
headerBackgroundColor: backgroundColor
headerForegroundColor: foregroundColor
accentColor: "#ffb0d827"
iconColor: "#fafafa"
}

View File

@ -6,9 +6,6 @@ StyleBase {
backgroundColor: "#50514f"
foregroundColor: "#ebebeb"
headerBackgroundColor: "#494948"
headerForegroundColor: foregroundColor
accentColor: "#f45b69"
iconColor: foregroundColor

View File

@ -50,7 +50,6 @@ ApplicationWindow {
Material.theme: NymeaUtils.isDark(Style.backgroundColor) ? Material.Dark : Material.Light
Material.background: Style.backgroundColor
Material.primary: Style.headerBackgroundColor
Material.accent: Style.accentColor
Material.foreground: Style.foregroundColor
@ -91,7 +90,7 @@ ApplicationWindow {
Component.onCompleted: {
styleController.setSystemFont(app.font)
PlatformHelper.topPanelColor = Style.headerBackgroundColor
PlatformHelper.topPanelColor = Style.backgroundColor
PlatformHelper.bottomPanelColor = Style.backgroundColor
}

View File

@ -7,9 +7,6 @@ Item {
property color accentColor: "#57baae"
property color iconColor: "#808080"
property color headerBackgroundColor: "#ffffff"
property color headerForegroundColor: "#202020"
property color tileBackgroundColor: Qt.tint(backgroundColor, Qt.rgba(foregroundColor.r, foregroundColor.g, foregroundColor.b, 0.05))
property color tileForegroundColor: foregroundColor
property color tileOverlayColor: Qt.tint(backgroundColor, Qt.rgba(foregroundColor.r, foregroundColor.g, foregroundColor.b, 0.1))

View File

@ -39,12 +39,6 @@ TabButton {
property string iconSource
property var alignment: Qt.Vertical
Rectangle {
anchors.fill: parent
color: Material.foreground
opacity: 0.05
}
contentItem: Item {
height: root.height
Grid {