Merge branch 'main' of https://github.com/geode-sdk/geode
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 9.8 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 9.8 KiB |
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 9.7 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 9.7 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 8.9 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 9 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 8.7 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 8.8 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 9 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 8.1 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 8.1 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 7.9 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 8 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 8.2 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 5.3 KiB |
27
loader/resources/blanks/svgs/baseCircle_Big.svg
Normal file
|
@ -0,0 +1,27 @@
|
|||
<svg width="216" height="226" viewBox="0 0 216 226" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g filter="url(#filter0_d_732_175)">
|
||||
<circle cx="108" cy="113" r="103" fill="white"/>
|
||||
</g>
|
||||
<circle cx="108" cy="113" r="95" fill="black"/>
|
||||
<circle cx="108" cy="113" r="86" fill="url(#paint0_linear_732_175)"/>
|
||||
<path d="M108 199C155.496 199 194 160.496 194 113H22C22 160.496 60.5035 199 108 199Z" fill="url(#paint1_linear_732_175)"/>
|
||||
<defs>
|
||||
<filter id="filter0_d_732_175" x="5" y="10" width="210.1" height="213" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dx="4.1" dy="7"/>
|
||||
<feComposite in2="hardAlpha" operator="out"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0"/>
|
||||
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_732_175"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_732_175" result="shape"/>
|
||||
</filter>
|
||||
<linearGradient id="paint0_linear_732_175" x1="22" y1="199" x2="194" y2="199" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#D6FF5A"/>
|
||||
<stop offset="1" stop-color="#66CC11"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_732_175" x1="22" y1="113.348" x2="194" y2="113.348" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#90FF44"/>
|
||||
<stop offset="1" stop-color="#449906"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
After Width: | Height: | Size: 1.5 KiB |
27
loader/resources/blanks/svgs/baseCircle_BigAlt.svg
Normal file
|
@ -0,0 +1,27 @@
|
|||
<svg width="225" height="243" viewBox="0 0 225 243" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g filter="url(#filter0_d_732_207)">
|
||||
<circle cx="112" cy="120" r="102" fill="white"/>
|
||||
</g>
|
||||
<circle cx="112" cy="120" r="93.5" fill="black"/>
|
||||
<circle cx="112" cy="120" r="85.5" fill="url(#paint0_linear_732_207)"/>
|
||||
<path d="M112 205.5C159.22 205.5 197.5 167.22 197.5 120H26.5C26.5 167.22 64.7797 205.5 112 205.5Z" fill="url(#paint1_linear_732_207)"/>
|
||||
<defs>
|
||||
<filter id="filter0_d_732_207" x="10" y="18" width="211" height="218" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dx="7" dy="14"/>
|
||||
<feComposite in2="hardAlpha" operator="out"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0"/>
|
||||
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_732_207"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_732_207" result="shape"/>
|
||||
</filter>
|
||||
<linearGradient id="paint0_linear_732_207" x1="26.5" y1="205.5" x2="197.5" y2="205.5" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#D6FF5A"/>
|
||||
<stop offset="1" stop-color="#66CC11"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_732_207" x1="26.5" y1="120.346" x2="197.5" y2="120.346" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#90FF44"/>
|
||||
<stop offset="1" stop-color="#449906"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
After Width: | Height: | Size: 1.5 KiB |
27
loader/resources/blanks/svgs/baseCircle_Large.svg
Normal file
|
@ -0,0 +1,27 @@
|
|||
<svg width="321" height="333" viewBox="0 0 321 333" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g filter="url(#filter0_d_727_17)">
|
||||
<circle cx="160.5" cy="163.5" r="148.5" fill="white"/>
|
||||
</g>
|
||||
<circle cx="160.5" cy="163.5" r="137" fill="black"/>
|
||||
<circle cx="160.5" cy="163.5" r="124" fill="url(#paint0_linear_727_17)"/>
|
||||
<path d="M160.5 287.5C228.983 287.5 284.5 231.983 284.5 163.5H36.5C36.5 231.983 92.0167 287.5 160.5 287.5Z" fill="url(#paint1_linear_727_17)"/>
|
||||
<defs>
|
||||
<filter id="filter0_d_727_17" x="12" y="15" width="304.905" height="310.834" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dx="7.90537" dy="13.8344"/>
|
||||
<feComposite in2="hardAlpha" operator="out"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0"/>
|
||||
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_727_17"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_727_17" result="shape"/>
|
||||
</filter>
|
||||
<linearGradient id="paint0_linear_727_17" x1="36.5" y1="287.5" x2="284.5" y2="287.5" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#D6FF5A"/>
|
||||
<stop offset="1" stop-color="#66CC11"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_727_17" x1="36.5" y1="164.002" x2="284.5" y2="164.002" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#90FF44"/>
|
||||
<stop offset="1" stop-color="#449906"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
After Width: | Height: | Size: 1.5 KiB |
27
loader/resources/blanks/svgs/baseCircle_Medium.svg
Normal file
|
@ -0,0 +1,27 @@
|
|||
<svg width="187" height="196" viewBox="0 0 187 196" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g filter="url(#filter0_d_910_101)">
|
||||
<ellipse cx="93.5" cy="98" rx="87.5" ry="87" fill="white"/>
|
||||
</g>
|
||||
<ellipse cx="93.5" cy="98" rx="80.5" ry="81" fill="black"/>
|
||||
<circle cx="93.5" cy="98" r="73" fill="url(#paint0_linear_910_101)"/>
|
||||
<path d="M93.5 171C133.817 171 166.5 138.317 166.5 98H20.5C20.5 138.317 53.1832 171 93.5 171Z" fill="url(#paint1_linear_910_101)"/>
|
||||
<defs>
|
||||
<filter id="filter0_d_910_101" x="6" y="11" width="178.556" height="182" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dx="3.55575" dy="8"/>
|
||||
<feComposite in2="hardAlpha" operator="out"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0"/>
|
||||
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_910_101"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_910_101" result="shape"/>
|
||||
</filter>
|
||||
<linearGradient id="paint0_linear_910_101" x1="20.5" y1="171" x2="166.5" y2="171" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#D6FF5A"/>
|
||||
<stop offset="1" stop-color="#66CC11"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_910_101" x1="20.5" y1="98.2955" x2="166.5" y2="98.2955" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#90FF44"/>
|
||||
<stop offset="1" stop-color="#449906"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
After Width: | Height: | Size: 1.5 KiB |
27
loader/resources/blanks/svgs/baseCircle_MediumAlt.svg
Normal file
|
@ -0,0 +1,27 @@
|
|||
<svg width="210" height="228" viewBox="0 0 210 228" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g filter="url(#filter0_d_910_124)">
|
||||
<ellipse cx="105" cy="113.5" rx="94" ry="93.5" fill="white"/>
|
||||
</g>
|
||||
<circle cx="105" cy="113.5" r="86" fill="black"/>
|
||||
<circle cx="105" cy="113.5" r="78.5" fill="url(#paint0_linear_910_124)"/>
|
||||
<path d="M105 192C148.354 192 183.5 156.854 183.5 113.5H26.5C26.5 156.854 61.6456 192 105 192Z" fill="url(#paint1_linear_910_124)"/>
|
||||
<defs>
|
||||
<filter id="filter0_d_910_124" x="11" y="20" width="195" height="202" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dx="7" dy="15"/>
|
||||
<feComposite in2="hardAlpha" operator="out"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0"/>
|
||||
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_910_124"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_910_124" result="shape"/>
|
||||
</filter>
|
||||
<linearGradient id="paint0_linear_910_124" x1="26.5" y1="192" x2="183.5" y2="192" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#D6FF5A"/>
|
||||
<stop offset="1" stop-color="#66CC11"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_910_124" x1="26.5" y1="113.818" x2="183.5" y2="113.818" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#90FF44"/>
|
||||
<stop offset="1" stop-color="#449906"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
After Width: | Height: | Size: 1.5 KiB |
27
loader/resources/blanks/svgs/baseCircle_Small.svg
Normal file
|
@ -0,0 +1,27 @@
|
|||
<svg width="154" height="164" viewBox="0 0 154 164" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g filter="url(#filter0_d_910_130)">
|
||||
<circle cx="77" cy="82" r="71.9497" fill="white"/>
|
||||
</g>
|
||||
<circle cx="77.0001" cy="82" r="66.3614" fill="black"/>
|
||||
<circle cx="77" cy="82" r="60" fill="url(#paint0_linear_910_130)"/>
|
||||
<path d="M77 142C110.137 142 137 115.137 137 82H17C17 115.137 43.8629 142 77 142Z" fill="url(#paint1_linear_910_130)"/>
|
||||
<defs>
|
||||
<filter id="filter0_d_910_130" x="5.05029" y="10.0503" width="147.899" height="150.899" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dx="4" dy="7"/>
|
||||
<feComposite in2="hardAlpha" operator="out"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0"/>
|
||||
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_910_130"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_910_130" result="shape"/>
|
||||
</filter>
|
||||
<linearGradient id="paint0_linear_910_130" x1="17" y1="142" x2="137" y2="142" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#D6FF5A"/>
|
||||
<stop offset="1" stop-color="#66CC11"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_910_130" x1="17" y1="82.2429" x2="137" y2="82.2429" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#90FF44"/>
|
||||
<stop offset="1" stop-color="#449906"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
After Width: | Height: | Size: 1.5 KiB |
27
loader/resources/blanks/svgs/baseCircle_SmallAlt.svg
Normal file
|
@ -0,0 +1,27 @@
|
|||
<svg width="166" height="176" viewBox="0 0 166 176" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g filter="url(#filter0_d_911_204)">
|
||||
<ellipse cx="83.0529" cy="87.614" rx="78.1505" ry="77.7348" fill="white"/>
|
||||
</g>
|
||||
<circle cx="83.0526" cy="87.614" r="71.4994" fill="black"/>
|
||||
<circle cx="83" cy="87.614" r="64" fill="url(#paint0_linear_911_204)"/>
|
||||
<path d="M83 151.614C118.346 151.614 147 122.96 147 87.614H19C19 122.96 47.6538 151.614 83 151.614Z" fill="url(#paint1_linear_911_204)"/>
|
||||
<defs>
|
||||
<filter id="filter0_d_911_204" x="4.90234" y="9.87921" width="160.301" height="163.47" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dx="4" dy="8"/>
|
||||
<feComposite in2="hardAlpha" operator="out"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0"/>
|
||||
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_911_204"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_911_204" result="shape"/>
|
||||
</filter>
|
||||
<linearGradient id="paint0_linear_911_204" x1="19" y1="151.614" x2="147" y2="151.614" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#D6FF5A"/>
|
||||
<stop offset="1" stop-color="#66CC11"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_911_204" x1="19" y1="87.8731" x2="147" y2="87.8731" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#90FF44"/>
|
||||
<stop offset="1" stop-color="#449906"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
After Width: | Height: | Size: 1.6 KiB |
27
loader/resources/blanks/svgs/baseCircle_Tiny.svg
Normal file
|
@ -0,0 +1,27 @@
|
|||
<svg width="106" height="116" viewBox="0 0 106 116" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g filter="url(#filter0_d_911_217)">
|
||||
<ellipse cx="52.7393" cy="57.7456" rx="48.4141" ry="48.1565" fill="white"/>
|
||||
</g>
|
||||
<circle cx="52.7395" cy="57.7456" r="44.2937" fill="black"/>
|
||||
<circle cx="52.7393" cy="57.7456" r="39.5" fill="url(#paint0_linear_911_217)"/>
|
||||
<path d="M52.7393 97.2456C74.5545 97.2456 92.2393 79.5609 92.2393 57.7456H13.2393C13.2393 79.5609 30.924 97.2456 52.7393 97.2456Z" fill="url(#paint1_linear_911_217)"/>
|
||||
<defs>
|
||||
<filter id="filter0_d_911_217" x="4.3252" y="9.58908" width="100.828" height="103.313" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dx="4" dy="7"/>
|
||||
<feComposite in2="hardAlpha" operator="out"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0"/>
|
||||
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_911_217"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_911_217" result="shape"/>
|
||||
</filter>
|
||||
<linearGradient id="paint0_linear_911_217" x1="13.2393" y1="97.2456" x2="92.2393" y2="97.2456" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#D6FF5A"/>
|
||||
<stop offset="1" stop-color="#66CC11"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_911_217" x1="13.2393" y1="57.9055" x2="92.2393" y2="57.9055" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#90FF44"/>
|
||||
<stop offset="1" stop-color="#449906"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
After Width: | Height: | Size: 1.6 KiB |
42
loader/resources/blanks/svgs/gen.py
Normal file
|
@ -0,0 +1,42 @@
|
|||
import subprocess
|
||||
|
||||
# you must run this in the same directory as the script!
|
||||
# and also you must have rsvg-convert
|
||||
# on ubuntu you can get this with `apt install librsvg2-bin`
|
||||
|
||||
sizes = [
|
||||
"Large",
|
||||
"Big",
|
||||
"BigAlt",
|
||||
"Medium",
|
||||
"MediumAlt",
|
||||
"Small",
|
||||
"SmallAlt",
|
||||
"Tiny",
|
||||
]
|
||||
|
||||
# the green gradient colors we are replacing in the base svgs
|
||||
color_from = ["#D6FF5A", "#66CC11", "#90FF44", "#449906"]
|
||||
|
||||
# each pair of colors represents a gradient,
|
||||
# first pair is for the top part of the button,
|
||||
# second pair is for the bottom.
|
||||
colors = {
|
||||
"Green": ["#D6FF5A", "#66CC11", "#90FF44", "#449906"],
|
||||
"Pink": ["#FACCFC", "#FF71FF", "#FBB1FF", "#FB58FF"],
|
||||
"Cyan": ["#58FDFA", "#13D5EA", "#44F9F6", "#0B9FBE"],
|
||||
"Blue": ["#1AF1F8", "#0AB4FF", "#23DCFA", "#0077FA"],
|
||||
"Gray": ["#DEDEE0", "#979997", "#CACCCA", "#747472"],
|
||||
# "DarkPurple": ["#41384b", "#2f2937", "#393142", "#221e28"],
|
||||
}
|
||||
|
||||
for size in sizes:
|
||||
with open(f"baseCircle_{size}.svg", "r") as file:
|
||||
svg_base = file.read()
|
||||
for name, cols in colors.items():
|
||||
svg = svg_base
|
||||
out = f"../baseCircle_{size}_{name.title()}.png"
|
||||
print(f"Generating {out}")
|
||||
for color_orig, color_to in zip(color_from, cols):
|
||||
svg = svg.replace(color_orig, color_to)
|
||||
subprocess.run(["rsvg-convert", "-o", out], input=svg.encode())
|