Add theme properties for autocompletion UI
This commit is contained in:
parent
044060d1c0
commit
12c47476fc
3
TODO.md
3
TODO.md
|
@ -1,10 +1,9 @@
|
||||||
# TODO
|
# TODO
|
||||||
|
|
||||||
|
- theme changelog
|
||||||
- update nio requirement
|
- update nio requirement
|
||||||
- improve auto completion delegate
|
|
||||||
|
|
||||||
- refresh server list button
|
- refresh server list button
|
||||||
- server list sorting method / explain what the % number is (stability)
|
|
||||||
|
|
||||||
- global presence control
|
- global presence control
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,7 @@ HTile {
|
||||||
displayName: model.display_name
|
displayName: model.display_name
|
||||||
mxc: model.avatar_url
|
mxc: model.avatar_url
|
||||||
compact: root.compact
|
compact: root.compact
|
||||||
|
radius: theme.chat.userAutoCompletion.avatarsRadius
|
||||||
|
|
||||||
implicitHeight:
|
implicitHeight:
|
||||||
compact ?
|
compact ?
|
||||||
|
@ -33,7 +34,7 @@ HTile {
|
||||||
(model.display_name || model.id) + (
|
(model.display_name || model.id) + (
|
||||||
model.display_name ?
|
model.display_name ?
|
||||||
" ".repeat(2) + utils.htmlColorize(
|
" ".repeat(2) + utils.htmlColorize(
|
||||||
model.id, theme.chat.roomPane.listView.member.subtitle,
|
model.id, theme.chat.userAutoCompletion.userIds,
|
||||||
) :
|
) :
|
||||||
""
|
""
|
||||||
)
|
)
|
||||||
|
@ -41,7 +42,7 @@ HTile {
|
||||||
color:
|
color:
|
||||||
root.colorName ?
|
root.colorName ?
|
||||||
utils.nameColor(model.display_name || model.id.substring(1)) :
|
utils.nameColor(model.display_name || model.id.substring(1)) :
|
||||||
theme.chat.roomPane.listView.member.name
|
theme.chat.userAutoCompletion.displayNames
|
||||||
|
|
||||||
Behavior on color { HColorAnimation {} }
|
Behavior on color { HColorAnimation {} }
|
||||||
}
|
}
|
||||||
|
|
|
@ -146,7 +146,7 @@ HListView {
|
||||||
Rectangle {
|
Rectangle {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
z: -1
|
z: -1
|
||||||
color: theme.chat.typingMembers.background
|
color: theme.chat.userAutoCompletion.background
|
||||||
}
|
}
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
|
|
|
@ -498,6 +498,12 @@ chat:
|
||||||
fileTransfer:
|
fileTransfer:
|
||||||
color background: chat.typingMembers.background
|
color background: chat.typingMembers.background
|
||||||
|
|
||||||
|
userAutoCompletion:
|
||||||
|
color background: chat.typingMembers.background
|
||||||
|
int avatarsRadius: controls.avatar.radius
|
||||||
|
color displayNames: colors.text
|
||||||
|
color userIds: colors.dimText
|
||||||
|
|
||||||
composer:
|
composer:
|
||||||
color background: colors.strongBackground
|
color background: colors.strongBackground
|
||||||
|
|
||||||
|
|
|
@ -507,6 +507,12 @@ chat:
|
||||||
fileTransfer:
|
fileTransfer:
|
||||||
color background: chat.typingMembers.background
|
color background: chat.typingMembers.background
|
||||||
|
|
||||||
|
userAutoCompletion:
|
||||||
|
color background: chat.typingMembers.background
|
||||||
|
int avatarsRadius: controls.avatar.radius
|
||||||
|
color displayNames: colors.text
|
||||||
|
color userIds: colors.dimText
|
||||||
|
|
||||||
composer:
|
composer:
|
||||||
color background: colors.strongBackground
|
color background: colors.strongBackground
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user