From d2eed3af648be1a0221908a1cc1fd34c8d492214 Mon Sep 17 00:00:00 2001 From: Aline Gondim Santos <aline.gondimsantos@savoirfairelinux.com> Date: Fri, 7 Jul 2023 09:39:07 -0300 Subject: [PATCH] chatview timestamp: update colors + update scroll to bottom button radius GitLab: #1244 Change-Id: I76ef89123a9a1dfc521aff2983bd46288abab698 --- src/app/commoncomponents/TimestampInfo.qml | 2 +- src/app/constant/JamiTheme.qml | 2 +- src/app/mainview/components/ScrollToBottomButton.qml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/commoncomponents/TimestampInfo.qml b/src/app/commoncomponents/TimestampInfo.qml index cc56fc50f..5e9b6ce7b 100644 --- a/src/app/commoncomponents/TimestampInfo.qml +++ b/src/app/commoncomponents/TimestampInfo.qml @@ -97,7 +97,7 @@ ColumnLayout { Layout.topMargin: 30 Layout.bottomMargin: 30 Layout.alignment: Qt.AlignHCenter | Qt.AlignBottom - color: JamiTheme.timestampColor + color: JamiTheme.chatviewSecondaryInformationColor visible: showTime || showDay Layout.preferredHeight: visible * implicitHeight font.pointSize: JamiTheme.smallFontSize diff --git a/src/app/constant/JamiTheme.qml b/src/app/constant/JamiTheme.qml index af9b10101..fed95ed09 100644 --- a/src/app/constant/JamiTheme.qml +++ b/src/app/constant/JamiTheme.qml @@ -209,7 +209,7 @@ Item { property color chatviewLinkColorDark: "#353637" property real chatviewFontSize: calcSize(15) property real chatviewEmojiSize: calcSize(60) - property color timestampColor: darkTheme ? "#bbb" : "#777" + property color timestampColor: darkTheme ? "#515151" : "#E5E5E5" property color messageReplyColor: darkTheme ? "#bbb" : "#A7A7A7" property color messageOutTxtColor: "#000000" property color messageInBgColor: darkTheme ? "#303030" : "#dbdbdb" diff --git a/src/app/mainview/components/ScrollToBottomButton.qml b/src/app/mainview/components/ScrollToBottomButton.qml index c54cd3d40..033158890 100644 --- a/src/app/mainview/components/ScrollToBottomButton.qml +++ b/src/app/mainview/components/ScrollToBottomButton.qml @@ -101,7 +101,7 @@ Control { } background: Rectangle { - radius: 20 + radius: 5 color: CurrentConversation.color MouseArea { @@ -117,7 +117,7 @@ Control { z: -1 horizontalOffset: 3.0 verticalOffset: 3.0 - radius: 8.0 + radius: 5.0 color: JamiTheme.shadowColor transparentBorder: true samples: radius + 1 -- GitLab