Update text color based on system color scheme #40
Closed
feifanzhou
started this conversation in
General
Replies: 1 comment 1 reply
-
It looks like this is the Demo app issue. The problem is that AttributedString(string, attributes: AttributeContainer().foregroundColor(NSColor.textColor)) I'm going to update demo app code with this |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! In the
STTextViewUI.TextView
example, the text color doesn't change when the system color scheme changes, leading to a default of dark text in dark mode:I attempted a naive fix, but it has no effect on the preview. I'm happy to investigate further if you have some pointers about where to look.
It looks like
colorScheme
is referenced inTextView
, but isn't used anywhere. Was this meant to be used somewhere?Beta Was this translation helpful? Give feedback.
All reactions