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:
1 file changed
+9
-5
+9
-5
@@ -1568,14 +1568,16 @@ select {
|
|||||||
background: transparent;
|
background: transparent;
|
||||||
color: var(--text-muted);
|
color: var(--text-muted);
|
||||||
cursor: pointer;
|
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;
|
transition: background 150ms ease, color 150ms ease, box-shadow 150ms ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.action-btn-circle:hover:not(:disabled) {
|
.action-btn-circle:hover:not(:disabled) {
|
||||||
background: var(--bg-hover);
|
background: var(--bg-hover);
|
||||||
color: var(--text-primary);
|
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 {
|
.action-btn-circle:disabled {
|
||||||
@@ -1589,18 +1591,20 @@ select {
|
|||||||
background: var(--accent-primary);
|
background: var(--accent-primary);
|
||||||
border: none;
|
border: none;
|
||||||
color: var(--text-primary);
|
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;
|
transition: background 150ms ease, box-shadow 200ms ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.action-btn-circle.primary:hover {
|
.action-btn-circle.primary:hover {
|
||||||
background: var(--accent-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 {
|
.action-btn-circle.is-active {
|
||||||
background: rgba(var(--accent-primary-rgb, 66, 133, 244), 0.15);
|
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);
|
color: var(--accent-primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user