diff --git a/src/app.css b/src/app.css index 0f8fd93..eee524c 100644 --- a/src/app.css +++ b/src/app.css @@ -115,23 +115,13 @@ img[src*="profile" i] { filter: grayscale(100%) sepia(12%) hue-rotate(200deg) saturate(35%) !important; } -/* Emoji images - grayscale like profile pics */ -/* Only apply filter to actual image elements, not text emojis */ -.emoji, -[class*="emoji"], +/* Emoji images - no grayscale filter, display in full color */ +/* Only apply to actual image elements, not text emojis */ img[alt*="emoji" i], img[src*="emoji" i], img.emoji-inline { - filter: grayscale(100%) sepia(15%) hue-rotate(200deg) saturate(60%) brightness(0.95); display: inline-block; -} - -.dark .emoji, -.dark [class*="emoji"], -.dark img[alt*="emoji" i], -.dark img[src*="emoji" i], -.dark img.emoji-inline { - filter: grayscale(100%) sepia(20%) hue-rotate(200deg) saturate(70%) brightness(0.9); + /* No grayscale filter - emojis should be in full color */ } /* Ensure normal Unicode emojis (text characters) are displayed correctly */ @@ -141,17 +131,7 @@ body, .markdown-content, .post-content { /* Normal emojis are text, not images, so no filter should apply */ } -/* Apply grayscale filter to reaction buttons containing emojis */ -/* But exclude emoji menu items - they should be full color */ -.reaction-btn:not(.reaction-menu-item), -.Feed-reaction-buttons button:not(.reaction-menu-item) { - filter: grayscale(100%) sepia(15%) hue-rotate(200deg) saturate(60%) brightness(0.95); -} - -.dark .reaction-btn:not(.reaction-menu-item), -.dark .Feed-reaction-buttons button:not(.reaction-menu-item) { - filter: grayscale(100%) sepia(20%) hue-rotate(200deg) saturate(70%) brightness(0.9); -} +/* Reaction buttons - no grayscale filter, emojis should be in full color */ /* Content images should be prominent - no grayscale filters */ .markdown-content img, diff --git a/src/lib/components/content/EmojiDrawer.svelte b/src/lib/components/content/EmojiDrawer.svelte new file mode 100644 index 0000000..3c7b7b1 --- /dev/null +++ b/src/lib/components/content/EmojiDrawer.svelte @@ -0,0 +1,339 @@ + + +{#if open} +
+