From 2b10ffb5eec07765eecb7dd9d8b86832fcf165d7 Mon Sep 17 00:00:00 2001 From: blueogin Date: Thu, 27 Aug 2026 11:17:08 -0400 Subject: [PATCH 1/3] fix: update background color to "$backgroundSurface" for consistency across components --- .../ai-credits-widget/src/components/buy/BuyerKeyPanel.tsx | 4 ++-- .../src/components/buy/OperatorConsentStep.tsx | 4 ++-- .../src/components/manage/BuyerOperatorCard.tsx | 2 +- .../ai-credits-widget/src/components/manage/SetupSnippet.tsx | 2 +- .../ai-credits-widget/src/components/setup/HowToUseView.tsx | 4 ++-- .../ai-credits-widget/src/components/setup/SignerKeyPanel.tsx | 1 - .../ai-credits-widget/src/components/shared/AddressView.tsx | 3 +-- 7 files changed, 9 insertions(+), 11 deletions(-) diff --git a/packages/ai-credits-widget/src/components/buy/BuyerKeyPanel.tsx b/packages/ai-credits-widget/src/components/buy/BuyerKeyPanel.tsx index 5a1e92e5..063bab27 100644 --- a/packages/ai-credits-widget/src/components/buy/BuyerKeyPanel.tsx +++ b/packages/ai-credits-widget/src/components/buy/BuyerKeyPanel.tsx @@ -62,7 +62,7 @@ export function BuyerKeyPanel({ Address (registered on-chain) Buyer address:{' '} - + {truncateAddress(buyerPubKey)} diff --git a/packages/ai-credits-widget/src/components/manage/BuyerOperatorCard.tsx b/packages/ai-credits-widget/src/components/manage/BuyerOperatorCard.tsx index 840c5cf5..bd04c489 100644 --- a/packages/ai-credits-widget/src/components/manage/BuyerOperatorCard.tsx +++ b/packages/ai-credits-widget/src/components/manage/BuyerOperatorCard.tsx @@ -60,7 +60,7 @@ function CopyableValue({ value, display }: { value: string; display?: string }) return ( setChoice('generate')} > diff --git a/packages/ai-credits-widget/src/components/shared/AddressView.tsx b/packages/ai-credits-widget/src/components/shared/AddressView.tsx index df5291b1..b90f85ec 100644 --- a/packages/ai-credits-widget/src/components/shared/AddressView.tsx +++ b/packages/ai-credits-widget/src/components/shared/AddressView.tsx @@ -11,7 +11,7 @@ export function AddressView({ label, address }: { label: string; address: string {label} Date: Thu, 27 Aug 2026 11:40:37 -0400 Subject: [PATCH 2/3] fix: update text tone to "soft" for improved readability across components --- .../ai-credits-widget/src/AiCreditsWidget.tsx | 24 +++++++++---------- .../src/components/buy/AiCreditsHero.tsx | 2 +- .../src/components/buy/AmountPicker.tsx | 12 +++++----- .../src/components/buy/BuyerKeyPanel.tsx | 6 ++--- .../components/buy/OperatorConsentStep.tsx | 6 ++--- .../src/components/history/HistoryTab.tsx | 16 ++++++------- .../components/manage/BuyerOperatorCard.tsx | 8 +++---- .../manage/CreditsManagementCard.tsx | 6 ++--- .../src/components/manage/SetupSnippet.tsx | 2 +- .../src/components/setup/AntseedSignerRow.tsx | 2 +- .../src/components/setup/HowToUseView.tsx | 12 +++++----- .../components/setup/SetupBonusHighlight.tsx | 6 ++--- .../src/components/setup/SetupFaqView.tsx | 2 +- .../components/setup/SetupGuidanceCard.tsx | 8 +++---- .../src/components/setup/SignerKeyPanel.tsx | 12 +++++----- .../src/components/shared/AddressView.tsx | 2 +- 16 files changed, 63 insertions(+), 63 deletions(-) diff --git a/packages/ai-credits-widget/src/AiCreditsWidget.tsx b/packages/ai-credits-widget/src/AiCreditsWidget.tsx index de3c3a94..1951d362 100644 --- a/packages/ai-credits-widget/src/AiCreditsWidget.tsx +++ b/packages/ai-credits-widget/src/AiCreditsWidget.tsx @@ -75,7 +75,7 @@ function SetupConnectPrompt({ }) { return ( - + Connect your wallet to get started - + One-time setup — optional for now. Take the steps in any order, or skip ahead and come back when you are ready to buy. @@ -170,7 +170,7 @@ function SwitchChainNotice({ Wrong Network - Please switch to the Celo network to continue. + Please switch to the Celo network to continue. - + New here? Start with the 3-minute video — it covers the whole journey, start to finish. @@ -104,7 +104,7 @@ export function HowToUseView({ onBack }: HowToUseViewProps) { Getting started with AI credits - + Wallet → buy credits → connect Antseed @@ -122,7 +122,7 @@ export function HowToUseView({ onBack }: HowToUseViewProps) { Full written guide{' '} - + Step-by-step walkthrough with screenshots, on Notion @@ -135,7 +135,7 @@ export function HowToUseView({ onBack }: HowToUseViewProps) { {/* Quick summary section */} - + QUICK SUMMARY @@ -168,7 +168,7 @@ export function HowToUseView({ onBack }: HowToUseViewProps) { {step.tabLabel} - + {step.description} @@ -177,7 +177,7 @@ export function HowToUseView({ onBack }: HowToUseViewProps) { {/* Security note */} - + Your G$ wallet is never exposed — only the scoped signer key. diff --git a/packages/ai-credits-widget/src/components/setup/SetupBonusHighlight.tsx b/packages/ai-credits-widget/src/components/setup/SetupBonusHighlight.tsx index 19041557..95434e2d 100644 --- a/packages/ai-credits-widget/src/components/setup/SetupBonusHighlight.tsx +++ b/packages/ai-credits-widget/src/components/setup/SetupBonusHighlight.tsx @@ -55,14 +55,14 @@ export function SetupBonusHighlight({ +{depositBonusPercent}% - + {' '} on deposits,{' '} +{streamBonusPercent}% - + {' '} on streams — paid with G$ @@ -74,7 +74,7 @@ export function SetupBonusHighlight({ {isExpanded && ( - + {isGoodIdVerified ? ( <> Your wallet is{' '} diff --git a/packages/ai-credits-widget/src/components/setup/SetupFaqView.tsx b/packages/ai-credits-widget/src/components/setup/SetupFaqView.tsx index 36ffd6d2..1419d7df 100644 --- a/packages/ai-credits-widget/src/components/setup/SetupFaqView.tsx +++ b/packages/ai-credits-widget/src/components/setup/SetupFaqView.tsx @@ -88,7 +88,7 @@ function FaqItem({ question, answer, expanded, onToggle }: FaqItemProps) { {expanded && ( - + {answer} )} diff --git a/packages/ai-credits-widget/src/components/setup/SetupGuidanceCard.tsx b/packages/ai-credits-widget/src/components/setup/SetupGuidanceCard.tsx index c3b22785..4a1a0365 100644 --- a/packages/ai-credits-widget/src/components/setup/SetupGuidanceCard.tsx +++ b/packages/ai-credits-widget/src/components/setup/SetupGuidanceCard.tsx @@ -40,7 +40,7 @@ export function SetupGuidanceCard({ // part of the header rather than a separate panel. {/* Tagline */} - + Buy AI credits with G$ for Claude Code, Codex, chat & other AI tools. @@ -52,7 +52,7 @@ export function SetupGuidanceCard({ {/* WHAT'S INVOLVED section */} - + WHAT'S INVOLVED: @@ -78,7 +78,7 @@ export function SetupGuidanceCard({ Get G${' '} - + — claim UBI via GoodWallet, or buy G$ with your wallet of choice @@ -104,7 +104,7 @@ export function SetupGuidanceCard({ Download Antseed{' '} - + — the free desktop app that runs your credits locally diff --git a/packages/ai-credits-widget/src/components/setup/SignerKeyPanel.tsx b/packages/ai-credits-widget/src/components/setup/SignerKeyPanel.tsx index cb389459..509f6ee0 100644 --- a/packages/ai-credits-widget/src/components/setup/SignerKeyPanel.tsx +++ b/packages/ai-credits-widget/src/components/setup/SignerKeyPanel.tsx @@ -113,7 +113,7 @@ export function SignerKeyPanel({ Back to Generate / Import Import Signer Key - + Already have a signer key in Antseed? Export it there and paste it below. It will be checked against the operator configured for this signer before you can continue. @@ -147,7 +147,7 @@ export function SignerKeyPanel({ Signer key cannot be used - + The imported signer key already has another operator configured. Paste a different signer key, or go back and generate a new one. @@ -157,10 +157,10 @@ export function SignerKeyPanel({ Signer imported - + {truncateAddress(state.buyerPubKey ?? '')} is now your active signer. - + {state.operatorConsented ? 'GoodDollar is already configured as the operator.' : currentOperator === ZERO_OPERATOR @@ -209,13 +209,13 @@ export function SignerKeyPanel({ {showHeading && Signer Key} {!compact && ( - + A dedicated identity used only to buy and spend AI credits — separate from your wallet. )} {compact ? {choices} : {choices}} {!compact && ( - + Generate is recommended for a fresh signer. Either direction uses the same key once it is set up in AntSeed. diff --git a/packages/ai-credits-widget/src/components/shared/AddressView.tsx b/packages/ai-credits-widget/src/components/shared/AddressView.tsx index b90f85ec..73d30dec 100644 --- a/packages/ai-credits-widget/src/components/shared/AddressView.tsx +++ b/packages/ai-credits-widget/src/components/shared/AddressView.tsx @@ -7,7 +7,7 @@ export function AddressView({ label, address }: { label: string; address: string return ( - + {label} Date: Thu, 27 Aug 2026 11:55:18 -0400 Subject: [PATCH 3/3] fix: update background color to "$background" for consistency across components --- .../src/components/history/HistoryTab.tsx | 10 +++++----- .../src/components/manage/BuyerOperatorCard.tsx | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/ai-credits-widget/src/components/history/HistoryTab.tsx b/packages/ai-credits-widget/src/components/history/HistoryTab.tsx index eebae4e7..6b826068 100644 --- a/packages/ai-credits-widget/src/components/history/HistoryTab.tsx +++ b/packages/ai-credits-widget/src/components/history/HistoryTab.tsx @@ -353,7 +353,7 @@ function SourceFilterChip({ borderRadius="$full" borderWidth={1} borderColor={selected ? '$primary' : '$borderColor'} - backgroundColor={selected ? '$infoMuted' : '$backgroundDark'} + backgroundColor={selected ? '$infoMuted' : '$background'} hoverStyle={{ opacity: 0.9, }} @@ -398,7 +398,7 @@ function StatusFilterSelect({ borderRadius="$3" borderWidth={1} borderColor="$borderColor" - backgroundColor="$backgroundDark" + backgroundColor="$background" cursor="pointer" onPress={() => setOpen((current) => !current)} > @@ -418,7 +418,7 @@ function StatusFilterSelect({ borderRadius="$3" borderWidth={1} borderColor="$borderColor" - backgroundColor="$backgroundDark" + backgroundColor="$background" overflow="hidden" zIndex={30} > @@ -490,7 +490,7 @@ function BuyerFilterSelect({ borderRadius="$3" borderWidth={1} borderColor="$borderColor" - backgroundColor="$backgroundDark" + backgroundColor="$background" cursor="pointer" onPress={() => setOpen((current) => !current)} > @@ -510,7 +510,7 @@ function BuyerFilterSelect({ borderRadius="$3" borderWidth={1} borderColor="$borderColor" - backgroundColor="$backgroundDark" + backgroundColor="$background" overflow="hidden" zIndex={35} > diff --git a/packages/ai-credits-widget/src/components/manage/BuyerOperatorCard.tsx b/packages/ai-credits-widget/src/components/manage/BuyerOperatorCard.tsx index f7e568c7..4609e73a 100644 --- a/packages/ai-credits-widget/src/components/manage/BuyerOperatorCard.tsx +++ b/packages/ai-credits-widget/src/components/manage/BuyerOperatorCard.tsx @@ -125,7 +125,7 @@ function BuyerSelector({ borderRadius="$2" borderWidth={1} borderColor={isActive ? '$primary' : '$borderColor'} - backgroundColor={isActive ? '$infoMuted' : '$backgroundDark'} + backgroundColor={isActive ? '$infoMuted' : '$background'} cursor={isActive ? 'default' : 'pointer'} hoverStyle={isActive ? {} : { backgroundColor: '$backgroundPress' }} onPress={() => { @@ -231,7 +231,7 @@ export function BuyerOperatorCard({ state, actions }: BuyerOperatorCardProps) { Active signer