From bb52c51b2f47faeb7ba232c8720500361808a410 Mon Sep 17 00:00:00 2001 From: diondiondion Date: Tue, 29 Sep 2026 10:56:02 +0000 Subject: [PATCH] Redesign: Update main navigation "New post" button & bg-highlight token (#40738) --- .../navigation_panel/redesign/index.tsx | 27 +++++++++++-------- .../redesign/styles.module.scss | 4 +++ .../styles/mastodon/tokens/theme/_dark.scss | 2 +- .../styles/mastodon/tokens/theme/_light.scss | 2 +- 4 files changed, 22 insertions(+), 13 deletions(-) diff --git a/app/javascript/mastodon/features/navigation_panel/redesign/index.tsx b/app/javascript/mastodon/features/navigation_panel/redesign/index.tsx index 7928a2f59ed..4184c0c408f 100644 --- a/app/javascript/mastodon/features/navigation_panel/redesign/index.tsx +++ b/app/javascript/mastodon/features/navigation_panel/redesign/index.tsx @@ -20,6 +20,7 @@ import { fetchFollowRequests } from '@/mastodon/actions/accounts'; import { fetchLists } from '@/mastodon/actions/lists'; import { closeNavigation } from '@/mastodon/actions/navigation'; import { fetchFollowedHashtags } from '@/mastodon/actions/tags_typed'; +import { Button } from '@/mastodon/components/button/redesign'; import { Callout } from '@/mastodon/components/callout/redesign'; import { FOCUS_TARGET } from '@/mastodon/components/navigation_focus_target'; import { useScrollSensor } from '@/mastodon/hooks/useScrollSensor'; @@ -170,17 +171,21 @@ export const RedesignNavigationPanel: React.FC<{ <> {transientSingleColumn && }