Skip to content

Commit 7abc208

Browse files
committed
Fix accessory text color for dark tahoe tabs. Fixes a problem where Pasting... in dark mode had dark text
1 parent 9650169 commit 7abc208

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

ThirdParty/PSMTabBarControl/source/PSMTahoeTabStyle.swift

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1627,11 +1627,15 @@ class PSMTahoeDarkTabStyle: PSMTahoeTabStyle {
16271627
blue: 0.19,
16281628
alpha: 1.0)
16291629
}
1630-
1630+
16311631
override func accessoryStrokeColor() -> NSColor {
16321632
return NSColor.darkGray
16331633
}
1634-
1634+
1635+
override func accessoryTextColor() -> NSColor {
1636+
return NSColor(srgbRed: 0.958, green: 0.958, blue: 0.958, alpha: 1)
1637+
}
1638+
16351639
override func backgroundColorSelected(_ selected: Bool, highlightAmount: CGFloat) -> NSColor {
16361640
if selected {
16371641
if tabBar?.window?.isMainWindow == true && NSApp.isActive {

0 commit comments

Comments
 (0)