Skip to content

Commit bdab1f1

Browse files
committed
fix: adjusted icons based on @AnninaWalker recommendations
1 parent 4f1b0e5 commit bdab1f1

File tree

4 files changed

+28
-19
lines changed

4 files changed

+28
-19
lines changed

Diff for: src/icons/ic-pdf-file.tsx

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import { SVGProps } from "react";
2+
3+
export const IconPdfFile = (props: SVGProps<SVGSVGElement>) => (
4+
<svg
5+
xmlns="http://www.w3.org/2000/svg"
6+
width={24}
7+
height={24}
8+
fill="none"
9+
{...props}
10+
>
11+
<path
12+
fill-rule="evenodd"
13+
clip-rule="evenodd"
14+
d="M9.54402 16.9899C9.52942 16.9972 9.19532 17.1745 9.11702 17.2214C8.59087 17.4664 8.17201 17.8948 7.93889 18.4264C7.92078 18.4859 7.9219 18.5496 7.94211 18.6085C7.96232 18.6673 8.00058 18.7183 8.05144 18.7541L8.23986 18.8493C8.31962 18.8894 8.40759 18.9105 8.49686 18.9108C8.97032 18.9108 9.51962 18.321 10.2769 16.9997C11.1721 16.7102 12.0889 16.4925 13.0187 16.3488C13.6289 16.7068 14.3116 16.9233 15.0165 16.9826C15.0956 16.984 15.1746 16.9753 15.2515 16.9567C15.3459 16.9333 15.4288 16.8768 15.4851 16.7975C15.5823 16.6239 15.6152 16.4217 15.5781 16.2262C15.5603 16.1521 15.5212 16.0849 15.4656 16.0329C15.1659 15.8411 14.8099 15.7571 14.4562 15.7946C14.05 15.7946 13.6444 15.8245 13.2425 15.8839C13.0409 15.7759 12.8521 15.6453 12.6797 15.4948C12.2237 15.0546 11.8757 14.5148 11.6631 13.9177C11.6777 13.8601 11.69 13.8103 11.7022 13.7585C11.8174 13.1494 11.8772 12.5312 11.8808 11.9113C11.8758 11.8661 11.8651 11.8216 11.849 11.779L11.8282 11.7253C11.8012 11.6395 11.7485 11.5642 11.6771 11.5095C11.6057 11.4548 11.5192 11.4234 11.4293 11.4196L11.3095 11.4157H11.307C11.2094 11.4073 11.1116 11.4309 11.0286 11.4831C10.9456 11.5353 10.8818 11.6131 10.847 11.7047C10.7549 12.5185 10.8507 13.3426 11.1272 14.1134L11.0563 14.2848C10.8607 14.7634 10.6156 15.2443 10.3989 15.6694L10.3989 15.6694L10.3943 15.6784L10.3662 15.7336C10.1362 16.1823 9.92822 16.5641 9.73862 16.8869L9.54402 16.9899ZM8.39406 18.5524L8.39408 18.5524C8.86905 18.2263 9.25273 17.784 9.50862 17.2677C9.43762 17.3361 9.35932 17.4093 9.32752 17.4352C8.93673 17.7331 8.61778 18.1149 8.39408 18.5524L8.39403 18.5524H8.39406ZM15.09 16.2888C14.8843 16.2314 14.6706 16.2083 14.4575 16.2204H14.4574C14.3057 16.2204 14.1356 16.2277 13.9509 16.2409C14.2941 16.4194 14.6675 16.5323 15.052 16.5739C15.1426 16.5761 15.2328 16.5607 15.3175 16.5285C15.3652 16.4992 15.3616 16.3586 15.09 16.2888ZM11.3866 11.6603C11.5383 11.6603 11.6252 12.0437 11.6325 12.403C11.6461 12.6808 11.5835 12.9571 11.4514 13.2019C11.3655 12.8765 11.3223 12.5413 11.3229 12.2048C11.3229 12.2048 11.3168 11.6603 11.3866 11.6603ZM11.4 14.7092C11.2337 15.1408 11.0409 15.5616 10.8226 15.9694H10.8225C10.7096 16.1813 10.5999 16.382 10.4935 16.5715C11.1458 16.3275 11.8179 16.1405 12.5024 16.0124C12.451 15.9719 12.4008 15.9313 12.3531 15.8923C11.9656 15.5597 11.6425 15.1586 11.4 14.7092Z"
15+
fill="currentColor"
16+
/>
17+
<path
18+
fill-rule="evenodd"
19+
clip-rule="evenodd"
20+
d="M9.15472 4V4.01759L5.0235 9.70312H5V20.5835H18.519V4H9.15472ZM9.15472 5.29248V9.70312H5.94993L9.15472 5.29248ZM5.74998 19.8335H17.769V4.75H9.90472V10.4531H5.74998V19.8335Z"
21+
fill="currentColor"
22+
/>
23+
</svg>
24+
);

Diff for: src/icons/index.tsx

+3-6
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ import { IconMobile } from "./ic-mobile";
6969
import { IconMore } from "./ic-more";
7070
import { IconMoreFilled } from "./ic-more-filled";
7171
import { IconOrganisations } from "./ic-organisations";
72+
import { IconPdfFile } from "./ic-pdf-file";
7273
import { IconPen } from "./ic-pen";
7374
import { IconPieChart } from "./ic-pie-chart";
7475
import { IconPin } from "./ic-pin";
@@ -94,9 +95,6 @@ import { IconWarningCircle } from "./ic-warning-circle";
9495
import { IconWarningCircleFilled } from "./ic-warning-circle-filled";
9596
import { IconWiFi } from "./ic-wi-fi";
9697
import { IconYoutube } from "./ic-youtube";
97-
import { IconCopy } from "./old/ic-copy";
98-
import { IconLoading } from "./old/ic-loading";
99-
import { IconPdf } from "./old/ic-pdf";
10098

10199
const Icons = {
102100
apps: IconApps,
@@ -130,7 +128,6 @@ const Icons = {
130128
circle: IconCircle,
131129
clear: IconClear,
132130
close: IconClose,
133-
copy: IconCopy,
134131
desktop: IconDesktop,
135132
dots: IconDots,
136133
download: IconDownload,
@@ -161,7 +158,7 @@ const Icons = {
161158
linkexternal: IconLinkExternal,
162159
listbullet: IconListBullet,
163160
listnumber: IconListNumber,
164-
loading: IconLoading,
161+
loading: IconRefresh,
165162
login: IconLogin,
166163
logout: IconLogout,
167164
mapmarker: IconMapMarker,
@@ -172,7 +169,7 @@ const Icons = {
172169
more: IconMore,
173170
morefilled: IconMoreFilled,
174171
organisations: IconOrganisations,
175-
pdf: IconPdf,
172+
pdf: IconPdfFile,
176173
pen: IconPen,
177174
piechart: IconPieChart,
178175
pin: IconPin,

Diff for: src/icons/old/ic-pdf.tsx

-12
This file was deleted.

Diff for: src/pages/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ const ShareButton = () => {
167167
},
168168
}}
169169
>
170-
<Icon name="copy" />
170+
<Icon name="duplicate" />
171171
</Button>
172172
</Box>
173173
</TooltipBox>

0 commit comments

Comments
 (0)