Skip to content

Commit 4b0458f

Browse files
authored
SG-40910 Fix banner text contrast on macOS in Adobe apps (#132)
* Fix banner text contrast on macOS in Adobe apps The banner info message displayed at the top of the Loader after triggering actions (e.g., "Open File") had poor contrast on macOS, especially in Photoshop and After Effects. The text appeared in beige color on a blue background, making it nearly unreadable. The issue was caused by using palette().text() for the text color, which is designed for use on the base background color, not on a highlight background. Changed to use palette().highlightedText() instead, which is specifically designed for text displayed on highlight-colored backgrounds, ensuring proper contrast across all platforms and applications. Fixes text readability in banner messages on macOS in Adobe DCCs.
1 parent f5cc9e1 commit 4b0458f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/tk_multi_loader/banner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def __init__(self, parent):
3939
border-bottom-right-radius: 10px;
4040
""".format(
4141
highlight=self.palette().highlight().color().name(),
42-
text=self.palette().text().color().name(),
42+
text=self.palette().highlightedText().color().name(),
4343
)
4444
)
4545

0 commit comments

Comments
 (0)