refactor(ui): share cross-platform visual semantics - #3649
refactor(ui): share cross-platform visual semantics#3649richardsolomou wants to merge 11 commits into
Conversation
Generated-By: PostHog Code Task-Id: 40c57a59-b4e1-4760-8e56-ecd03e9c2f0f
Generated-By: PostHog Code Task-Id: 40c57a59-b4e1-4760-8e56-ecd03e9c2f0f
Generated-By: PostHog Code Task-Id: 40c57a59-b4e1-4760-8e56-ecd03e9c2f0f
Generated-By: PostHog Code Task-Id: 40c57a59-b4e1-4760-8e56-ecd03e9c2f0f
Generated-By: PostHog Code Task-Id: 40c57a59-b4e1-4760-8e56-ecd03e9c2f0f
Generated-By: PostHog Code Task-Id: 40c57a59-b4e1-4760-8e56-ecd03e9c2f0f
Generated-By: PostHog Code Task-Id: 40c57a59-b4e1-4760-8e56-ecd03e9c2f0f
Generated-By: PostHog Code Task-Id: 40c57a59-b4e1-4760-8e56-ecd03e9c2f0f
|
React Doctor found no issues in the changed files. 🎉 Reviewed by React Doctor for commit |
Generated-By: PostHog Code Task-Id: 40c57a59-b4e1-4760-8e56-ecd03e9c2f0f
Generated-By: PostHog Code Task-Id: 40c57a59-b4e1-4760-8e56-ecd03e9c2f0f
7195e61 to
01aec6d
Compare
|
✨ Submitted to Merge by @richardsolomou. It will be added to the merge queue once all branch protection rules pass and there are no merge conflicts with the target branch. See more details here. |
Generated-By: PostHog Code Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
|
Reviews (1): Last reviewed commit: "Merge main into cross-platform visual se..." | Re-trigger Greptile |
|
Hey @richardsolomou, we've migrated this repo into the PostHog/posthog monorepo, so this PR needs to be recreated there. Easiest path: check out the monorepo and run the Shout if you get stuck. |
Problem
Desktop and mobile duplicate the same application palette, so editor, terminal, confetti, and native rendering can drift. Mobile also maps pull-request lifecycle states independently from the existing core presentation policy.
Changes
Move the application palette and brand colors into
@posthog/shared, then consume those tokens from mobile and desktop rendering. Mobile's PR badge now uses the core PR visual policy while retaining its native component and icons.How did you test this?
Automatic notifications
Created with PostHog Code