From 18353047bd1ca69bc7c3e4ca4470712a08666763 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 28 Jan 2026 10:04:45 +0000 Subject: [PATCH] Fix tooltip contrast in editor suggestion lists Use text-popover-foreground instead of text-muted-foreground for suggestion list components to ensure proper contrast with bg-popover background across all themes. https://claude.ai/code/session_0145zLfku7idq3WEqGzvTdvu --- src/components/editor/EmojiSuggestionList.tsx | 6 +++--- src/components/editor/ProfileSuggestionList.tsx | 6 +++--- src/components/editor/SlashCommandSuggestionList.tsx | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/components/editor/EmojiSuggestionList.tsx b/src/components/editor/EmojiSuggestionList.tsx index 4bcd16e..cefdc1c 100644 --- a/src/components/editor/EmojiSuggestionList.tsx +++ b/src/components/editor/EmojiSuggestionList.tsx @@ -93,7 +93,7 @@ export const EmojiSuggestionList = forwardRef< if (items.length === 0) { return ( -
+
No emoji found
); @@ -103,7 +103,7 @@ export const EmojiSuggestionList = forwardRef<
{items.map((item, index) => ( @@ -141,7 +141,7 @@ export const EmojiSuggestionList = forwardRef<
{/* Show selected emoji shortcode */} {items[selectedIndex] && ( -
+
:{items[selectedIndex].shortcode}:
)} diff --git a/src/components/editor/ProfileSuggestionList.tsx b/src/components/editor/ProfileSuggestionList.tsx index 60c00c4..231ce00 100644 --- a/src/components/editor/ProfileSuggestionList.tsx +++ b/src/components/editor/ProfileSuggestionList.tsx @@ -71,7 +71,7 @@ export const ProfileSuggestionList = forwardRef< if (items.length === 0) { return ( -
+
No profiles found
); @@ -81,7 +81,7 @@ export const ProfileSuggestionList = forwardRef<
{items.map((item, index) => (
{item.nip05 && ( -
+
{item.nip05}
)} diff --git a/src/components/editor/SlashCommandSuggestionList.tsx b/src/components/editor/SlashCommandSuggestionList.tsx index 3f383c5..ebea7c9 100644 --- a/src/components/editor/SlashCommandSuggestionList.tsx +++ b/src/components/editor/SlashCommandSuggestionList.tsx @@ -71,7 +71,7 @@ export const SlashCommandSuggestionList = forwardRef< if (items.length === 0) { return ( -
+
No commands available
); @@ -81,7 +81,7 @@ export const SlashCommandSuggestionList = forwardRef<
{items.map((item, index) => (