diff --git a/Example/SwiftEntryKit/Playground/Cells/SelectionTableViewCell.swift b/Example/SwiftEntryKit/Playground/Cells/SelectionTableViewCell.swift index 4ff85ba1..5e5b491e 100644 --- a/Example/SwiftEntryKit/Playground/Cells/SelectionTableViewCell.swift +++ b/Example/SwiftEntryKit/Playground/Cells/SelectionTableViewCell.swift @@ -135,7 +135,7 @@ class SelectionTableViewCell: SelectionBaseCell { ) segmentedControl.setTitleTextAttributes( [NSAttributedString.Key.foregroundColor: - EKColor.standardContent.inverted.color( + EKColor.selectedContent.color( for: traitCollection, mode: PresetsDataSource.displayMode ) diff --git a/Source/Model/EKColor.swift b/Source/Model/EKColor.swift index 64f81bdf..947c3377 100644 --- a/Source/Model/EKColor.swift +++ b/Source/Model/EKColor.swift @@ -107,4 +107,8 @@ public extension EKColor { static var standardContent: EKColor { return EKColor(light: .black, dark: .white) } + + static var selectedContent : EKColor{ + return EKColor(light: .black, dark: .black) + } }