Txt Colors

Pick text colors that adapt to dark mode, vibrancy, and accessibility settings across UIKit, AppKit, and SwiftUI — semantic label colors, AppKit's textColor vs labelColor split, dark-mode adaptation rules, wide-color (Display P3), HDR/EDR limits for text. Use when text disappears in dark mode, an attributed string defaults to invisible black, an NSTextView body looks dim, you're picking between systemRed and a P3 red, or designing for high-contrast accessibility. Read the actual color initializers and trait responses before reciting fixes — the patterns here describe how color adaptation usually fails, not where the bug is in your code.

sitapix 37f39e1 13.2 KB Updated

File contents

sitapix/apple-text/tree/main/skills/txt-colors commit 37f39e1c80

Frequently asked questions

npx skillmds@latest add sitapix/txt-colors