Colored names for typingMembersBar
This commit is contained in:
parent
d83508742c
commit
1981a0f79a
|
@ -1,4 +1,4 @@
|
||||||
//Qt.include("../utils.js")
|
Qt.include("../utils.js")
|
||||||
|
|
||||||
|
|
||||||
function typingTextFor(members, our_user_id) {
|
function typingTextFor(members, our_user_id) {
|
||||||
|
@ -6,10 +6,9 @@ function typingTextFor(members, our_user_id) {
|
||||||
|
|
||||||
for (var i = 0; i < members.length; i++) {
|
for (var i = 0; i < members.length; i++) {
|
||||||
if (members[i] != our_user_id) {
|
if (members[i] != our_user_id) {
|
||||||
names.push(users.getUser(members[i]).displayName)
|
names.push(coloredNameHtml(
|
||||||
//names.push(coloredNameHtml(
|
users.getUser(members[i]).displayName, members[i]
|
||||||
//users.getUser(members[i]).displayName, members[i]
|
))
|
||||||
//))
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,8 @@ QtObject {
|
||||||
|
|
||||||
readonly property QtObject colors: QtObject {
|
readonly property QtObject colors: QtObject {
|
||||||
property color background0: Qt.hsla(0, 0, 0.9, 0.5)
|
property color background0: Qt.hsla(0, 0, 0.9, 0.5)
|
||||||
property color background1: Qt.hsla(0, 0, 0.9, 0.7)
|
property color background1: Qt.hsla(0, 0, 0.9, 0.6)
|
||||||
|
property color background2: Qt.hsla(0, 0, 0.9, 0.7)
|
||||||
property color foreground: "black"
|
property color foreground: "black"
|
||||||
property color foregroundDim: Qt.hsla(0, 0, 0.2, 1)
|
property color foregroundDim: Qt.hsla(0, 0, 0.2, 1)
|
||||||
property color foregroundError: Qt.hsla(0.95, 0.64, 0.32, 1)
|
property color foregroundError: Qt.hsla(0.95, 0.64, 0.32, 1)
|
||||||
|
@ -34,37 +35,37 @@ QtObject {
|
||||||
|
|
||||||
readonly property QtObject controls: QtObject {
|
readonly property QtObject controls: QtObject {
|
||||||
readonly property QtObject button: QtObject {
|
readonly property QtObject button: QtObject {
|
||||||
property color background: colors.background1
|
property color background: colors.background2
|
||||||
}
|
}
|
||||||
|
|
||||||
readonly property QtObject textField: QtObject {
|
readonly property QtObject textField: QtObject {
|
||||||
property color background: colors.background1
|
property color background: colors.background2
|
||||||
}
|
}
|
||||||
|
|
||||||
readonly property QtObject textArea: QtObject {
|
readonly property QtObject textArea: QtObject {
|
||||||
property color background: colors.background1
|
property color background: colors.background2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
readonly property QtObject sidePane: QtObject {
|
readonly property QtObject sidePane: QtObject {
|
||||||
property color background: colors.background1
|
property color background: colors.background2
|
||||||
|
|
||||||
readonly property QtObject settingsButton: QtObject {
|
readonly property QtObject settingsButton: QtObject {
|
||||||
property color background: colors.background1
|
property color background: colors.background2
|
||||||
}
|
}
|
||||||
|
|
||||||
readonly property QtObject filterRooms: QtObject {
|
readonly property QtObject filterRooms: QtObject {
|
||||||
property color background: colors.background1
|
property color background: colors.background2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
readonly property QtObject chat: QtObject {
|
readonly property QtObject chat: QtObject {
|
||||||
readonly property QtObject selectViewBar: QtObject {
|
readonly property QtObject selectViewBar: QtObject {
|
||||||
property color background: colors.background1
|
property color background: colors.background2
|
||||||
}
|
}
|
||||||
|
|
||||||
readonly property QtObject roomHeader: QtObject {
|
readonly property QtObject roomHeader: QtObject {
|
||||||
property color background: colors.background1
|
property color background: colors.background2
|
||||||
}
|
}
|
||||||
|
|
||||||
readonly property QtObject roomEventList: QtObject {
|
readonly property QtObject roomEventList: QtObject {
|
||||||
|
@ -73,35 +74,35 @@ QtObject {
|
||||||
|
|
||||||
readonly property QtObject message: QtObject {
|
readonly property QtObject message: QtObject {
|
||||||
property color ownBackground: Qt.hsla(0.07, 0.4, 0.82, 0.7)
|
property color ownBackground: Qt.hsla(0.07, 0.4, 0.82, 0.7)
|
||||||
property color background: colors.background1
|
property color background: colors.background2
|
||||||
property color body: colors.foreground
|
property color body: colors.foreground
|
||||||
property color date: colors.foregroundDim
|
property color date: colors.foregroundDim
|
||||||
}
|
}
|
||||||
|
|
||||||
readonly property QtObject daybreak: QtObject {
|
readonly property QtObject daybreak: QtObject {
|
||||||
property color background: colors.background1
|
property color background: colors.background2
|
||||||
property color foreground: colors.foreground
|
property color foreground: colors.foreground
|
||||||
property int radius: theme.radius
|
property int radius: theme.radius
|
||||||
}
|
}
|
||||||
|
|
||||||
readonly property QtObject inviteBanner: QtObject {
|
readonly property QtObject inviteBanner: QtObject {
|
||||||
property color background: colors.background1
|
property color background: colors.background2
|
||||||
}
|
}
|
||||||
|
|
||||||
readonly property QtObject leftBanner: QtObject {
|
readonly property QtObject leftBanner: QtObject {
|
||||||
property color background: colors.background1
|
property color background: colors.background2
|
||||||
}
|
}
|
||||||
|
|
||||||
readonly property QtObject unknownDevices: QtObject {
|
readonly property QtObject unknownDevices: QtObject {
|
||||||
property color background: colors.background1
|
property color background: colors.background2
|
||||||
}
|
}
|
||||||
|
|
||||||
readonly property QtObject typingMembers: QtObject {
|
readonly property QtObject typingMembers: QtObject {
|
||||||
property color background: colors.background0
|
property color background: colors.background1
|
||||||
}
|
}
|
||||||
|
|
||||||
readonly property QtObject sendBox: QtObject {
|
readonly property QtObject sendBox: QtObject {
|
||||||
property color background: colors.background1
|
property color background: colors.background2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user