From 6d1d626d876950e0e1187b42ecf048ee5f212766 Mon Sep 17 00:00:00 2001 From: pewdiepie-archdaemon Date: Thu, 11 Jun 2026 09:17:04 +0900 Subject: [PATCH] Email accounts strip: swap default-star for a dot, nudge up 2px MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace the star polygon with a small 8px circle dot — filled + accent-tinted on the default account, hollow + muted on others. Vertical position bumped up 2px via top: calc(50% - 2px) so it visually centers against the chip's text baseline instead of geometric center. --- static/js/emailLibrary.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/static/js/emailLibrary.js b/static/js/emailLibrary.js index b1883eb21..de7b791ca 100644 --- a/static/js/emailLibrary.js +++ b/static/js/emailLibrary.js @@ -1333,16 +1333,16 @@ function _renderAccountsStrip() { // 'Default' rather than 'All (default)' — this view shows the account // marked is_default; cross-account aggregation is a separate feature. let html = ``; - const _starFilled = ''; - const _starHollow = ''; + const _dotFilled = ''; + const _dotHollow = ''; for (const a of state._libAccounts) { const active = state._libAccountId === a.id ? ' active' : ''; const label = a.name || a.from_address || a.imap_user || 'account'; - const star = a.is_default ? _starFilled : _starHollow; - const starTitle = a.is_default ? 'Default account' : 'Set as default'; + const dot = a.is_default ? _dotFilled : _dotHollow; + const dotTitle = a.is_default ? 'Default account' : 'Set as default'; html += `` - + `` - + `` + + `` + + `` + ``; } strip.innerHTML = html;