Skip to content

Commit 80817bd

Browse files
committed
chore: minor changes
1 parent 8fcc339 commit 80817bd

12 files changed

+19
-81
lines changed

packages/core/src/IconsGallery/IconGallery.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import * as Icons from '@web3uikit/icons';
33
import { IPosition, notifyType } from '../lib/Notification/types';
44
import { useState } from 'react';
55
import * as styles from './iconGallery.styles';
6+
import { color } from '@web3uikit/styles';
67
const { StyledDivGallery, StyledDivGrid, StyledDivIcon } = styles;
78

89
const IconsGallery = () => {
@@ -13,7 +14,7 @@ const IconsGallery = () => {
1314
key={Icon.name.slice(3)}
1415
onClick={() => handleClick(Icon.name.slice(3), 'info')}
1516
>
16-
<Icon fontSize={'50px'} color={'#000'} />
17+
<Icon fontSize={30} color={color.red} />
1718
</StyledDivIcon>
1819
);
1920
});

packages/icons/src/lib/icons/ArrowCircleDown.tsx

+2-5
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const SvgArrowCircleDown = ({
1111
<svg
1212
aria-hidden="true"
1313
data-testid="test-icon"
14-
fill="none"
14+
fill="currentColor"
1515
viewBox="0 0 24 24"
1616
xmlns="http://www.w3.org/2000/svg"
1717
width="1em"
@@ -20,10 +20,7 @@ const SvgArrowCircleDown = ({
2020
{...props}
2121
>
2222
{title ? <title id={titleId}>{title}</title> : null}
23-
<path
24-
d="M19.364 12a7.364 7.364 0 1 0-14.728 0 7.364 7.364 0 0 0 14.728 0ZM12 3a9 9 0 1 1 0 18 9 9 0 0 1 0-18Zm2.694 8.421a.818.818 0 1 1 1.157 1.158l-3.273 3.272a.818.818 0 0 1-1.156 0l-3.273-3.273a.818.818 0 1 1 1.157-1.156l1.876 1.875v-4.57a.818.818 0 1 1 1.636 0v4.57l1.876-1.876Z"
25-
fill="currentColor"
26-
/>
23+
<path d="M19.364 12a7.364 7.364 0 1 0-14.728 0 7.364 7.364 0 0 0 14.728 0zM12 3a9 9 0 1 1 0 18 9 9 0 0 1 0-18zm2.694 8.421a.818.818 0 1 1 1.157 1.158l-3.273 3.272a.818.818 0 0 1-1.156 0l-3.273-3.273a.818.818 0 1 1 1.157-1.156l1.876 1.875v-4.57a.818.818 0 1 1 1.636 0v4.57l1.876-1.876z" />
2724
</svg>
2825
);
2926

packages/icons/src/lib/icons/ArrowCircleLeft.tsx

+2-5
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const SvgArrowCircleLeft = ({
1111
<svg
1212
aria-hidden="true"
1313
data-testid="test-icon"
14-
fill="none"
14+
fill="currentColor"
1515
viewBox="0 0 24 24"
1616
xmlns="http://www.w3.org/2000/svg"
1717
width="1em"
@@ -20,10 +20,7 @@ const SvgArrowCircleLeft = ({
2020
{...props}
2121
>
2222
{title ? <title id={titleId}>{title}</title> : null}
23-
<path
24-
d="M12 4.636a7.364 7.364 0 1 0 0 14.728 7.364 7.364 0 0 0 0-14.728ZM3 12a9 9 0 1 1 18 0 9 9 0 0 1-18 0Zm9.579-3.851c.32.32.32.837 0 1.157l-1.877 1.876h4.57a.818.818 0 1 1 0 1.636h-4.57l1.877 1.876a.818.818 0 1 1-1.158 1.157L8.15 12.578a.818.818 0 0 1 0-1.156l3.273-3.273a.818.818 0 0 1 1.156 0Z"
25-
fill="currentColor"
26-
/>
23+
<path d="M12 4.636a7.364 7.364 0 1 0 0 14.728 7.364 7.364 0 0 0 0-14.728zM3 12a9 9 0 1 1 18 0 9 9 0 0 1-18 0zm9.579-3.851c.32.32.32.837 0 1.157l-1.877 1.876h4.57a.818.818 0 1 1 0 1.636h-4.57l1.877 1.876a.818.818 0 1 1-1.158 1.157L8.15 12.578a.818.818 0 0 1 0-1.156l3.273-3.273a.818.818 0 0 1 1.156 0z" />
2724
</svg>
2825
);
2926

packages/icons/src/lib/icons/ArrowCircleRight.tsx

+2-5
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const SvgArrowCircleRight = ({
1111
<svg
1212
aria-hidden="true"
1313
data-testid="test-icon"
14-
fill="none"
14+
fill="currentColor"
1515
viewBox="0 0 24 24"
1616
xmlns="http://www.w3.org/2000/svg"
1717
width="1em"
@@ -20,10 +20,7 @@ const SvgArrowCircleRight = ({
2020
{...props}
2121
>
2222
{title ? <title id={titleId}>{title}</title> : null}
23-
<path
24-
d="M12 4.636a7.364 7.364 0 1 0 0 14.728 7.364 7.364 0 0 0 0-14.728ZM3 12a9 9 0 1 1 18 0 9 9 0 0 1-18 0Zm8.421-2.694a.818.818 0 1 1 1.158-1.157l3.272 3.273c.32.319.32.837 0 1.156l-3.273 3.273a.818.818 0 1 1-1.156-1.157l1.875-1.876h-4.57a.818.818 0 1 1 0-1.636h4.57l-1.876-1.876Z"
25-
fill="currentColor"
26-
/>
23+
<path d="M12 4.636a7.364 7.364 0 1 0 0 14.728 7.364 7.364 0 0 0 0-14.728zM3 12a9 9 0 1 1 18 0 9 9 0 0 1-18 0zm8.421-2.694a.818.818 0 1 1 1.158-1.157l3.272 3.273c.32.319.32.837 0 1.156l-3.273 3.273a.818.818 0 1 1-1.156-1.157l1.875-1.876h-4.57a.818.818 0 1 1 0-1.636h4.57l-1.876-1.876z" />
2724
</svg>
2825
);
2926

packages/icons/src/lib/icons/LockClosed.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const SvgLockClosed = ({
1111
<svg
1212
width="1em"
1313
height="1em"
14+
fill="currentColor"
1415
viewBox="0 0 19 18"
1516
xmlns="http://www.w3.org/2000/svg"
1617
data-testid="test-icon"

packages/icons/src/lib/icons/LockOpen.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ const SvgLockOpen = ({
1212
width="1em"
1313
height="1em"
1414
viewBox="0 0 19 18"
15+
fill="currentColor"
1516
xmlns="http://www.w3.org/2000/svg"
1617
data-testid="test-icon"
1718
aria-labelledby={titleId}
Loading
Loading
Loading
+2-2
Loading
+2-2
Loading

packages/ui/src/lib/WalletModal/WalletModal.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { Button } from '@web3uikit/core';
55
import connectors from './config';
66
import { IWalletModalProps } from './types';
77
import WalletModalStyles from './WalletModal.styles';
8+
import { Cross } from '@web3uikit/icons';
89

910
const {
1011
GridItemStyled,
@@ -52,7 +53,7 @@ const WalletModal: FC<IWalletModalProps> = ({
5253
<HeaderStyled>
5354
<TitleStyled>Connect Wallet</TitleStyled>
5455
<Button
55-
icon={'x'}
56+
icon={<Cross />}
5657
iconLayout="icon-only"
5758
theme="outline"
5859
onClick={() => setIsOpened(!isOpened)}

0 commit comments

Comments
 (0)