Skip to content

Add design system constants and replace hardcoded values#25

Merged
dadachi merged 4 commits intomainfrom
refactor/add-design-constants
Mar 30, 2026
Merged

Add design system constants and replace hardcoded values#25
dadachi merged 4 commits intomainfrom
refactor/add-design-constants

Conversation

@dadachi
Copy link
Copy Markdown
Contributor

@dadachi dadachi commented Mar 30, 2026

Summary

  • Add centralized design system constants for spacing, animation, glass effects, layout, and corner radius in Constants.swift
  • Replace hardcoded spacing and corner radius values across 25 UI files with NativeAppTemplateConstants.Spacing and NativeAppTemplateConstants.CornerRadius
  • Ensures consistent design system usage and easier future adjustments

Test plan

  • Build and run the app, verify all screens render correctly
  • Check spacing and corner radius values match previous visual appearance
  • Verify no regressions in onboarding, shop list, scan, and settings views

🤖 Generated with Claude Code

dadachi and others added 4 commits March 29, 2026 11:25
…r radius)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…lateConstants

Use NativeAppTemplateConstants.Spacing and NativeAppTemplateConstants.CornerRadius
throughout all UI files to ensure consistent design system usage and easier
future adjustments.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dadachi dadachi merged commit 8d92dfb into main Mar 30, 2026
2 checks passed
@dadachi dadachi deleted the refactor/add-design-constants branch March 30, 2026 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant