Repository navigation
HAN-10: Stashtag theme tokens, Home screen, pin app icon - #2
Open
StashtagAI wants to merge 3 commits into
Open
StashtagAI wants to merge 3 commits into
StashtagAI wants to merge 3 commits into
Conversation
… (HAN-10) - Light/dark theme from Color theme.pdf, following the system appearance. KindColors per kind with onColor/chip/onChip; Ink on Mint/Aqua, white only on light Cobalt/Indigo, Night on all dark kind colours. WCAG AA unit-tested. - Home to match the mockup: "Your stash" + search, 2x2 Eats/Trips/Recipes/Do tiles, "Recently stashed" rows (kind thumbnail, "Kind · from Instagram", #tag chip) on real Supabase items, pending links, loading/empty/error states, pinned "+ Stash a link" opening the intake sheet. - Tabs replaced by one stack: Home, Stash a link (form sheet), Kind > Category > List, List > Items. Sample library removed; screens use real data only. - Logo concept B (pin with #) in src/constants/brand.ts; <PinMark> for in-app and later map pins; `npm run icons` generates iOS light/dark/tinted icons, light/dark splash, Android adaptive layers and favicon from it. - Shared toggle behind Features.shared (off; Premium, later). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Rebuild the pin mark in src/constants/brand.ts on the geometry of the board's pin-icon-*.svg files (120 artboard, path, # lines, tile layout, stroke widths that grow as the icon shrinks). The originals live in assets/brand/ and a test checks the generator reproduces the primary, dark, mono and favicon SVGs. Regenerate the iOS, splash, Android and favicon PNGs from it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Supabase magic-link email carries no code unless the template is edited, so the board could not finish signing in on the iOS build. Password sign-in/sign-up is now the default; the magic link stays as an alternative. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is stacked on #1 (HAN-5). Merge #1 first, then retarget this PR to
main.What changed
src/constants/theme.ts,palette.ts): adds light and dark colour sets from Color theme.pdf, and the app follows the system appearance. Each kind has aKindColorsentry withcolor,onColor,chipandonChip:theme.test.tschecks every pairing meets WCAG AA (4.5:1) and that no tile puts white text on Mint or Aqua.#93A6BF, which is 6.5:1 on Surface.src/app/(app)/index.tsx) follows the mockup:itemsrows. Each row has a kind-coloured thumbnail, "Kind · from Instagram/TikTok" and a #tag chip.links.src/constants/brand.tsholds the mark, the only place it's defined.<PinMark>draws it in the app (using react-native-svg) and can be reused for map pins later.npm run iconsregenerates the iOS light, dark and tinted icons, the light and dark splash screens, the Android adaptive icon layers and the favicon..iconbundle is removed. I checked thatexpo prebuild -p iosproduces the AppIcon set with dark and tinted variants and the dark splash colour.Features.shared, which is off.Screenshots
I couldn't run the iOS simulator here. This runner is Linux with no Supabase anon key or test user. These screenshots come from the web build in a headless browser at iPhone 15 Pro size (393×852, @3x), with Supabase responses stubbed to match the mockup. The text is rendered in a Linux font rather than SF Pro.
App icon (light, dark, tinted, then 120/80/60/40), the light and dark splash, the Android monochrome icon and the favicon:

Checks
npm run typecheck,npm run lintandnpm test(40 tests) all pass, andexpo-doctorpasses 20/20 checks.Not verified yet
Both need a dev build or TestFlight run.
🤖 Generated with Claude Code