Merge PR #658: Drop header color settings from style
This commit is contained in:
commit
3a93236f9c
@ -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
|
||||
|
||||
|
||||
@ -5,9 +5,5 @@ import "../../ui"
|
||||
StyleBase {
|
||||
backgroundColor: "#303030"
|
||||
foregroundColor: "#ffffff"
|
||||
|
||||
headerBackgroundColor: "#303030"
|
||||
headerForegroundColor: "#ffffff"
|
||||
|
||||
iconColor: "#fafafa"
|
||||
}
|
||||
|
||||
@ -6,9 +6,6 @@ StyleBase {
|
||||
backgroundColor: "#ffffff"
|
||||
foregroundColor: "#638B87"
|
||||
|
||||
headerBackgroundColor: "#ffffff"
|
||||
headerForegroundColor: "#79a79f"
|
||||
|
||||
accentColor: "#8cc1b6"
|
||||
|
||||
interfaceColors: {
|
||||
|
||||
@ -6,9 +6,6 @@ StyleBase {
|
||||
backgroundColor: "#151515"
|
||||
foregroundColor: "#fefefe"
|
||||
|
||||
headerBackgroundColor: backgroundColor
|
||||
headerForegroundColor: foregroundColor
|
||||
|
||||
accentColor: "#ffb0d827"
|
||||
iconColor: "#fafafa"
|
||||
}
|
||||
|
||||
@ -6,9 +6,6 @@ StyleBase {
|
||||
backgroundColor: "#50514f"
|
||||
foregroundColor: "#ebebeb"
|
||||
|
||||
headerBackgroundColor: "#494948"
|
||||
headerForegroundColor: foregroundColor
|
||||
|
||||
accentColor: "#f45b69"
|
||||
iconColor: foregroundColor
|
||||
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
|
||||
@ -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))
|
||||
|
||||
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user