mirror of
https://github.com/kilyabin/psysonic.git
synced 2026-07-22 06:25:41 +00:00
feat(orbit): replace topbar trigger label with custom wordmark SVG
Inline SVG component using currentColor so the wordmark inherits the button's accent tint and hover state. Hover rotation is now scoped to the lucide spinner icon so the wordmark doesn't tilt with it. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -11891,14 +11891,14 @@ html[data-psy-native-hidden="true"] *::after {
|
||||
border-color: color-mix(in srgb, var(--accent) 45%, var(--ctp-surface1));
|
||||
transition: color 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 200ms ease;
|
||||
}
|
||||
.orbit-start-trigger svg { transition: transform 260ms ease; }
|
||||
.orbit-start-trigger__spin { transition: transform 260ms ease; }
|
||||
.orbit-start-trigger:hover {
|
||||
color: var(--accent);
|
||||
border-color: color-mix(in srgb, var(--accent) 70%, transparent);
|
||||
background: color-mix(in srgb, var(--accent) 10%, var(--bg-hover));
|
||||
box-shadow: 0 0 12px -3px color-mix(in srgb, var(--accent) 55%, transparent);
|
||||
}
|
||||
.orbit-start-trigger:hover svg { transform: rotate(45deg); }
|
||||
.orbit-start-trigger:hover .orbit-start-trigger__spin { transform: rotate(45deg); }
|
||||
|
||||
/* Launch popover — three-option menu anchored below the topbar trigger. */
|
||||
.orbit-launch-pop {
|
||||
|
||||
Reference in New Issue
Block a user