feat(ui): Tamagui design system package #17

Merged
admin-mrrm merged 1 commit from feat/ui-package into main 2026-04-15 17:05:00 +02:00
Owner

Summary

  • Adds @mrrmlab/ui as a source-only workspace package consumed directly by Vite (web) and Metro (mobile)
  • Wraps @tamagui/config/v3 with mrrmlab_light / mrrmlab_dark brand themes via module augmentation
  • Exports UiProvider plus first cross-platform primitives: Screen (YStack container) and ListItem (Checkbox + Label row)

Notes

  • tsconfig.json sets declaration: false — the package is source-only, so declaration emit would just trip over pnpm-internal paths in Tamagui type inference (TS2742)
  • ListItem uses a Tamagui Text glyph for the checkmark instead of <svg> so it renders identically on web and React Native
  • react-native is an optional peer dependency — apps without RN (e.g. the web app) can skip it

Test plan

  • pnpm --filter @mrrmlab/ui typecheck passes
  • pnpm -r typecheck passes (whole workspace still clean)
  • End-to-end render verification happens in #11 (web app) and #12 (mobile app)

Closes #9

## Summary - Adds `@mrrmlab/ui` as a source-only workspace package consumed directly by Vite (web) and Metro (mobile) - Wraps `@tamagui/config/v3` with `mrrmlab_light` / `mrrmlab_dark` brand themes via module augmentation - Exports `UiProvider` plus first cross-platform primitives: `Screen` (YStack container) and `ListItem` (Checkbox + Label row) ## Notes - `tsconfig.json` sets `declaration: false` — the package is source-only, so declaration emit would just trip over pnpm-internal paths in Tamagui type inference (TS2742) - `ListItem` uses a Tamagui `Text` glyph for the checkmark instead of `<svg>` so it renders identically on web and React Native - `react-native` is an **optional** peer dependency — apps without RN (e.g. the web app) can skip it ## Test plan - [x] `pnpm --filter @mrrmlab/ui typecheck` passes - [x] `pnpm -r typecheck` passes (whole workspace still clean) - [ ] End-to-end render verification happens in #11 (web app) and #12 (mobile app) Closes #9
Adds @mrrmlab/ui as a source-only workspace package that consumers
(Vite web, Expo mobile) bundle directly. Wraps @tamagui/config/v3 with
mrrmlab_light/mrrmlab_dark brand themes and exports UiProvider plus the
first cross-platform primitives (Screen, ListItem).

Closes #9

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
admin-mrrm deleted branch feat/ui-package 2026-04-15 17:05:00 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
admin-mrrm/mrrmlabapp!17
No description provided.