Use an icon instead of link for anki mimetypes

This commit is contained in:
Sergii Prodan 2022-07-01 22:30:19 +02:00 committed by Eliver L
parent 9d8c46f31a
commit 531f7a674b
3 changed files with 340 additions and 3 deletions

View File

@ -1 +0,0 @@
../../apps/scalable/anki.svg

Before

Width:  |  Height:  |  Size: 28 B

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -0,0 +1,338 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
style="isolation:isolate"
viewBox="0 0 48 48"
width="48pt"
height="48pt"
version="1.1"
id="svg9"
sodipodi:docname="application-json.svg"
inkscape:version="1.2 (dc2aedaf03, 2022-05-15)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<path
id="path7"
style="fill:url(#linearGradient1115);fill-opacity:1.0;fill-rule:evenodd"
d="M 9.7558594 1.9995117 C 7.130862 1.9995117 4.9995117 4.130862 4.9995117 6.7558594 L 4.9995117 13.999512 C 4.9995117 15.103511 5.8110596 16.000488 6.8100586 16.000488 C 7.8080576 16.000488 8.6191406 15.103511 8.6191406 13.999512 L 8.6191406 8.8535156 C 8.6191406 7.2785172 9.8976578 6 11.472656 6 L 36.527344 6 C 38.102342 6 39.380859 7.2785172 39.380859 8.8535156 L 39.380859 22.000488 L 39.380859 22.999512 L 39.380859 39.146484 C 39.380859 40.721483 38.102342 42 36.527344 42 L 11.472656 42 C 9.8976578 42 8.6191406 40.721483 8.6191406 39.146484 L 8.6191406 22.000488 C 8.6191406 20.896489 7.8080576 19.999512 6.8100586 19.999512 C 5.8110596 19.999512 4.9995117 20.896489 4.9995117 22.000488 L 4.9995117 41.244141 C 4.9995117 43.869138 7.130862 46.000488 9.7558594 46.000488 L 38.244141 46.000488 C 40.755813 46.000488 42.943418 43.900767 42.946289 41.15918 L 42.98291 6.769043 C 42.985663 4.1359535 40.755813 1.9995117 38.244141 1.9995117 L 9.7558594 1.9995117 z " />
<metadata
id="metadata15">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs13">
<linearGradient
id="_lgradient_99"
x1="-3.8208334e-05"
y1="0.50000006"
x2="0.99996185"
y2="0.50000006"
gradientTransform="matrix(48,0,0,47.249,-0.0407732,1.1536121)"
gradientUnits="userSpaceOnUse">
<stop
offset="0%"
stop-opacity="1"
style="stop-color:rgb(211,0,220)"
id="stop2-6" />
<stop
offset="100%"
stop-opacity="1"
style="stop-color:rgb(135,0,255)"
id="stop4-2" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#_lgradient_56"
id="linearGradient1115"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(43.5,0,0,44,5,2)"
x1="0.22078557"
y1="0.047239967"
x2="0.9022491"
y2="0.90614605" />
<linearGradient
id="_lgradient_7"
x1="0.41703096"
y1="0.019248826"
x2="0.67953813"
y2="0.96413201"
gradientTransform="matrix(47,0,0,47.989,-40.470563,42.410791)"
gradientUnits="userSpaceOnUse">
<stop
offset="28.000000000000004%"
stop-opacity="1"
style="stop-color:rgb(0,205,215)"
id="stop2-2" />
<stop
offset="94%"
stop-opacity="1"
style="stop-color:rgb(32,134,215)"
id="stop4-7" />
</linearGradient>
<linearGradient
id="_lgradient_4"
x1="9.5045692e-07"
y1="0.5"
x2="1"
y2="0.5"
gradientTransform="matrix(15.726,0,0,10.26375,47.560727,-31.16573)"
gradientUnits="userSpaceOnUse">
<stop
offset="0%"
stop-opacity="1"
style="stop-color:rgb(198,255,221)"
id="stop16" />
<stop
offset="50%"
stop-opacity="1"
style="stop-color:rgb(251,215,134)"
id="stop18" />
<stop
offset="100%"
stop-opacity="1"
style="stop-color:rgb(247,121,125)"
id="stop20" />
</linearGradient>
<linearGradient
id="_lgradient_5"
x1="6.1839199"
y1="27.456914"
x2="34.482739"
y2="27.456914"
gradientTransform="matrix(0.90756893,0,0,0.61978765,37.468727,-44.76098)"
gradientUnits="userSpaceOnUse">
<stop
offset="0%"
stop-opacity="1"
style="stop-color:rgb(198,255,221)"
id="stop23" />
<stop
offset="50%"
stop-opacity="1"
style="stop-color:rgb(251,215,134)"
id="stop25" />
<stop
offset="100%"
stop-opacity="1"
style="stop-color:rgb(247,121,125)"
id="stop27" />
</linearGradient>
<linearGradient
id="_lgradient_4-9"
x1="9.5045692e-07"
y1="0.5"
x2="1"
y2="0.5"
gradientTransform="matrix(22.65324,0,0,14.784891,12.673445,16.607272)"
gradientUnits="userSpaceOnUse">
<stop
offset="0%"
stop-opacity="1"
style="stop-color:rgb(198,255,221)"
id="stop16-3" />
<stop
offset="50%"
stop-opacity="1"
style="stop-color:rgb(251,215,134)"
id="stop18-6" />
<stop
offset="100%"
stop-opacity="1"
style="stop-color:rgb(247,121,125)"
id="stop20-0" />
</linearGradient>
<linearGradient
id="_lgradient_2"
x1="-0.59027779"
y1="0.49107143"
x2="1.805162"
y2="0.4812001"
gradientTransform="matrix(23.235851,0,0,18.072328,12.382076,14.961311)"
gradientUnits="userSpaceOnUse">
<stop
offset="0%"
stop-opacity="1"
style="stop-color:rgb(24,208,173)"
id="stop2-62" />
<stop
offset="90.44964029999998%"
stop-opacity="1"
style="stop-color:rgb(7,195,242)"
id="stop4-6" />
</linearGradient>
<linearGradient
id="_lgradient_3"
x1="3.3879371"
y1="26.708285"
x2="43.962521"
y2="27.041622"
gradientTransform="matrix(1.1253161,0,0,0.88863923,9.8644068,-55.425686)"
gradientUnits="userSpaceOnUse">
<stop
offset="0%"
stop-opacity="1"
style="stop-color:rgb(24,208,173)"
id="stop7" />
<stop
offset="90.44964029999998%"
stop-opacity="1"
style="stop-color:rgb(7,195,242)"
id="stop9" />
</linearGradient>
<linearGradient
id="_lgradient_43"
x1="0.06818182"
y1="0.23295455"
x2="0.93843019"
y2="0.77938956"
gradientTransform="matrix(47,0,0,44,-63.567797,-55.966102)"
gradientUnits="userSpaceOnUse">
<stop
offset="0%"
stop-opacity="1"
style="stop-color:rgb(48,207,208)"
id="stop2-1" />
<stop
offset="98.26086956521739%"
stop-opacity="1"
style="stop-color:rgb(51,8,103)"
id="stop4-8" />
</linearGradient>
<linearGradient
id="_lgradient_56"
x1="0"
y1="0.5"
x2="0.90748805"
y2="0.92007786"
gradientTransform="matrix(20.40996,0,0,20.648673,18.694492,21.675381)"
gradientUnits="userSpaceOnUse">
<stop
offset="0%"
stop-opacity="1"
style="stop-color:rgb(0,196,255)"
id="stop454" />
<stop
offset="83.88839793817618%"
stop-opacity="1"
style="stop-color:rgb(0,114,255)"
id="stop456" />
</linearGradient>
</defs>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1018"
id="namedview11"
showgrid="false"
showguides="true"
inkscape:guide-bbox="true"
inkscape:snap-to-guides="true"
inkscape:snap-global="true"
inkscape:zoom="5.2149125"
inkscape:cx="21.093355"
inkscape:cy="39.022706"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg9"
inkscape:document-rotation="0"
inkscape:showpageshadow="2"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="pt">
<sodipodi:guide
position="7.2628256,50.156642"
orientation="1,0"
id="guide4525"
inkscape:locked="false" />
<sodipodi:guide
position="2.5168207,52.349872"
orientation="1,0"
id="guide4527"
inkscape:locked="false" />
<sodipodi:guide
position="-3.1640032,41.27586"
orientation="0,1"
id="guide4529"
inkscape:locked="false" />
<sodipodi:guide
position="35.7029,51.846507"
orientation="1,0"
id="guide4531"
inkscape:locked="false" />
<sodipodi:guide
position="40.484859,50.983597"
orientation="1,0"
id="guide4533"
inkscape:locked="false" />
<sodipodi:guide
position="-13.73465,43.86459"
orientation="0,1"
id="guide4535"
inkscape:locked="false" />
<sodipodi:guide
position="4.6381411,56.161057"
orientation="1,0"
id="guide4537"
inkscape:locked="false" />
<sodipodi:guide
position="38.255675,55.190284"
orientation="1,0"
id="guide4539"
inkscape:locked="false" />
<sodipodi:guide
position="-9.6717826,4.0988224"
orientation="0,1"
id="guide4541"
inkscape:locked="false" />
<sodipodi:guide
position="-13.914423,6.795416"
orientation="0,1"
id="guide4543"
inkscape:locked="false" />
</sodipodi:namedview>
<linearGradient
id="_lgradient_25"
x1="0.22078557924020603"
y1="0.04723996636961164"
x2="0.9022490870014594"
y2="0.9061460265379022"
gradientTransform="matrix(43.5,0,0,44,5,2)"
gradientUnits="userSpaceOnUse">
<stop
offset="2.608695652173913%"
stop-opacity="1"
style="stop-color:#ea8bf3;stop-opacity:1"
id="stop2" />
<stop
offset="98.69565217391305%"
stop-opacity="1"
style="stop-color:#826ef5;stop-opacity:1"
id="stop4" />
</linearGradient>
<path
d="m 27.646645,27.333794 v 0 c -0.115614,0.523588 -0.635459,0.857121 -1.160295,0.744418 v 0 C 25.961098,27.96551 25.628814,27.446496 25.744011,26.920413 v 0 l 0.617161,-2.866636 C 26.643551,22.741272 27.64415,22.446 28.594011,23.395029 l 3.397293,3.393967 4.688173,-0.378448 c 1.33829,-0.108127 1.935905,0.77852 1.333716,1.978324 l -2.051933,4.087647 1.591142,4.123414 c 0.483249,1.252619 -0.200036,2.095184 -1.525434,1.880177 l -4.706888,-0.76355 -3.717518,3.06085 c -1.036364,0.853794 -2.008267,0.464534 -2.169211,-0.868349 l -0.540639,-4.479404 -4.146286,-2.639151 c -1.132432,-0.721129 -1.048424,-1.731293 0.187976,-2.254881 l 3.403531,-1.440596 v 0 c 0.494477,-0.209185 1.065475,0.02162 1.275077,0.515687 v 0 c 0.209186,0.494061 -0.02162,1.065475 -0.516102,1.275077 v 0 l -2.232841,0.948613 3.84852,2.447017 0.515686,4.281862 3.537028,-2.909471 4.62704,0.748994 -1.557041,-4.033168 1.979987,-3.936269 -4.56341,0.369713 -3.230527,-3.225536 z"
fill="url(#_lgradient_56)"
id="path459"
style="isolation:isolate;fill:url(#_lgradient_56);stroke-width:0.415877" />
</svg>

Before

Width:  |  Height:  |  Size: 28 B

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -1 +1 @@
../../apps/scalable/anki.svg
application-x-anki.svg

View File

@ -1 +1 @@
../../apps/scalable/anki.svg
application-x-anki.svg