From d673dc206ac13e1fd96e6e504eb2c088bd73d24a Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Thu, 16 Apr 2026 10:46:53 -0600 Subject: [PATCH] fix(ui): thicken action-btn-circle stroke from 1px to 2px (3px primary) The 1px inset stroke on .action-btn-circle read as jagged at standard resolution (sub-pixel antialiasing artifacts) and effectively invisible on HiDPI displays. Bump the resting stroke to 2px (secondary) and 3px (primary play button) so it survives both; hover states scale with it to keep the visual hierarchy. The extra pixels eat slightly into the concentric fill, per the requested trade-off. Applies to all reuse sites: Album/Artist/Playlist/Label/FavQ detail headers, DynamicSuggest, ForYouTab, LocalLibrary, etc. cc --- src/app.css | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/app.css b/src/app.css index 4e66d5b2e..5d15b9f6d 100644 --- a/src/app.css +++ b/src/app.css @@ -1568,14 +1568,16 @@ select { background: transparent; color: var(--text-muted); cursor: pointer; - box-shadow: inset 0 0 0 1px var(--border-strong); + /* 2px inset stroke (was 1px) — 1px disappears on HiDPI and looks jagged + from sub-pixel antialiasing at the default resolution. */ + box-shadow: inset 0 0 0 2px var(--border-strong); transition: background 150ms ease, color 150ms ease, box-shadow 150ms ease; } .action-btn-circle:hover:not(:disabled) { background: var(--bg-hover); color: var(--text-primary); - box-shadow: inset 0 0 0 1px var(--text-primary); + box-shadow: inset 0 0 0 2px var(--text-primary); } .action-btn-circle:disabled { @@ -1589,18 +1591,20 @@ select { background: var(--accent-primary); border: none; color: var(--text-primary); - box-shadow: inset 0 0 0 2px var(--border-subtle); + /* 3px inset stroke (was 2px) keeps the visual hierarchy vs the smaller + secondary buttons now that both got bumped. */ + box-shadow: inset 0 0 0 3px var(--border-subtle); transition: background 150ms ease, box-shadow 200ms ease; } .action-btn-circle.primary:hover { background: var(--accent-hover); - box-shadow: inset 0 0 0 2px var(--text-primary); + box-shadow: inset 0 0 0 3px var(--text-primary); } .action-btn-circle.is-active { background: rgba(var(--accent-primary-rgb, 66, 133, 244), 0.15); - box-shadow: inset 0 0 0 1px var(--accent-primary); + box-shadow: inset 0 0 0 2px var(--accent-primary); color: var(--accent-primary); }