From b44c34d43f0865f6df2c6ff17f8698916f6652a1 Mon Sep 17 00:00:00 2001 From: Mattermost Build Date: Tue, 28 Jan 2025 11:21:44 +0200 Subject: [PATCH] MM-62726 fix the active label color for channel and thread (#8523) (#8525) * MM-62726 fix the active label color for channel and thread * Updated snapshot (cherry picked from commit 1bd2e0b66558f2b029abe64af5171759c010134c) Co-authored-by: Rajat Dabade --- .../__snapshots__/channel_item.test.tsx.snap | 16 ---------------- app/components/channel_item/channel_item.tsx | 1 - .../__snapshots__/threads_button.test.tsx.snap | 8 -------- 3 files changed, 25 deletions(-) diff --git a/app/components/channel_item/__snapshots__/channel_item.test.tsx.snap b/app/components/channel_item/__snapshots__/channel_item.test.tsx.snap index 6a6487670..608d84a2c 100644 --- a/app/components/channel_item/__snapshots__/channel_item.test.tsx.snap +++ b/app/components/channel_item/__snapshots__/channel_item.test.tsx.snap @@ -93,10 +93,6 @@ exports[`components/channel_list/categories/body/channel_item should match snaps }, { "color": "#ffffff", - "fontFamily": "OpenSans", - "fontSize": 16, - "fontWeight": "400", - "lineHeight": 24, }, false, null, @@ -218,10 +214,6 @@ exports[`components/channel_list/categories/body/channel_item should match snaps }, { "color": "#ffffff", - "fontFamily": "OpenSans", - "fontSize": 16, - "fontWeight": "400", - "lineHeight": 24, }, false, null, @@ -260,10 +252,6 @@ exports[`components/channel_list/categories/body/channel_item should match snaps }, { "color": "#ffffff", - "fontFamily": "OpenSans", - "fontSize": 16, - "fontWeight": "400", - "lineHeight": 24, }, false, null, @@ -374,10 +362,6 @@ exports[`components/channel_list/categories/body/channel_item should match snaps }, { "color": "#ffffff", - "fontFamily": "OpenSans", - "fontSize": 16, - "fontWeight": "400", - "lineHeight": 24, }, false, null, diff --git a/app/components/channel_item/channel_item.tsx b/app/components/channel_item/channel_item.tsx index 5f4eb9e7d..c67ac1213 100644 --- a/app/components/channel_item/channel_item.tsx +++ b/app/components/channel_item/channel_item.tsx @@ -52,7 +52,6 @@ export const getStyleSheet = makeStyleSheetFromTheme((theme: Theme) => ({ }, text: { color: theme.sidebarText, - ...typography('Body', 200), }, highlight: { color: theme.sidebarUnreadText, diff --git a/app/components/threads_button/__snapshots__/threads_button.test.tsx.snap b/app/components/threads_button/__snapshots__/threads_button.test.tsx.snap index f3a48348a..5da99c2df 100644 --- a/app/components/threads_button/__snapshots__/threads_button.test.tsx.snap +++ b/app/components/threads_button/__snapshots__/threads_button.test.tsx.snap @@ -80,10 +80,6 @@ exports[`Thread item in the channel list Threads Component should match snapshot }, { "color": "#ffffff", - "fontFamily": "OpenSans", - "fontSize": 16, - "fontWeight": "400", - "lineHeight": 24, }, false, false, @@ -179,10 +175,6 @@ exports[`Thread item in the channel list Threads Component should match snapshot }, { "color": "#ffffff", - "fontFamily": "OpenSans", - "fontSize": 16, - "fontWeight": "400", - "lineHeight": 24, }, false, false,