Adopt hightlighted colors for the category tags.
This commit is contained in:
parent
829c265234
commit
2230fefbea
3 changed files with 5 additions and 3 deletions
|
@ -93,6 +93,7 @@ Dialog {
|
|||
id: categoryRepeater
|
||||
model: account.categories
|
||||
BackgroundItem {
|
||||
id: categoryBackground
|
||||
width: categoryRectangle.width
|
||||
height: categoryRectangle.height
|
||||
Rectangle {
|
||||
|
@ -106,7 +107,7 @@ Dialog {
|
|||
id: categoryLabel
|
||||
anchors.centerIn: parent
|
||||
text: modelData
|
||||
color: Theme.primaryColor
|
||||
color: categoryBackground.highlighted ? Theme.highlightColor : Theme.primaryColor
|
||||
font.pixelSize: Theme.fontSizeSmall
|
||||
}
|
||||
}
|
||||
|
|
|
@ -168,6 +168,7 @@ Dialog {
|
|||
id: categoryRepeater
|
||||
model: account.categories
|
||||
BackgroundItem {
|
||||
id: categoryBackground
|
||||
width: categoryRectangle.width
|
||||
height: categoryRectangle.height
|
||||
Rectangle {
|
||||
|
@ -181,7 +182,7 @@ Dialog {
|
|||
id: categoryLabel
|
||||
anchors.centerIn: parent
|
||||
text: modelData
|
||||
color: Theme.primaryColor
|
||||
color: categoryBackground.highlighted ? Theme.highlightColor : Theme.primaryColor
|
||||
font.pixelSize: Theme.fontSizeSmall
|
||||
}
|
||||
}
|
||||
|
|
|
@ -156,7 +156,7 @@ Page {
|
|||
id: categoryLabel
|
||||
anchors.centerIn: parent
|
||||
text: category
|
||||
color: Theme.secondaryColor
|
||||
color: note.highlighted ? Theme.secondaryHighlightColor : Theme.secondaryColor
|
||||
font.pixelSize: Theme.fontSizeExtraSmall
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue