diff --git a/src/internal/svg/baseNameSvg.tsx b/src/internal/svg/baseNameSvg.tsx index 7268ae92ad..b9a2ff0c3f 100644 --- a/src/internal/svg/baseNameSvg.tsx +++ b/src/internal/svg/baseNameSvg.tsx @@ -1,3 +1,5 @@ +import { fill } from '../../styles/theme'; + export const baseNameSvg = ( ); diff --git a/src/internal/svg/closeSvg.tsx b/src/internal/svg/closeSvg.tsx index 6f7c8844b7..29d3cce10b 100644 --- a/src/internal/svg/closeSvg.tsx +++ b/src/internal/svg/closeSvg.tsx @@ -1,3 +1,5 @@ +import { fill } from '../../styles/theme'; + export const closeSvg = ( Close SVG ); diff --git a/src/internal/svg/defaultAvatarSVG.tsx b/src/internal/svg/defaultAvatarSVG.tsx index 9368202dbc..05a4ef09dd 100644 --- a/src/internal/svg/defaultAvatarSVG.tsx +++ b/src/internal/svg/defaultAvatarSVG.tsx @@ -1,3 +1,5 @@ +import { fill } from '../../styles/theme'; + export const defaultAvatarSVG = ( ); diff --git a/src/internal/svg/disconnectSvg.tsx b/src/internal/svg/disconnectSvg.tsx index 49d2c7ce96..9899ba7532 100644 --- a/src/internal/svg/disconnectSvg.tsx +++ b/src/internal/svg/disconnectSvg.tsx @@ -1,3 +1,5 @@ +import { fill } from '../../styles/theme'; + export const disconnectSvg = ( ); diff --git a/src/internal/svg/walletSvg.tsx b/src/internal/svg/walletSvg.tsx index 20610b095e..5852e05ec4 100644 --- a/src/internal/svg/walletSvg.tsx +++ b/src/internal/svg/walletSvg.tsx @@ -1,3 +1,5 @@ +import { fill } from '../../styles/theme'; + export const walletSvg = ( ); diff --git a/src/swap/components/SwapAmountInput.tsx b/src/swap/components/SwapAmountInput.tsx index ac50c10e4d..8f2601cff9 100644 --- a/src/swap/components/SwapAmountInput.tsx +++ b/src/swap/components/SwapAmountInput.tsx @@ -74,7 +74,7 @@ export function SwapAmountInput({ className={cn( background.alternate, 'box-border flex w-full flex-col items-start', - 'rounded-md border-b border-solid p-4', + 'rounded-md p-4', className, )} data-testid="ockSwapAmountInput_Container" diff --git a/src/swap/components/SwapToggleButton.tsx b/src/swap/components/SwapToggleButton.tsx index 0ea2ed4132..d85d38ede1 100644 --- a/src/swap/components/SwapToggleButton.tsx +++ b/src/swap/components/SwapToggleButton.tsx @@ -1,4 +1,4 @@ -import { cn, pressable } from '../../styles/theme'; +import { border, cn, fill, pressable } from '../../styles/theme'; import type { SwapToggleButtonReact } from '../types'; import { useSwapContext } from './SwapProvider'; @@ -16,7 +16,7 @@ const toggleIcon = ( @@ -40,9 +40,10 @@ export function SwapToggleButton({ className }: SwapToggleButtonReact) { type="button" className={cn( pressable.alternate, + border.default, '-translate-x-2/4 -translate-y-2/4 absolute top-2/4 left-2/4', 'flex h-12 w-12 items-center justify-center', - 'rounded-lg border-4 border-gray-100 border-solid', + 'rounded-lg border-4 border-solid', className, )} data-testid="SwapTokensButton" diff --git a/src/token/components/SearchIcon.tsx b/src/token/components/SearchIcon.tsx index 9c0d23eb44..189b074a63 100644 --- a/src/token/components/SearchIcon.tsx +++ b/src/token/components/SearchIcon.tsx @@ -1,3 +1,5 @@ +import { fill } from '../../styles/theme'; + export function SearchIcon() { return ( ); diff --git a/src/token/components/TokenSelectButton.tsx b/src/token/components/TokenSelectButton.tsx index 5b85ef177c..5e87903d05 100644 --- a/src/token/components/TokenSelectButton.tsx +++ b/src/token/components/TokenSelectButton.tsx @@ -1,5 +1,5 @@ import { type ForwardedRef, forwardRef } from 'react'; -import { cn, pressable, text } from '../../styles/theme'; +import { cn, fill, pressable, text } from '../../styles/theme'; import type { TokenSelectButtonReact } from '../types'; import { TokenImage } from './TokenImage'; @@ -17,7 +17,7 @@ function CaretUp() { > ); @@ -37,7 +37,7 @@ function CaretDown() { > ); diff --git a/src/transaction/components/TransactionButton.tsx b/src/transaction/components/TransactionButton.tsx index 2f71579de1..0ea65b44b4 100644 --- a/src/transaction/components/TransactionButton.tsx +++ b/src/transaction/components/TransactionButton.tsx @@ -1,7 +1,7 @@ import { useMemo } from 'react'; import { Spinner } from '../../internal/components/Spinner'; import { checkmarkSvg } from '../../internal/svg/checkmarkSvg'; -import { background, cn, pressable, text } from '../../styles/theme'; +import { background, cn, color, pressable, text } from '../../styles/theme'; import type { TransactionButtonReact } from '../types'; import { isSpinnerDisplayed } from '../utils'; import { useTransactionContext } from './TransactionProvider'; @@ -72,7 +72,9 @@ export function TransactionButton({ {displaySpinner ? ( ) : ( - + {buttonContent} )}