diff --git a/src/app/components/drawer/components/header-action-button.tsx b/src/app/components/drawer/components/header-action-button.tsx index f786d04977c..9df0fe20c5e 100644 --- a/src/app/components/drawer/components/header-action-button.tsx +++ b/src/app/components/drawer/components/header-action-button.tsx @@ -16,7 +16,7 @@ export function HeaderActionButton(props: HeaderActionButtonProps) { cursor: isWaitingOnPerformedAction ? 'unset' : 'pointer', }} data-testid={HomePageSelectors.DrawerHeaderActionBtn} - borderRadius="8px" + borderRadius="xs" color="accent.action-primary-default" height="36px" onClick={isWaitingOnPerformedAction ? undefined : onAction} diff --git a/src/app/components/fees-row/components/custom-fee-field.tsx b/src/app/components/fees-row/components/custom-fee-field.tsx index 00d8f417346..cc61499bf39 100644 --- a/src/app/components/fees-row/components/custom-fee-field.tsx +++ b/src/app/components/fees-row/components/custom-fee-field.tsx @@ -51,7 +51,7 @@ export function CustomFeeField({ {requester} diff --git a/src/app/components/secret-key/two-column.layout.tsx b/src/app/components/secret-key/two-column.layout.tsx index 92a41198954..460c9d43939 100644 --- a/src/app/components/secret-key/two-column.layout.tsx +++ b/src/app/components/secret-key/two-column.layout.tsx @@ -42,7 +42,7 @@ export function TwoColumnLayout({ pb={['space.02', 'space.05']} gap="space.04" backgroundColor="accent.background-primary" - borderRadius="8px" + borderRadius="xs" width="100%" flex="1" > diff --git a/src/app/components/sponsored-label.tsx b/src/app/components/sponsored-label.tsx index 267e8e62604..edf43209f2d 100644 --- a/src/app/components/sponsored-label.tsx +++ b/src/app/components/sponsored-label.tsx @@ -9,7 +9,7 @@ export function SponsoredLabel(): React.JSX.Element { diff --git a/src/app/components/text-input-field.tsx b/src/app/components/text-input-field.tsx index 5bd2ef04075..b6aa82184f5 100644 --- a/src/app/components/text-input-field.tsx +++ b/src/app/components/text-input-field.tsx @@ -57,7 +57,7 @@ export function TextInputField({ bottom: '-1px', }} border="default" - borderRadius="10px" + borderRadius="sm" className={css({ '& :has(:focus)::before': { border: '2px solid #bfc6ff', diff --git a/src/app/features/activity-list/components/transaction-list/stacks-transaction/tx-transfer-icon-wrapper.tsx b/src/app/features/activity-list/components/transaction-list/stacks-transaction/tx-transfer-icon-wrapper.tsx index 91182e88dbf..34e8f316f48 100644 --- a/src/app/features/activity-list/components/transaction-list/stacks-transaction/tx-transfer-icon-wrapper.tsx +++ b/src/app/features/activity-list/components/transaction-list/stacks-transaction/tx-transfer-icon-wrapper.tsx @@ -12,7 +12,7 @@ export function TxTransferIconWrapper({ icon }: TxTransferIconWrapperProps) { return ( Stacks API URL Bitcoin API URL onDismiss(id)} > diff --git a/src/app/features/increase-fee-drawer/components/increase-fee-actions.tsx b/src/app/features/increase-fee-drawer/components/increase-fee-actions.tsx index 5cc48b89bf1..a9808fa90d0 100644 --- a/src/app/features/increase-fee-drawer/components/increase-fee-actions.tsx +++ b/src/app/features/increase-fee-drawer/components/increase-fee-actions.tsx @@ -28,7 +28,7 @@ export function IncreaseFeeActions(props: IncreaseFeeActionsProps) { flex="1" onClick={handleSubmit as any} aria-busy={isLoading} - borderRadius="10px" + borderRadius="sm" aria-disabled={isDisabled} > {actionText} diff --git a/src/app/features/ledger/generic-steps/connect-device/connect-ledger-error.layout.tsx b/src/app/features/ledger/generic-steps/connect-device/connect-ledger-error.layout.tsx index 98739b311f2..92b6915c0bd 100644 --- a/src/app/features/ledger/generic-steps/connect-device/connect-ledger-error.layout.tsx +++ b/src/app/features/ledger/generic-steps/connect-device/connect-ledger-error.layout.tsx @@ -52,7 +52,7 @@ export function ConnectLedgerErrorLayout(props: ConnectLedgerErrorLayoutProps) { ) : ( Unable to connect )} - + {/* FIXME #4130: need to fix this color color: var(--color-grey-light-8, #BBB); */} diff --git a/src/app/features/settings-dropdown/components/settings-menu-wrapper.tsx b/src/app/features/settings-dropdown/components/settings-menu-wrapper.tsx index 254880007bf..1337b3154c7 100644 --- a/src/app/features/settings-dropdown/components/settings-menu-wrapper.tsx +++ b/src/app/features/settings-dropdown/components/settings-menu-wrapper.tsx @@ -10,7 +10,7 @@ export const MenuWrapper = forwardRef( isShowing ? ( diff --git a/src/app/features/stacks-transaction-request/contract-preview.tsx b/src/app/features/stacks-transaction-request/contract-preview.tsx index fd74c81a056..400ad664dcb 100644 --- a/src/app/features/stacks-transaction-request/contract-preview.tsx +++ b/src/app/features/stacks-transaction-request/contract-preview.tsx @@ -22,7 +22,7 @@ export function ContractPreviewLayout({ return ( {children} diff --git a/src/app/pages/onboarding/set-password/components/password-field.tsx b/src/app/pages/onboarding/set-password/components/password-field.tsx index acb1f15aa44..d2944b07ad6 100644 --- a/src/app/pages/onboarding/set-password/components/password-field.tsx +++ b/src/app/pages/onboarding/set-password/components/password-field.tsx @@ -34,7 +34,7 @@ export function PasswordField({ strengthResult, isDisabled }: PasswordFieldProps autoComplete="off" autoFocus border="active" - borderRadius="10px" + borderRadius="sm" data-testid={OnboardingSelectors.NewPasswordInput} disabled={isDisabled} height="64px" diff --git a/src/app/pages/receive/components/address-qr-code.tsx b/src/app/pages/receive/components/address-qr-code.tsx index ece753c93cc..61d70fb7dd2 100644 --- a/src/app/pages/receive/components/address-qr-code.tsx +++ b/src/app/pages/receive/components/address-qr-code.tsx @@ -23,7 +23,7 @@ export const QrCode = memo(({ principal, ...rest }: { principal: string }) => { alignItems="center" border="1px solid" borderColor="accent.border-default" - borderRadius="18px" + borderRadius="lg" boxShadow="low" justifyContent="center" mx="auto" diff --git a/src/app/pages/rpc-send-transfer/components/send-transfer-actions.tsx b/src/app/pages/rpc-send-transfer/components/send-transfer-actions.tsx index a933b4a8e37..1fa62fc761b 100644 --- a/src/app/pages/rpc-send-transfer/components/send-transfer-actions.tsx +++ b/src/app/pages/rpc-send-transfer/components/send-transfer-actions.tsx @@ -10,7 +10,7 @@ interface SendTransferActionsProps { export function SendTransferActions({ action, isLoading, onApprove }: SendTransferActionsProps) { return ( - + {action} diff --git a/src/app/pages/rpc-send-transfer/components/send-transfer-confirmation-details.tsx b/src/app/pages/rpc-send-transfer/components/send-transfer-confirmation-details.tsx index d6618247bc5..e84b29b1bb9 100644 --- a/src/app/pages/rpc-send-transfer/components/send-transfer-confirmation-details.tsx +++ b/src/app/pages/rpc-send-transfer/components/send-transfer-confirmation-details.tsx @@ -18,7 +18,7 @@ export function SendTransferConfirmationDetails({ - + {domainName} diff --git a/src/app/pages/swap/components/selected-asset.tsx b/src/app/pages/swap/components/selected-asset.tsx index 7c8bf701b6e..c2ede5a1dc5 100644 --- a/src/app/pages/swap/components/selected-asset.tsx +++ b/src/app/pages/swap/components/selected-asset.tsx @@ -12,7 +12,7 @@ export function SelectedAsset({ contentLeft, contentRight, name, showError }: Se _focusWithin={{ border: 'action' }} alignItems="center" border={showError ? 'error' : 'default'} - borderRadius="10px" + borderRadius="sm" display="flex" height="76px" htmlFor={name} diff --git a/src/app/pages/swap/components/swap-assets-pair/swap-assets-pair.layout.tsx b/src/app/pages/swap/components/swap-assets-pair/swap-assets-pair.layout.tsx index 47e3a929e06..0f8088303f2 100644 --- a/src/app/pages/swap/components/swap-assets-pair/swap-assets-pair.layout.tsx +++ b/src/app/pages/swap/components/swap-assets-pair/swap-assets-pair.layout.tsx @@ -10,7 +10,7 @@ export function SwapAssetsPairLayout({ swapAssetFrom, swapAssetTo }: SwapAssetsP return ( diff --git a/src/app/pages/update-profile-request/components/update-profile-error-msg.tsx b/src/app/pages/update-profile-request/components/update-profile-error-msg.tsx index 22e14e8f6ff..b4e805f098e 100644 --- a/src/app/pages/update-profile-request/components/update-profile-error-msg.tsx +++ b/src/app/pages/update-profile-request/components/update-profile-error-msg.tsx @@ -13,7 +13,7 @@ export function ErrorMessage(props: ErrorMessageProps) { return ( // #4476 TODO change this colour and migrate FiAlertTriangle - + {errorMessage} diff --git a/src/app/ui/components/spinner.tsx b/src/app/ui/components/spinner.tsx index c3b5d5e7aad..800268302a8 100644 --- a/src/app/ui/components/spinner.tsx +++ b/src/app/ui/components/spinner.tsx @@ -22,7 +22,7 @@ export function Spinner({ borderBottomColor={emptyColor} borderColor="currentColor" borderLeftColor={emptyColor} - borderRadius="100%" + borderRadius="lg" borderWidth={thickness} color={color} display="inline-block" diff --git a/test-app/src/components/tx-card.tsx b/test-app/src/components/tx-card.tsx index 59bc025e940..31fa26a9bf3 100644 --- a/test-app/src/components/tx-card.tsx +++ b/test-app/src/components/tx-card.tsx @@ -18,7 +18,7 @@ export const TxCard: React.FC = ({ tx, label }) => { mt={3} borderColor="#F0F0F5" borderWidth="1px" - borderRadius="12px" + borderRadius="md" p={6} _hover={{ borderColor: 'ink.400', diff --git a/theme/tokens.ts b/theme/tokens.ts index d13eb82b221..54ceea5a63a 100644 --- a/theme/tokens.ts +++ b/theme/tokens.ts @@ -18,6 +18,8 @@ export const tokens = defineTokens({ sm: { value: '10px' }, md: { value: '12px' }, lg: { value: '16px' }, + xl: { value: '20px' }, + xxl: { value: '24px' }, }, spacing: { // Numbers are padded with 0 to ensure they are sorted correctly in TS