Use this skill when creating or updating UI conventions, design tokens, colors, spacing, typography, or SwiftUI presentation guidance for payhub.
Use this file for UI rules that should stay consistent across the app. Follow the root SKILL.md, docs/SKILL.md, and payhub/SKILL.md before editing app UI.
payhub/Views/Shared/PayhubColor.swift..red, .green, .secondary, .black, .white, or Color(...).balancePositive, balanceNegative, or textSecondary.Button(role: .destructive) only when the role expresses behavior and accessibility, not custom styling.Assets.xcassets and expose it through PayhubColor.Use tokens directly in view modifiers:
Text("Paid")
.foregroundStyle(PayhubColor.textSecondary)
Use state-specific tokens instead of raw colors:
Text(amount)
.foregroundStyle(isPositive ? PayhubColor.balancePositive : PayhubColor.balanceNegative)
rg -n "\\.secondary|\\.primary|\\.green|\\.red|\\.blue|\\.orange|\\.yellow|\\.pink|\\.purple|\\.gray|\\.black|\\.white|Color\\(" payhub --glob '*.swift'.