Merge PR #990: Allow styling of tabbar icon color

This commit is contained in:
jenkins 2023-03-08 23:16:20 +01:00
commit 6496d6005a
2 changed files with 3 additions and 2 deletions

View File

@ -4,6 +4,7 @@ Item {
property color backgroundColor: "#fafafa"
property color foregroundColor: "#202020"
property color unobtrusiveForegroundColor: Qt.tint(foregroundColor, Qt.rgba(backgroundColor.r, backgroundColor.g, backgroundColor.b, 0.4))
property color navBarForegroundColor: foregroundColor
property color accentColor: "#57baae"
property color iconColor: "#808080"

View File

@ -54,13 +54,13 @@ TabButton {
width: Style.iconSize
height: Style.iconSize
name: root.iconSource
color: Style.foregroundColor
color: Style.navBarForegroundColor
}
Label {
id: textLabel
text: root.text
font.pixelSize: app.smallFont
color: Style.foregroundColor
color: Style.navBarForegroundColor
}
}
}