Fix selected-workspace status contrast

This commit is contained in:
austinpower1258 2026-02-26 15:12:10 -08:00
parent 163f8572e4
commit cdad265f1d

View file

@ -7470,6 +7470,11 @@ private struct SidebarMetadataEntryRow: View {
}
private var foregroundColor: Color {
if isActive,
let raw = entry.color,
Color(hex: raw) != nil {
return Color(nsColor: sidebarSelectedWorkspaceForegroundNSColor(opacity: 0.95))
}
if let raw = entry.color, let explicit = Color(hex: raw) {
return explicit
}