Fix selected-workspace status contrast
This commit is contained in:
parent
163f8572e4
commit
cdad265f1d
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue