fix(theme): sidebar hover unreadable (sidebarTextHoverBg must be hex) #14

Merged
mohlec merged 1 commit from theme/sidebar-hover-fix into slash/main 2026-07-15 20:55:30 +00:00
Owner

Slash/Slash Dark set sidebarTextHoverBg to an rgba() string; toRgbValues() assumes hex, so --sidebar-text-hover-bg-rgb became NaN,NaN,85 and the sidebar hover rendered white -> channel names unreadable on hover. Converted both to the equivalent hex (#551F49 / #421A38), matching how every upstream theme defines it. Webapp-only.

Slash/Slash Dark set sidebarTextHoverBg to an rgba() string; toRgbValues() assumes hex, so --sidebar-text-hover-bg-rgb became NaN,NaN,85 and the sidebar hover rendered white -> channel names unreadable on hover. Converted both to the equivalent hex (#551F49 / #421A38), matching how every upstream theme defines it. Webapp-only.
fix(theme): sidebar hover unreadable — sidebarTextHoverBg must be hex, not rgba()
All checks were successful
Build Slash Webapp / branding-audit (pull_request) Successful in 33s
Build Slash Webapp / build-webapp (pull_request) Has been skipped
4e9d89b18e
Slash/Slash Dark set sidebarTextHoverBg to an rgba() string; toRgbValues()
assumes hex (hexStr.substr(1,2)), so --sidebar-text-hover-bg-rgb became
'NaN, NaN, 85' and the sidebar's rgba(var(--sidebar-text-hover-bg-rgb), a) hover
rendered white -> channel names unreadable on hover. Convert to equivalent hex:
slash #551F49, slash_dark #421A38 (matching how upstream themes define it).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
mohlec merged commit a5418d8799 into slash/main 2026-07-15 20:55:30 +00:00
mohlec deleted branch theme/sidebar-hover-fix 2026-07-15 20:55:30 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
slash/slash-server!14
No description provided.