11import type { ComponentType , SVGProps } from "react" ;
22import { AiScan } from "pixelarticons/react/AiScan" ;
33import { Analytics } from "pixelarticons/react/Analytics" ;
4- import { AppWindows } from "pixelarticons/react/AppWindows" ;
54import { ArrowRight } from "pixelarticons/react/ArrowRight" ;
65import { Bookmark } from "pixelarticons/react/Bookmark" ;
76import { Blocks } from "pixelarticons/react/Blocks" ;
@@ -11,11 +10,11 @@ import { Check } from "pixelarticons/react/Check";
1110import { Clock } from "pixelarticons/react/Clock" ;
1211import { Cloud } from "pixelarticons/react/Cloud" ;
1312import { Coins } from "pixelarticons/react/Coins" ;
13+ import { CommentSharp } from "pixelarticons/react/CommentSharp" ;
1414import { CommentText } from "pixelarticons/react/CommentText" ;
1515import { Copy } from "pixelarticons/react/Copy" ;
1616import { CursorMinimal } from "pixelarticons/react/CursorMinimal" ;
1717import { Download } from "pixelarticons/react/Download" ;
18- import { GitPullRequest } from "pixelarticons/react/GitPullRequest" ;
1918import { Hand } from "pixelarticons/react/Hand" ;
2019import { HumanArmsDown } from "pixelarticons/react/HumanArmsDown" ;
2120import { Image } from "pixelarticons/react/Image" ;
@@ -44,6 +43,7 @@ export type PixelIconName =
4443 | "cloud"
4544 | "coins"
4645 | "comment"
46+ | "comment-sharp"
4747 | "copy"
4848 | "cursor"
4949 | "device"
@@ -68,6 +68,42 @@ export type PixelIconName =
6868
6969type IconComponent = ComponentType < SVGProps < SVGSVGElement > > ;
7070
71+ function FigmaDevicesIcon ( { children, ...props } : SVGProps < SVGSVGElement > ) {
72+ return (
73+ < svg viewBox = "0 0 20 20" fill = "none" xmlns = "http://www.w3.org/2000/svg" { ...props } >
74+ { children }
75+ < path
76+ d = "M3.33301 3.33301V11.667H10V6.66699H13.333V3.33301H3.33301ZM11.667 16.667H16.667V8.33301H11.667V16.667ZM15 15H13.333V13.333H15V15ZM8.33301 10H5V8.33301H8.33301V10ZM8.33301 6.66699H5V5H8.33301V6.66699ZM15 6.66699H18.333V18.333H10V13.333H1.66699V1.66699H15V6.66699Z"
77+ fill = "currentColor"
78+ />
79+ </ svg >
80+ ) ;
81+ }
82+
83+ function FigmaGithubIcon ( { children, ...props } : SVGProps < SVGSVGElement > ) {
84+ return (
85+ < svg viewBox = "0 0 20 20" fill = "none" xmlns = "http://www.w3.org/2000/svg" { ...props } >
86+ { children }
87+ < path d = "M4.16667 1.66699H7.5V3.33366H5.83334V5.00033H4.16667V1.66699Z" fill = "currentColor" />
88+ < path d = "M4.16667 10.0003H2.5V5.00033H4.16667V10.0003Z" fill = "currentColor" />
89+ < path d = "M5.83334 11.667H4.16667V10.0003H5.83334V11.667Z" fill = "currentColor" />
90+ < path
91+ fillRule = "evenodd"
92+ clipRule = "evenodd"
93+ d = "M7.5 13.3337V11.667H5.83334V13.3337H2.5V11.667H0.833336V13.3337H2.5V15.0003H5.83334V18.3337H7.5V15.0003H9.16667V13.3337H7.5ZM7.5 13.3337V15.0003H5.83334V13.3337H7.5Z"
94+ fill = "currentColor"
95+ />
96+ < path d = "M12.5 3.33366V5.00033H7.5V3.33366H12.5Z" fill = "currentColor" />
97+ < path d = "M15.8333 5.00033H14.1667V3.33366H12.5V1.66699H15.8333V5.00033Z" fill = "currentColor" />
98+ < path d = "M15.8333 10.0003V5.00033H17.5V10.0003H15.8333Z" fill = "currentColor" />
99+ < path d = "M14.1667 11.667V10.0003H15.8333V11.667H14.1667Z" fill = "currentColor" />
100+ < path d = "M12.5 13.3337V11.667H14.1667V13.3337H12.5Z" fill = "currentColor" />
101+ < path d = "M12.5 15.0003H10.8333V13.3337H12.5V15.0003Z" fill = "currentColor" />
102+ < path d = "M12.5 15.0003H14.1667V18.3337H12.5V15.0003Z" fill = "currentColor" />
103+ </ svg >
104+ ) ;
105+ }
106+
71107const iconComponents : Record < PixelIconName , IconComponent > = {
72108 accessibility : HumanArmsDown ,
73109 "arrow-right" : ArrowRight ,
@@ -79,13 +115,14 @@ const iconComponents: Record<PixelIconName, IconComponent> = {
79115 cloud : Cloud ,
80116 coins : Coins ,
81117 comment : CommentText ,
118+ "comment-sharp" : CommentSharp ,
82119 copy : Copy ,
83120 cursor : CursorMinimal ,
84121 device : Smartphone ,
85- devices : AppWindows ,
122+ devices : FigmaDevicesIcon ,
86123 download : Download ,
87124 gauge : Analytics ,
88- github : GitPullRequest ,
125+ github : FigmaGithubIcon ,
89126 hand : Hand ,
90127 handshake : Users ,
91128 list : Bulletlist ,
0 commit comments