@untitledui/file-icons
Version:
Official React library for Untitled UI File Icons
2 lines (1 loc) • 1.95 kB
JavaScript
import*as a from"react";const l=({size:s=40,theme:h="light",...i})=>a.createElement("svg",{width:s,height:s,fill:"none",viewBox:"0 0 40 40","aria-hidden":"true",...i},a.createElement("mask",{id:"dmg_svg__b",width:32,height:40,x:4,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},a.createElement("path",{fill:"url(#dmg_svg__a)",d:"M4 4a4 4 0 0 1 4-4h16l12 12v24a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4z"})),a.createElement("g",{mask:"url(#dmg_svg__b)"},a.createElement("path",{fill:h==="light"?"#F5F5F5":"#22262F",d:"M4 4a4 4 0 0 1 4-4h16l12 12v24a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4z"})),a.createElement("path",{fill:h==="light"?"#E9EAEB":"#373A41",d:"m24 0 12 12h-8a4 4 0 0 1-4-4z"}),a.createElement("path",{fill:h==="light"?"#414651":"#CECFD2",d:"M12.074 32h-2.32v-6.546h2.34q.987 0 1.7.394.712.39 1.096 1.122.387.731.387 1.75 0 1.024-.387 1.759-.383.735-1.103 1.128-.716.393-1.713.393m-.936-1.186h.879q.614 0 1.032-.217a1.4 1.4 0 0 0 .633-.68q.214-.464.214-1.196 0-.726-.214-1.186a1.4 1.4 0 0 0-.63-.677q-.419-.218-1.032-.218h-.882zm5.164-5.36h1.707l1.802 4.398h.077l1.802-4.398h1.707V32h-1.342v-4.26H22l-1.694 4.228h-.914l-1.694-4.244h-.054V32h-1.342zm12.575 2.116a1.4 1.4 0 0 0-.188-.412 1.28 1.28 0 0 0-.694-.502 1.7 1.7 0 0 0-.489-.067q-.501 0-.882.25a1.63 1.63 0 0 0-.588.725q-.21.472-.21 1.157 0 .684.207 1.163.207.48.588.732a1.6 1.6 0 0 0 .898.25q.47 0 .802-.167a1.2 1.2 0 0 0 .512-.476q.179-.306.179-.726l.28.042h-1.687v-1.042h2.74v.825q0 .863-.365 1.483a2.5 2.5 0 0 1-1.004.952q-.64.333-1.463.332-.92 0-1.618-.405a2.8 2.8 0 0 1-1.086-1.16q-.387-.755-.387-1.79 0-.796.23-1.42.234-.625.652-1.06.42-.434.975-.662.555-.227 1.205-.227.556 0 1.035.163.48.16.85.454.375.295.611.7.237.402.304.888z"}),a.createElement("defs",null,a.createElement("linearGradient",{id:"dmg_svg__a",x1:20,x2:20,y1:0,y2:40,gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopOpacity:.4}),a.createElement("stop",{offset:1}))));l.displayName="Dmg";export{l as Dmg};