Skip to content

Commit bd8ab4a

Browse files
caybrojrainville
authored andcommitted
fix(StatusMessageEmojiReactions): update corner shape and bg color
- align with latest Figma designs Fixes #19327
1 parent aa576f0 commit bd8ab4a

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

storybook/pages/StatusMessagePage.qml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,3 +314,4 @@ SplitView {
314314

315315
// category: Components
316316
// status: good
317+
// https://www.figma.com/design/SGyfSjxs5EbzimHDXTlj8B/Qt-Responsive---v?node-id=3232-99870&t=Is21W638A25DzExb-0

ui/StatusQ/src/StatusQ/Components/private/statusMessage/StatusMessageEmojiReactions.qml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,18 @@ Flow {
5050
id: reactionDelegate
5151

5252
size: StatusBaseButton.Size.Small
53-
implicitHeight: 32
54-
5553
verticalPadding: Theme.halfPadding / 2
5654
leftPadding: Theme.halfPadding
5755
rightPadding: Theme.halfPadding / 2
5856
spacing: Theme.halfPadding / 2
5957

6058
background: Rectangle {
6159
implicitWidth: 36
62-
radius: Theme.radius
60+
implicitHeight: 32
61+
topLeftRadius: 0
62+
topRightRadius: 12
63+
bottomLeftRadius: 12
64+
bottomRightRadius: 12
6365
color: {
6466
if (reactionDelegate.hovered) {
6567
return Theme.palette.statusMessage.emojiReactionBackgroundHovered

ui/StatusQ/src/StatusQ/Core/Theme/StatusDarkTheme.qml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,9 @@ ThemePalette {
169169
}
170170

171171
statusMessage: QtObject {
172-
property color emojiReactionBackground: "#2d2823"
173-
property color emojiReactionBackgroundHovered: "#3d352e"
174-
property color emojiReactionBorderHovered: baseColor3
172+
property color emojiReactionBackground: baseColor4
173+
property color emojiReactionBackgroundHovered: primaryColor3
174+
property color emojiReactionBorderHovered: primaryColor2
175175
}
176176

177177
customisationColors: QtObject {

ui/StatusQ/src/StatusQ/Core/Theme/StatusLightTheme.qml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,9 @@ ThemePalette {
169169
}
170170

171171
statusMessage: QtObject {
172-
property color emojiReactionBackground: "#e2e6e9"
173-
property color emojiReactionBackgroundHovered: "#E7EAEE"
174-
property color emojiReactionBorderHovered: "#A1ABBD"
172+
property color emojiReactionBackground: baseColor4
173+
property color emojiReactionBackgroundHovered: primaryColor2
174+
property color emojiReactionBorderHovered: primaryColor3
175175
}
176176

177177
customisationColors: QtObject {

0 commit comments

Comments
 (0)