From 5b98e56c84783c46e0de043b9729c245be6ad902 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 1 Oct 2026 19:17:47 -0700 Subject: Use a two-tone paper and green pen icon for new posts --- src/features/messages.js | 3 ++- src/style.css | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/features/messages.js b/src/features/messages.js index 6d33cc3..1559f06 100644 --- a/src/features/messages.js +++ b/src/features/messages.js @@ -8392,7 +8392,8 @@ export function messagesFeature(ctx) { try { window.scrollTo({ top: 0, behavior: 'smooth' }); } catch { window.scrollTo(0, 0); } setTimeout(() => document.querySelector('.post-input')?.focus(), 60); }, - }, h('span', { style: 'display:flex', html: '' }), h('span', {}, t('feedPostFab'))), + }, h('span', { class: 'feed-compose-icon', 'aria-hidden': 'true', html: + '' }), h('span', {}, t('feedPostFab'))), visitor ? null : postComposer(), def.of && !ofLoaded(def) ? h('div', { class: 'row gap6', style: 'justify-content:center;align-items:center;padding:12px 0' }, diff --git a/src/style.css b/src/style.css index c7aec59..9c2f083 100644 --- a/src/style.css +++ b/src/style.css @@ -837,6 +837,9 @@ html.no-scroll { overflow: hidden; scrollbar-gutter: auto; } padding: 12px 18px; border-radius: 999px; font-weight: 600; box-shadow: 0 4px 14px rgba(0, 0, 0, .22); } +.feed-compose-icon { display: flex; flex-shrink: 0; } +.feed-compose-icon .compose-pen { stroke: #14935a; } +.feed-compose-icon .compose-pen-fill { fill: #14935a; opacity: .18; } .feed-page .feed-new-pill { bottom: calc(env(safe-area-inset-bottom, 0px) + 82px); } -- cgit v1.2.3