feat(StatusQ.Theme.Core): introduce theme colors for StatusChatInput (#299)

There's some usage specific color being added to the chat input (which doesn't live in
StatusQ yet). To make sure we don't lose that change, I'm adding the new
colors to StatusQ theming system and have Status Desktop use it for the time being
until `StatusChatInput` is moved to StatusQ anyways.
This commit is contained in:
Pascal Precht 2021-07-28 22:16:54 +02:00 committed by Michał Cieślak
parent e5d0c0733c
commit 7c4f042e30
3 changed files with 12 additions and 0 deletions

View File

@ -172,5 +172,9 @@ ThemePalette {
property QtObject statusRoundedImage: QtObject {
property color backgroundColor: baseColor3
}
property QtObject statusChatInput: QtObject {
property color secondaryBackgroundColor: "#414141"
}
}

View File

@ -170,5 +170,9 @@ ThemePalette {
property QtObject statusRoundedImage: QtObject {
property color backgroundColor: white
}
property QtObject statusChatInput: QtObject {
property color secondaryBackgroundColor: "#E2E6E8"
}
}

View File

@ -134,6 +134,10 @@ QtObject {
property color backgroundColor
}
property QtObject statusChatInput: QtObject {
property color secondaryBackgroundColor
}
function alphaColor(color, alpha) {
let actualColor = Qt.darker(color, 1)
actualColor.a = alpha