Commit 928d6c84 authored by tom's avatar tom

design fixes, pt.1

parent b518b5af
...@@ -149,8 +149,8 @@ const semanticTokens: ThemingConfig['semanticTokens'] = { ...@@ -149,8 +149,8 @@ const semanticTokens: ThemingConfig['semanticTokens'] = {
}, },
tooltip: { tooltip: {
DEFAULT: { DEFAULT: {
bg: { value: { _light: '{colors.gray.700}', _dark: '{colors.gray.200}' } }, bg: { value: '{colors.gray.900}' },
fg: { value: { _light: '{colors.white}', _dark: '{colors.black}' } }, fg: { value: '{colors.white}' },
}, },
navigation: { navigation: {
bg: { value: { _light: '{colors.blue.50}', _dark: '{colors.gray.800}' } }, bg: { value: { _light: '{colors.blue.50}', _dark: '{colors.gray.800}' } },
...@@ -431,7 +431,7 @@ const semanticTokens: ThemingConfig['semanticTokens'] = { ...@@ -431,7 +431,7 @@ const semanticTokens: ThemingConfig['semanticTokens'] = {
error: { value: '{colors.red.500}' }, error: { value: '{colors.red.500}' },
}, },
border: { border: {
divider: { value: { _light: '{colors.blackAlpha.200}', _dark: '{colors.whiteAlpha.200}' } }, divider: { value: { _light: '{colors.blackAlpha.100}', _dark: '{colors.whiteAlpha.100}' } },
error: { value: '{colors.red.500}' }, error: { value: '{colors.red.500}' },
}, },
icon: { icon: {
......
...@@ -40,6 +40,7 @@ export const recipe = defineSlotRecipe({ ...@@ -40,6 +40,7 @@ export const recipe = defineSlotRecipe({
}, },
cell: { cell: {
borderBottomWidth: '1px', borderBottomWidth: '1px',
borderColor: 'border.divider',
}, },
row: { row: {
bg: 'bg', bg: 'bg',
......
...@@ -29,10 +29,10 @@ const AddressCoinBalanceListItem = (props: Props) => { ...@@ -29,10 +29,10 @@ const AddressCoinBalanceListItem = (props: Props) => {
</Skeleton> </Skeleton>
<Skeleton loading={ props.isLoading }> <Skeleton loading={ props.isLoading }>
<Stat.Root flexGrow="0" positive={ isPositiveDelta } size="sm"> <Stat.Root flexGrow="0" positive={ isPositiveDelta } size="sm">
{ isPositiveDelta ? <Stat.UpIndicator/> : <Stat.DownIndicator/> }
<Stat.ValueText fontWeight={ 600 }> <Stat.ValueText fontWeight={ 600 }>
{ deltaBn.dp(8).toFormat() } { deltaBn.dp(8).toFormat() }
</Stat.ValueText> </Stat.ValueText>
{ isPositiveDelta ? <Stat.UpIndicator/> : <Stat.DownIndicator/> }
</Stat.Root> </Stat.Root>
</Skeleton> </Skeleton>
</Flex> </Flex>
......
...@@ -58,10 +58,10 @@ const AddressCoinBalanceTableItem = (props: Props) => { ...@@ -58,10 +58,10 @@ const AddressCoinBalanceTableItem = (props: Props) => {
<TableCell isNumeric display="flex" justifyContent="end"> <TableCell isNumeric display="flex" justifyContent="end">
<Skeleton loading={ props.isLoading }> <Skeleton loading={ props.isLoading }>
<Stat.Root flexGrow="0" size="sm" positive={ isPositiveDelta }> <Stat.Root flexGrow="0" size="sm" positive={ isPositiveDelta }>
{ isPositiveDelta ? <Stat.UpIndicator/> : <Stat.DownIndicator/> }
<Stat.ValueText fontWeight={ 600 }> <Stat.ValueText fontWeight={ 600 }>
{ deltaBn.dp(8).toFormat() } { deltaBn.dp(8).toFormat() }
</Stat.ValueText> </Stat.ValueText>
{ isPositiveDelta ? <Stat.UpIndicator/> : <Stat.DownIndicator/> }
</Stat.Root> </Stat.Root>
</Skeleton> </Skeleton>
</TableCell> </TableCell>
......
...@@ -57,11 +57,11 @@ const ContractAbi = ({ abi, addressHash, sourceAddress, tab, visibleItems }: Pro ...@@ -57,11 +57,11 @@ const ContractAbi = ({ abi, addressHash, sourceAddress, tab, visibleItems }: Pro
<Flex mb={ 3 }> <Flex mb={ 3 }>
<Box fontWeight={ 500 } mr="auto">Contract information</Box> <Box fontWeight={ 500 } mr="auto">Contract information</Box>
{ abi.length > 1 && ( { abi.length > 1 && (
<Link onClick={ handleExpandAll }> <Link onClick={ handleExpandAll } variant="secondary">
{ expandedSections.length === abi.length ? 'Collapse' : 'Expand' } all { expandedSections.length === abi.length ? 'Collapse' : 'Expand' } all
</Link> </Link>
) } ) }
<Link onClick={ handleReset } ml={ 3 }>Reset</Link> <Link onClick={ handleReset } ml={ 3 } variant="secondary">Reset</Link>
</Flex> </Flex>
<AccordionRoot multiple lazyMount position="relative" onValueChange={ handleAccordionStateChange } value={ expandedSections }> <AccordionRoot multiple lazyMount position="relative" onValueChange={ handleAccordionStateChange } value={ expandedSections }>
{ abi.map((item, index) => ( { abi.map((item, index) => (
......
...@@ -70,7 +70,7 @@ const ContractAbiItem = ({ data, index, id, addressHash, sourceAddress, tab, onS ...@@ -70,7 +70,7 @@ const ContractAbiItem = ({ data, index, id, addressHash, sourceAddress, tab, onS
alignItems="center" alignItems="center"
columnGap={ 2 } columnGap={ 2 }
> >
<CopyToClipboard text={ url } type="link" ml={ 0 } color="text.secondary" as="div"/> <CopyToClipboard text={ url } type="link" ml={ 0 } as="div"/>
<Box fontWeight={ 500 } display="flex" alignItems="center"> <Box fontWeight={ 500 } display="flex" alignItems="center">
{ index + 1 }. { data.type === 'fallback' || data.type === 'receive' ? data.type : data.name } { index + 1 }. { data.type === 'fallback' || data.type === 'receive' ? data.type : data.name }
{ data.type === 'fallback' && ( { data.type === 'fallback' && (
......
...@@ -47,6 +47,7 @@ const AddressMultichainButton = ({ item, addressHash, onClick, hasSingleProvider ...@@ -47,6 +47,7 @@ const AddressMultichainButton = ({ item, addressHash, onClick, hasSingleProvider
textStyle="sm" textStyle="sm"
fontWeight="medium" fontWeight="medium"
onClick={ onClick } onClick={ onClick }
noIcon={ !hasSingleProvider }
> >
{ buttonContent } { buttonContent }
</Link> </Link>
......
...@@ -96,7 +96,7 @@ const ContractVerificationFieldMethod = ({ methods }: Props) => { ...@@ -96,7 +96,7 @@ const ContractVerificationFieldMethod = ({ methods }: Props) => {
<Hint <Hint
label={ tooltipContent } label={ tooltipContent }
verticalAlign="text-bottom" verticalAlign="text-bottom"
tooltipProps={{ interactive: true, contentProps: { textAlign: 'left', className: 'light' } }} tooltipProps={{ interactive: true, contentProps: { textAlign: 'left' } }}
/> />
</Box> </Box>
<FormFieldSelect<FormFields, 'method'> <FormFieldSelect<FormFields, 'method'>
......
...@@ -40,10 +40,9 @@ const LatestTxsItem = ({ tx, isLoading }: Props) => { ...@@ -40,10 +40,9 @@ const LatestTxsItem = ({ tx, isLoading }: Props) => {
gridGap={ 8 } gridGap={ 8 }
width="100%" width="100%"
minW="700px" minW="700px"
borderTop="1px solid" borderBottom="1px solid"
borderColor="border.divider" borderColor="border.divider"
p={ 4 } p={ 4 }
_last={{ borderBottom: '1px solid', borderColor: 'border.divider' }}
display={{ base: 'none', lg: 'grid' }} display={{ base: 'none', lg: 'grid' }}
> >
<Flex overflow="hidden" w="100%"> <Flex overflow="hidden" w="100%">
......
...@@ -32,10 +32,9 @@ const LatestTxsItem = ({ tx, isLoading }: Props) => { ...@@ -32,10 +32,9 @@ const LatestTxsItem = ({ tx, isLoading }: Props) => {
return ( return (
<Box <Box
width="100%" width="100%"
borderTop="1px solid" borderBottom="1px solid"
borderColor="border.divider" borderColor="border.divider"
py={ 4 } py={ 4 }
_last={{ borderBottom: '1px solid', borderColor: 'border.divider' }}
display={{ base: 'block', lg: 'none' }} display={{ base: 'block', lg: 'none' }}
> >
<Flex justifyContent="space-between"> <Flex justifyContent="space-between">
......
...@@ -138,11 +138,10 @@ const LatestDepositsItem = ({ item, isLoading }: ItemProps) => { ...@@ -138,11 +138,10 @@ const LatestDepositsItem = ({ item, isLoading }: ItemProps) => {
return ( return (
<Box <Box
width="100%" width="100%"
borderTop="1px solid" borderBottom="1px solid"
borderColor="border.divider" borderColor="border.divider"
py={ 4 } py={ 4 }
px={{ base: 0, lg: 4 }} px={{ base: 0, lg: 4 }}
_last={{ borderBottom: '1px solid', borderColor: 'border.divider' }}
textStyle="sm" textStyle="sm"
> >
{ content } { content }
......
...@@ -328,6 +328,7 @@ const MarketplaceAppModal = ({ ...@@ -328,6 +328,7 @@ const MarketplaceAppModal = ({
alignItems="center" alignItems="center"
justifyContent="center" justifyContent="center"
external external
noIcon
flexShrink={ 0 } flexShrink={ 0 }
> >
<IconSvg <IconSvg
......
...@@ -396,7 +396,6 @@ const AddressPageContent = () => { ...@@ -396,7 +396,6 @@ const AddressPageContent = () => {
noLink noLink
isSafeAddress={ isSafeAddress } isSafeAddress={ isSafeAddress }
icon={{ color: isSafeAddress ? { _light: 'black', _dark: 'white' } : undefined }} icon={{ color: isSafeAddress ? { _light: 'black', _dark: 'white' } : undefined }}
mr={ 4 }
/> />
{ !isLoading && addressQuery.data?.is_contract && addressQuery.data.token && { !isLoading && addressQuery.data?.is_contract && addressQuery.data.token &&
<AddressAddToWallet token={ addressQuery.data.token } variant="button"/> } <AddressAddToWallet token={ addressQuery.data.token } variant="button"/> }
......
...@@ -27,7 +27,7 @@ const UserOpsListItem = ({ item, isLoading }: Props) => { ...@@ -27,7 +27,7 @@ const UserOpsListItem = ({ item, isLoading }: Props) => {
<ListItemMobileGrid.Label isLoading={ isLoading }>Contract</ListItemMobileGrid.Label> <ListItemMobileGrid.Label isLoading={ isLoading }>Contract</ListItemMobileGrid.Label>
<ListItemMobileGrid.Value> <ListItemMobileGrid.Value>
<AddressEntity address={{ hash: item.contract_address }} noIcon isLoading={ isLoading }/> <AddressEntity address={{ hash: item.contract_address }} noIcon linkVariant="secondary" isLoading={ isLoading }/>
</ListItemMobileGrid.Value> </ListItemMobileGrid.Value>
<ListItemMobileGrid.Label isLoading={ isLoading }>Liquidity</ListItemMobileGrid.Label> <ListItemMobileGrid.Label isLoading={ isLoading }>Liquidity</ListItemMobileGrid.Label>
...@@ -41,7 +41,7 @@ const UserOpsListItem = ({ item, isLoading }: Props) => { ...@@ -41,7 +41,7 @@ const UserOpsListItem = ({ item, isLoading }: Props) => {
<ListItemMobileGrid.Value> <ListItemMobileGrid.Value>
<Skeleton loading={ isLoading }> <Skeleton loading={ isLoading }>
{ externalLinks.map((link) => ( { externalLinks.map((link) => (
<Link external href={ link.url } key={ link.url } display="inline-flex"> <Link external noIcon href={ link.url } key={ link.url } display="inline-flex">
<Image src={ link.image } alt={ link.title } boxSize={ 5 } mr={ 2 }/> <Image src={ link.image } alt={ link.title } boxSize={ 5 } mr={ 2 }/>
{ link.title } { link.title }
</Link> </Link>
......
...@@ -42,6 +42,7 @@ const PoolsTableItem = ({ ...@@ -42,6 +42,7 @@ const PoolsTableItem = ({
noIcon noIcon
isLoading={ isLoading } isLoading={ isLoading }
truncation="constant_long" truncation="constant_long"
linkVariant="secondary"
/> />
</Box> </Box>
</Flex> </Flex>
...@@ -59,7 +60,7 @@ const PoolsTableItem = ({ ...@@ -59,7 +60,7 @@ const PoolsTableItem = ({
{ externalLinks.map((link) => ( { externalLinks.map((link) => (
<Tooltip content={ link.title } key={ link.url }> <Tooltip content={ link.title } key={ link.url }>
<Box display="inline-block"> <Box display="inline-block">
<Link external href={ link.url } display="inline-flex"> <Link external noIcon href={ link.url } display="inline-flex">
<Image src={ link.image } alt={ link.title } boxSize={ 5 }/> <Image src={ link.image } alt={ link.title } boxSize={ 5 }/>
</Link> </Link>
</Box> </Box>
......
...@@ -2,6 +2,7 @@ import { chakra, Flex } from '@chakra-ui/react'; ...@@ -2,6 +2,7 @@ import { chakra, Flex } from '@chakra-ui/react';
import type { IconProps } from '@chakra-ui/react'; import type { IconProps } from '@chakra-ui/react';
import React from 'react'; import React from 'react';
import type { LinkProps } from 'toolkit/chakra/link';
import { Link as LinkToolkit } from 'toolkit/chakra/link'; import { Link as LinkToolkit } from 'toolkit/chakra/link';
import { Skeleton } from 'toolkit/chakra/skeleton'; import { Skeleton } from 'toolkit/chakra/skeleton';
import type { Props as CopyToClipboardProps } from 'ui/shared/CopyToClipboard'; import type { Props as CopyToClipboardProps } from 'ui/shared/CopyToClipboard';
...@@ -32,6 +33,7 @@ export interface EntityBaseProps { ...@@ -32,6 +33,7 @@ export interface EntityBaseProps {
target?: React.HTMLAttributeAnchorTarget; target?: React.HTMLAttributeAnchorTarget;
truncation?: Truncation; truncation?: Truncation;
variant?: 'content' | 'heading' | 'subheading'; variant?: 'content' | 'heading' | 'subheading';
linkVariant?: LinkProps['variant'];
} }
export interface ContainerBaseProps extends Pick<EntityBaseProps, 'className'> { export interface ContainerBaseProps extends Pick<EntityBaseProps, 'className'> {
...@@ -55,9 +57,10 @@ const Container = chakra(({ className, children, ...props }: ContainerBaseProps) ...@@ -55,9 +57,10 @@ const Container = chakra(({ className, children, ...props }: ContainerBaseProps)
export interface LinkBaseProps extends Pick<EntityBaseProps, 'className' | 'onClick' | 'isLoading' | 'isExternal' | 'href' | 'noLink' | 'query'> { export interface LinkBaseProps extends Pick<EntityBaseProps, 'className' | 'onClick' | 'isLoading' | 'isExternal' | 'href' | 'noLink' | 'query'> {
children: React.ReactNode; children: React.ReactNode;
variant?: LinkProps['variant'];
} }
const Link = chakra(({ isLoading, children, isExternal, onClick, href, noLink }: LinkBaseProps) => { const Link = chakra(({ isLoading, children, isExternal, onClick, href, noLink, variant }: LinkBaseProps) => {
const styles = { const styles = {
display: 'inline-flex', display: 'inline-flex',
alignItems: 'center', alignItems: 'center',
...@@ -75,6 +78,7 @@ const Link = chakra(({ isLoading, children, isExternal, onClick, href, noLink }: ...@@ -75,6 +78,7 @@ const Link = chakra(({ isLoading, children, isExternal, onClick, href, noLink }:
loading={ isLoading } loading={ isLoading }
external={ isExternal } external={ isExternal }
onClick={ onClick } onClick={ onClick }
variant={ variant }
> >
{ children } { children }
</LinkToolkit> </LinkToolkit>
......
...@@ -29,13 +29,14 @@ export function getContentProps(variant: EntityBaseProps['variant'] = 'content') ...@@ -29,13 +29,14 @@ export function getContentProps(variant: EntityBaseProps['variant'] = 'content')
} }
export function distributeEntityProps<Props extends EntityBaseProps>(props: Props) { export function distributeEntityProps<Props extends EntityBaseProps>(props: Props) {
const { className, onClick, icon, ...restProps } = props; const { className, onClick, icon, linkVariant, ...mainProps } = props;
const { variant, ...restProps } = mainProps;
return { return {
container: { className }, container: { className },
icon: { ...restProps, ...icon }, icon: { ...mainProps, ...icon },
link: { ...restProps, onClick }, link: { ...restProps, variant: linkVariant, onClick },
content: restProps, content: mainProps,
symbol: restProps, symbol: restProps,
copy: restProps, copy: restProps,
}; };
......
...@@ -64,13 +64,12 @@ export interface EntityProps extends EntityBase.EntityBaseProps { ...@@ -64,13 +64,12 @@ export interface EntityProps extends EntityBase.EntityBaseProps {
const TxEntity = (props: EntityProps) => { const TxEntity = (props: EntityProps) => {
const partsProps = distributeEntityProps(props); const partsProps = distributeEntityProps(props);
const content = <Content { ...partsProps.content }/>;
return ( return (
<Container { ...partsProps.container }> <Container { ...partsProps.container }>
<Icon { ...partsProps.icon }/> <Icon { ...partsProps.icon }/>
<Link { ...partsProps.link }> { props.noLink ? content : <Link { ...partsProps.link }>{ content }</Link> }
<Content { ...partsProps.content }/>
</Link>
<Copy { ...partsProps.copy }/> <Copy { ...partsProps.copy }/>
</Container> </Container>
); );
......
...@@ -37,6 +37,7 @@ const FilterButton = ({ isLoading, appliedFiltersNum, ...rest }: Props, ref: Rea ...@@ -37,6 +37,7 @@ const FilterButton = ({ isLoading, appliedFiltersNum, ...rest }: Props, ref: Rea
selected={ Boolean(appliedFiltersNum) } selected={ Boolean(appliedFiltersNum) }
flexShrink={ 0 } flexShrink={ 0 }
pointerEvents="all" pointerEvents="all"
px={{ base: 1, lg: 3 }}
{ ...rest } { ...rest }
> >
<IconSvg name="filter" boxSize={ 5 }/> <IconSvg name="filter" boxSize={ 5 }/>
......
...@@ -71,7 +71,7 @@ const GasInfoTooltip = ({ children, data, dataUpdatedAt, isOpen, placement }: Pr ...@@ -71,7 +71,7 @@ const GasInfoTooltip = ({ children, data, dataUpdatedAt, isOpen, placement }: Pr
lazyMount lazyMount
interactive interactive
showArrow={ false } showArrow={ false }
contentProps={{ p: 4, borderRadius: 'md', className: 'light' }} contentProps={{ p: 4, borderRadius: 'md' }}
> >
{ children } { children }
</Tooltip> </Tooltip>
......
...@@ -44,7 +44,7 @@ const SolidityScanReportItem = ({ item, vulnerabilities, vulnerabilitiesCount }: ...@@ -44,7 +44,7 @@ const SolidityScanReportItem = ({ item, vulnerabilities, vulnerabilitiesCount }:
<Text color={ vulnerability > 0 ? 'text' : { _light: 'gray.400', _dark: 'gray.500' } }>{ vulnerabilities[item.id] }</Text> <Text color={ vulnerability > 0 ? 'text' : { _light: 'gray.400', _dark: 'gray.500' } }>{ vulnerabilities[item.id] }</Text>
</Flex> </Flex>
<Box bg={{ _light: 'blackAlpha.50', _dark: 'whiteAlpha.50' }} h="10px" borderRadius="8px"> <Box bg={{ _light: 'blackAlpha.50', _dark: 'whiteAlpha.50' }} h="10px" borderRadius="8px">
<Box bg={ item.color } w={ vulnerability / vulnerabilitiesCount } h="10px" borderRadius="8px"/> <Box bg={ item.color } w={ `${ vulnerability / vulnerabilitiesCount * 100 }%` } h="10px" borderRadius="8px"/>
</Box> </Box>
</> </>
); );
......
...@@ -18,7 +18,7 @@ const ClipboardShowcase = () => { ...@@ -18,7 +18,7 @@ const ClipboardShowcase = () => {
<CopyToClipboard text="Hello, world!" type="link"/> <CopyToClipboard text="Hello, world!" type="link"/>
</Sample> </Sample>
<Sample label="type: share"> <Sample label="type: share">
<CopyToClipboard text="Hello, world!" type="share" boxSize={ 4 }/> <CopyToClipboard text="Hello, world!" type="share"/>
</Sample> </Sample>
</SamplesStack> </SamplesStack>
</Section> </Section>
......
...@@ -29,10 +29,11 @@ type Props = { ...@@ -29,10 +29,11 @@ type Props = {
const SCROLL_CONTAINER_ID = 'search_bar_popover_content'; const SCROLL_CONTAINER_ID = 'search_bar_popover_content';
const SearchBar = ({ isHomepage }: Props) => { const SearchBar = ({ isHomepage }: Props) => {
const { open, onClose, onOpen } = useDisclosure();
const inputRef = React.useRef<HTMLFormElement>(null); const inputRef = React.useRef<HTMLFormElement>(null);
const scrollRef = React.useRef<HTMLDivElement>(null); const scrollRef = React.useRef<HTMLDivElement>(null);
const menuWidth = React.useRef<number>(0); const menuWidth = React.useRef<number>(0);
const { open, onClose, onOpen } = useDisclosure();
const isMobile = useIsMobile(); const isMobile = useIsMobile();
const router = useRouter(); const router = useRouter();
...@@ -93,6 +94,15 @@ const SearchBar = ({ isHomepage }: Props) => { ...@@ -93,6 +94,15 @@ const SearchBar = ({ isHomepage }: Props) => {
onClose(); onClose();
}, [ router.pathname, searchTerm, onClose ]); }, [ router.pathname, searchTerm, onClose ]);
const handleBlur = React.useCallback((event: React.FocusEvent<HTMLFormElement>) => {
const isFocusInMenu = menuRef.current?.contains(event.relatedTarget);
const isFocusInInput = inputRef.current?.contains(event.relatedTarget);
if (!isFocusInMenu && !isFocusInInput) {
onClose();
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [ onClose ]);
const menuPaddingX = isMobile && !isHomepage ? 24 : 0; const menuPaddingX = isMobile && !isHomepage ? 24 : 0;
const calculateMenuWidth = React.useCallback(() => { const calculateMenuWidth = React.useCallback(() => {
menuWidth.current = (inputRef.current?.getBoundingClientRect().width || 0) - menuPaddingX; menuWidth.current = (inputRef.current?.getBoundingClientRect().width || 0) - menuPaddingX;
...@@ -137,6 +147,7 @@ const SearchBar = ({ isHomepage }: Props) => { ...@@ -137,6 +147,7 @@ const SearchBar = ({ isHomepage }: Props) => {
onSubmit={ handleSubmit } onSubmit={ handleSubmit }
onFocus={ handleFocus } onFocus={ handleFocus }
onHide={ handelHide } onHide={ handelHide }
onBlur={ handleBlur }
onClear={ handleClear } onClear={ handleClear }
isHomepage={ isHomepage } isHomepage={ isHomepage }
value={ searchTerm } value={ searchTerm }
......
...@@ -74,6 +74,7 @@ const TokensTableItem = ({ ...@@ -74,6 +74,7 @@ const TokensTableItem = ({
address={{ hash: address, filecoin: { robust: filecoinRobustAddress } }} address={{ hash: address, filecoin: { robust: filecoinRobustAddress } }}
isLoading={ isLoading } isLoading={ isLoading }
truncation="constant" truncation="constant"
linkVariant="secondary"
noIcon noIcon
/> />
<AddressAddToWallet token={ token } isLoading={ isLoading }/> <AddressAddToWallet token={ token } isLoading={ isLoading }/>
......
...@@ -86,6 +86,7 @@ const TokensTableItem = ({ ...@@ -86,6 +86,7 @@ const TokensTableItem = ({
noIcon noIcon
textStyle="sm" textStyle="sm"
fontWeight={ 500 } fontWeight={ 500 }
linkVariant="secondary"
/> />
<AddressAddToWallet <AddressAddToWallet
token={ token } token={ token }
......
...@@ -54,7 +54,7 @@ const VerifiedContractsListItem = ({ data, isLoading }: Props) => { ...@@ -54,7 +54,7 @@ const VerifiedContractsListItem = ({ data, isLoading }: Props) => {
noIcon noIcon
truncation="constant" truncation="constant"
ml="auto" ml="auto"
color="text.secondary" linkVariant="secondary"
flexShrink={ 0 } flexShrink={ 0 }
/> />
</Flex> </Flex>
......
...@@ -55,7 +55,7 @@ const VerifiedContractsTableItem = ({ data, isLoading }: Props) => { ...@@ -55,7 +55,7 @@ const VerifiedContractsTableItem = ({ data, isLoading }: Props) => {
truncation="constant" truncation="constant"
my={ 1 } my={ 1 }
ml={ 7 } ml={ 7 }
color="text.secondary" linkVariant="secondary"
w="fit-content" w="fit-content"
/> />
</TableCell> </TableCell>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment