Use semantic colors in the timeline text fields.
This commit is contained in:
parent
f736275c73
commit
a7f6b47f1a
@ -188,17 +188,23 @@ private extension TimelineTableCellView {
|
|||||||
func updateTextFieldColors() {
|
func updateTextFieldColors() {
|
||||||
|
|
||||||
updateTitleView()
|
updateTitleView()
|
||||||
|
|
||||||
|
titleView.textColor = NSColor.labelColor
|
||||||
|
feedNameView.textColor = NSColor.secondaryLabelColor
|
||||||
|
dateView.textColor = NSColor.secondaryLabelColor
|
||||||
|
summaryView.textColor = NSColor.secondaryLabelColor
|
||||||
|
textView.textColor = NSColor.labelColor
|
||||||
|
|
||||||
if isEmphasized && isSelected {
|
// if isEmphasized && isSelected {
|
||||||
textFields.forEach { $0.textColor = NSColor.white }
|
// textFields.forEach { $0.textColor = NSColor.white }
|
||||||
}
|
// }
|
||||||
else {
|
// else {
|
||||||
feedNameView.textColor = cellAppearance.feedNameColor
|
// feedNameView.textColor = cellAppearance.feedNameColor
|
||||||
dateView.textColor = cellAppearance.dateColor
|
// dateView.textColor = cellAppearance.dateColor
|
||||||
titleView.textColor = cellAppearance.titleColor
|
// titleView.textColor = cellAppearance.titleColor
|
||||||
summaryView.textColor = cellAppearance.textColor
|
// summaryView.textColor = cellAppearance.textColor
|
||||||
textView.textColor = cellAppearance.textOnlyColor
|
// textView.textColor = cellAppearance.textOnlyColor
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
func updateTextFieldFonts() {
|
func updateTextFieldFonts() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user