Merged
Conversation
…Solana tx confirmation - Replace shared-components/tokens.css with shared-brand/design-tokens.css - Add gap variables (primary-hover, primary-bg, primary-shadow, etc.) to design-tokens.css - Add corresponding constants to BRAND_COLORS in shared-brand/index.ts - Update all CSS modules to use --color-primary-bg for background tint use case - Update hardcoded #375bd2 references to #0847f7 (official Chainlink brand) - Use BRAND_COLORS.primary for RainbowKit accent in both example apps - Fix chainlink-logo.svg fill color to match brand primary - Add Chainlink favicon to shared-brand and both example apps - Rename example 03 header to "Multichain Family Bridge" - Add poll-based Solana tx confirmation utility (shared-utils/solana.ts) - Wrap Solana send+confirm in retry loop to handle blockhash expiration
|
👋 aelmanaa, thanks for creating this pull request! To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team. Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks! |
SyedAsadKazmi
approved these changes
Feb 27, 2026
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 pull request centralizes design tokens for branding and color themes by moving them to the
shared-brandpackage, updates all app and component styles to use these shared tokens, and improves Solana transaction reliability with a retry mechanism. It also updates branding across the apps, including titles and favicons, and ensures all packages consistently depend on the new shared-brand package.Branding and Design Token Centralization
shared-componentstoshared-brand, makingshared-brandthe single source of truth for styles. All apps and components now import tokens from@ccip-examples/shared-brand/design-tokens.css. (packages/shared-components/src/styles/globals.css,packages/shared-brand/src/design-tokens.css,packages/shared-components/src/styles/tokens.css, [1] [2] [3] [4] [5] [6]BRAND_COLORSobject inshared-brandto include new variants (hover, background, shadow, tertiary, success/warning hover) for use in apps and components. (packages/shared-brand/src/index.ts, [1] [2]var(--color-primary-bg)instead ofvar(--color-primary-light)for background color, reflecting the new design tokens. (examples/03-multichain-bridge-dapp/src/components/transaction/TransactionHistory.module.css,packages/shared-components/src/FeeTokenOptions.module.css,packages/shared-components/src/bridge/BridgeForm.module.css,packages/shared-components/src/primitives/Alert.module.css, [1] [2] [3] [4] [5]packages/shared-components/src/ErrorBoundary.tsx,packages/shared-components/src/bridge/WalletConnect.module.css, [1] [2]Dependency and Import Updates
@ccip-examples/shared-brand, and import tokens or color objects from it. (examples/02-evm-simple-bridge/package.json,examples/03-multichain-bridge-dapp/package.json,packages/shared-components/package.json, [1] [2] [3]tokens.cssfromshared-componentsand replaced its usage with the new shared-brand tokens. (packages/shared-components/package.json, [1] [2] [3]App Branding Updates
examples/02-evm-simple-bridge/index.html,examples/03-multichain-bridge-dapp/index.html, [1] [2]examples/03-multichain-bridge-dapp/src/App.tsx, examples/03-multichain-bridge-dapp/src/App.tsxL125-R126)shared-brandpackage exports. (packages/shared-brand/package.json, packages/shared-brand/package.jsonL12-R13)Theme Usage in Components
BRAND_COLORS.primaryfor accent colors instead of hardcoded values, ensuring consistent branding. (examples/02-evm-simple-bridge/src/App.tsx,examples/03-multichain-bridge-dapp/src/App.tsx, [1] [2] [3] [4]Solana Transaction Reliability Improvements
examples/03-multichain-bridge-dapp/src/hooks/useSolanaTransfer.ts, [1] [2] [3]These changes ensure a consistent look and feel across all apps and components, simplify maintenance by centralizing style tokens, and improve reliability for Solana transfers.