Skip to content

Commit 04b5ec5

Browse files
authored
Merge pull request #20 from Gearbox-protocol/icons-update
fix: icons update
2 parents 7842cc5 + 936ecb0 commit 04b5ec5

File tree

7 files changed

+783
-70
lines changed

7 files changed

+783
-70
lines changed

public/tokens/dwsteth.svg

Lines changed: 11 additions & 0 deletions
Loading

public/tokens/gear.svg

Lines changed: 731 additions & 0 deletions
Loading

public/tokens/kovan.tokenlist.json

Lines changed: 0 additions & 69 deletions
This file was deleted.

src/icons/pending.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ export const IconPending = ({ size, style, onClick }: IconProps) => (
88
size={size}
99
onClick={onClick}
1010
style={{
11-
marginTop: "2px",
1211
animationDuration: "3s",
1312
animationName: "spin",
1413
animationIterationCount: "infinite",

src/icons/robotDead.tsx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import React from "react";
2+
3+
import { IconProps } from "../core/icon";
4+
5+
export const IconDeadRobot = ({ style, onClick, size = 24 }: IconProps) => (
6+
<svg
7+
width={size}
8+
height={size}
9+
style={style}
10+
onClick={onClick}
11+
xmlns="http://www.w3.org/2000/svg"
12+
viewBox="0 0 24 24"
13+
>
14+
<path
15+
d="M10.62 14.94L9.56 16L10.62 17.06L9.56 18.12L8.5 17.06L7.44 18.12L6.38 17.06L7.44 16L6.38 14.94L7.44 13.88L8.5 14.94L9.56 13.88L10.62 14.94ZM16.56 13.88L15.5 14.94L14.44 13.88L13.38 14.94L14.44 16L13.38 17.06L14.44 18.12L15.5 17.06L16.56 18.12L17.62 17.06L16.56 16L17.62 14.94L16.56 13.88ZM23 15.5V18.5C23 19.05 22.55 19.5 22 19.5H21V20.5C21 21.61 20.11 22.5 19 22.5H5C3.9 22.5 3 21.61 3 20.5V19.5H2C1.45 19.5 1 19.05 1 18.5V15.5C1 14.95 1.45 14.5 2 14.5H3C3 10.63 6.13 7.5 10 7.5H11V6.23C10.4 5.89 10 5.24 10 4.5C10 3.4 10.9 2.5 12 2.5C13.1 2.5 14 3.4 14 4.5C14 5.24 13.6 5.89 13 6.23V7.5H14C17.87 7.5 21 10.63 21 14.5H22C22.55 14.5 23 14.95 23 15.5ZM21 16.5H19V14.5C19 11.74 16.76 9.5 14 9.5H10C7.24 9.5 5 11.74 5 14.5V16.5H3V17.5H5V20.5H19V17.5H21V16.5Z"
16+
fill="#ABB2CB"
17+
/>
18+
</svg>
19+
);

src/icons/slidersSimple.tsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import React from "react";
2+
3+
import { IconProps } from "../core/icon";
4+
5+
export const IconSliderSimple = ({ style, onClick, size = 24 }: IconProps) => (
6+
<svg
7+
width={size}
8+
height={size}
9+
style={style}
10+
onClick={onClick}
11+
viewBox="0 0 14 12"
12+
fill="none"
13+
xmlns="http://www.w3.org/2000/svg"
14+
>
15+
<path
16+
d="M4.2 6.66667C2.898 6.66667 1.813 7.52 1.498 8.66667H0V10H1.498C1.813 11.1467 2.898 12 4.2 12C5.502 12 6.587 11.1467 6.902 10H14V8.66667H6.902C6.587 7.52 5.502 6.66667 4.2 6.66667ZM4.2 10.6667C3.43 10.6667 2.8 10.0667 2.8 9.33333C2.8 8.6 3.43 8 4.2 8C4.97 8 5.6 8.6 5.6 9.33333C5.6 10.0667 4.97 10.6667 4.2 10.6667ZM12.502 2C12.187 0.853333 11.102 0 9.8 0C8.498 0 7.413 0.853333 7.098 2H0V3.33333H7.098C7.413 4.48 8.498 5.33333 9.8 5.33333C11.102 5.33333 12.187 4.48 12.502 3.33333H14V2H12.502ZM9.8 4C9.03 4 8.4 3.4 8.4 2.66667C8.4 1.93333 9.03 1.33333 9.8 1.33333C10.57 1.33333 11.2 1.93333 11.2 2.66667C11.2 3.4 10.57 4 9.8 4Z"
17+
fill="white"
18+
/>
19+
</svg>
20+
);

src/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ export { IconLogout } from "./icons/logout";
1515
export { IconNavigation } from "./icons/navigation";
1616
export { IconNexus } from "./icons/nexus";
1717
export { IconPending } from "./icons/pending";
18+
export { IconDeadRobot } from "./icons/robotDead";
1819
export { IconSearch } from "./icons/search";
1920
export { IconShield } from "./icons/shield";
21+
export { IconSliderSimple } from "./icons/slidersSimple";
2022
export { SuccessCircle } from "./icons/successCircle";
2123
export { IconTool } from "./icons/tool";
2224
export { IconTriangle } from "./icons/triangle";

0 commit comments

Comments
 (0)