Skip to content

Add semantic colour tokens and dark mode support - #133

Merged
peter-paystack merged 1 commit into
mainfrom
feature/DarkMode
Aug 27, 2026
Merged

Add semantic colour tokens and dark mode support#133
peter-paystack merged 1 commit into
mainfrom
feature/DarkMode

Conversation

@peter-paystack

Copy link
Copy Markdown
Collaborator

Introduce a Semantic colour set (surface/border/content/accent/state) backed
by light+dark values in Colors.xcassets, exposed via Color extensions, and
migrate every PaystackUI view off literal colours and legacy hue tokens.

Also adds DarkModePreviews for visual checks and two SwiftLint custom rules
that flag literal colours and direct hue-token use in view code.
Simulator Screenshot - iPhone 17 Pro - 2026-08-27 at 13 52 56
Simulator Screenshot - iPhone 17 Pro - 2026-08-27 at 13 53 16

  Introduce a Semantic colour set (surface/border/content/accent/state) backed
  by light+dark values in Colors.xcassets, exposed via Color extensions, and
  migrate every PaystackUI view off literal colours and legacy hue tokens.

  Also adds DarkModePreviews for visual checks and two SwiftLint custom rules
  that flag literal colours and direct hue-token use in view code.
@peter-paystack peter-paystack self-assigned this Aug 27, 2026
@peter-paystack peter-paystack added the enhancement New feature or request label Aug 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor
Warnings
⚠️ The source files were changed, but the tests remain unmodified. Consider updating or adding to the tests to match the source changes.

Generated by 🚫 Danger Swift against be0516c

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@peter-paystack
peter-paystack merged commit 018c8de into main Aug 27, 2026
3 of 5 checks passed
@peter-paystack
peter-paystack deleted the feature/DarkMode branch August 27, 2026 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants