PortraitRow supports color overlay for portrait

This commit is contained in:
Dan Ballard 2020-11-03 17:05:40 -08:00
parent 925796d468
commit 621a846f95
5 changed files with 15 additions and 1 deletions

View File

@ -43,6 +43,9 @@ Item {
property alias content: extraMeta.children
property alias portraitOverlayColor: portrait.overlayColor
property alias portraitPerformTransform: portrait.performTransform
signal clicked(string handle)
Rectangle { // CONTACT ENTRY BACKGROUND COLOR

View File

@ -43,7 +43,7 @@ ThemeType {
portraitOnlineTextColor: whitePurple
portraitConnectingBorderColor: purple //mauvePurple
portraitConnectingBackgroundColor: purple //darkGreyPurple
portraitConnectingTextColor: whitePurple
portraitConnectingTextColor: purple
portraitOfflineBorderColor: purple
portraitOfflineBackgroundColor: purple
portraitOfflineTextColor: purple
@ -58,6 +58,9 @@ ThemeType {
portraitContactBadgeTextColor: whitePurple
portraitProfileBadgeColor: mauvePurple
portraitProfileBadgeTextColor: darkGreyPurple
portraitOverlayOfflineColor: mauvePurple
dropShadowColor: mauvePurple
dropShadowPaneColor: darkGreyPurple

View File

@ -59,6 +59,9 @@ ThemeType {
portraitContactBadgeTextColor: whitePurple
portraitProfileBadgeColor: brightPurple
portraitProfileBadgeTextColor: whitePurple
portraitOverlayOfflineColor: whitePurple
dropShadowColor: purple
dropShadowPaneColor: purple

View File

@ -55,6 +55,8 @@ Item {
readonly property color portraitProfileBadgeColor: theme.portraitProfileBadgeColor
readonly property color portraitProfileBadgeTextColor: theme.portraitProfileBadgeTextColor
readonly property color portraitOverlayOfflineColor: theme.portraitOverlayOfflineColor
readonly property color toggleColor: theme.toggleColor
readonly property color toggleOffColor: theme.toggleOffColor
readonly property color toggleOnColor: theme.toggleOnColor

View File

@ -49,6 +49,9 @@ QtObject {
property color portraitContactBadgeTextColor: "red"
property color portraitProfileBadgeColor: "red"
property color portraitProfileBadgeTextColor: "red"
property color portraitOverlayOfflineColor: "red"
property color dropShadowColor: "black"
property color dropShadowPaneColor: "black"
property color toggleColor: "black"