Skip to content

Commit daea330

Browse files
Merge branch 'master' into fix/warning-icon-1193
2 parents 908a109 + 64dc441 commit daea330

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

src/icons/CrossCircle/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants';
1+
import { DEFAULT_FILL_NONE, DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants';
22
import { IconProps } from '../types';
33

44
function CrossCircleIcon({
55
width = DEFAULT_WIDTH,
66
height = DEFAULT_HEIGHT,
7-
fill = 'currentColor',
7+
fill = DEFAULT_FILL_NONE,
88
...props
99
}: IconProps): JSX.Element {
1010
return (
@@ -20,7 +20,7 @@ function CrossCircleIcon({
2020
<g clipPath="url(#a)">
2121
<path
2222
d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2Zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59Z"
23-
fillOpacity=".54"
23+
fill={fill}
2424
/>
2525
</g>
2626
<defs>

src/icons/Github/GithubIcon.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
interface GithubIconProps {
22
height?: string | number;
33
width?: string | number;
4+
fill?: string;
45
className?: string;
56
}
67

78
export default function GithubIcon({
89
height = '1.45rem',
910
width = '1.45rem',
11+
fill = 'currentColor',
1012
className
1113
}: GithubIconProps) {
1214
return (
@@ -15,10 +17,10 @@ export default function GithubIcon({
1517
width={width}
1618
className={className}
1719
xmlns="http://www.w3.org/2000/svg"
18-
viewBox="0 0 400 400"
20+
viewBox="60 60 280 280"
1921
>
2022
<path
21-
fill="currentColor"
23+
fill={fill}
2224
fillRule="evenodd"
2325
clipRule="evenodd"
2426
d="M203.9,60c-75.6,0-137,61.3-137,137c0,60.5,39.2,111.9,93.7,130c6.8,1.3,9.3-3,9.3-6.6c0-3.3-0.1-11.9-0.2-23.3

0 commit comments

Comments
 (0)