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
This commit is contained in:
vicrodh committed 2026-04-16 10:46:53 -06:00
1 parent 0d852410f2
commit d673dc206a
1 file changed
+9 -5
+9 -5
View File
@@ -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);
}