apple-text-colors

Select semantic text colors for UIKit, AppKit, and SwiftUI interfaces.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/sitapix/apple-text --skill apple-text-colors
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: apple-text-colors
Source: https://github.com/sitapix/apple-text/tree/main/skills/apple-text-colors
Command: npx skills add https://github.com/sitapix/apple-text --skill apple-text-colors

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Choosing the right text colors across UIKit, AppKit, and SwiftUI to maintain accessibility and proper appearance in light and dark modes.

Core Features & Use Cases

  • Semantic color guidance for labels, links, and text in different UI contexts
  • Dark mode adaptation and wide-color considerations for body and accent text
  • Use Case: Design an app UI that seamlessly switches between light and dark themes while preserving readability

Quick Start

Ask for guidance on selecting semantic text colors that adapt across UIKit, AppKit, and SwiftUI.

Frequently Asked Questions about apple-text-colors

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I choose semantic text colors in SwiftUI that adapt to dark mode?

Semantic text colors in SwiftUI adapt to dark mode by using system tokens like label and secondaryLabel instead of hard-coded black or white. This ensures your text maintains proper contrast and readability across both light and dark UI themes automatically.

Why does my UIKit text become unreadable when switching to dark mode?

UIKit text becomes unreadable in dark mode when hard-coded black or white values are used instead of semantic colors. You need to apply dynamic system label colors that automatically adapt their appearance to the current interface theme.

What's the best way to handle wide color and HDR text contexts in AppKit?

Handling wide color and HDR text contexts in AppKit requires selecting appropriate system text colors that support dynamic color adaptation. Using semantic label tokens ensures your text appearance correctly adjusts across different display gamuts and accessibility contexts.

Can I use the same dynamic type semantic colors across UIKit, AppKit, and SwiftUI?

UIKit, AppKit, and SwiftUI each implement semantic colors differently, but the underlying concepts of dynamic type adaptation and dark mode compatibility are shared. You must apply the correct platform-specific semantic tokens to ensure accessibility across all three frameworks.

When should I not use hard-coded black or white for UI text?

You should avoid hard-coded black or white UI text whenever your app supports dark mode, dynamic type, or wide color gamuts. Using semantic label colors ensures your interface remains accessible and readable across all system appearance contexts.