FIX:add some missing darkmode svgs

Change-Id: I0a5a47e9733b534e45c65cb79ecd5b1cd2da7303
This commit is contained in:
liz.li 2022-11-29 17:35:49 +08:00 committed by Lane.Wei
parent 1f5454052f
commit 882e06bd9b
11 changed files with 57 additions and 7 deletions

View File

@ -0,0 +1,3 @@
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M10 17.3707C14.0707 17.3707 17.3707 14.0707 17.3707 10C17.3707 5.92935 14.0707 2.62939 10 2.62939C5.92935 2.62939 2.62939 5.92935 2.62939 10C2.62939 14.0707 5.92935 17.3707 10 17.3707ZM10 18.3707C14.623 18.3707 18.3707 14.623 18.3707 10C18.3707 5.37706 14.623 1.62939 10 1.62939C5.37706 1.62939 1.62939 5.37706 1.62939 10C1.62939 14.623 5.37706 18.3707 10 18.3707Z" fill="#B6B6B6"/>
</svg>

After

Width:  |  Height:  |  Size: 535 B

View File

@ -0,0 +1,7 @@
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M17.1895 9.86816L8.73591 18.3217C8.54065 18.517 8.22406 18.517 8.0288 18.3217L0.346886 10.6398C0.151624 10.4446 0.151624 10.128 0.346886 9.93272L0.411443 9.86816H17.1895Z" fill="#54545A"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M18.0623 11.3705L17.6241 11.6113L17.1862 11.3701C17.2742 11.2104 17.4421 11.1112 17.6244 11.1113C17.8067 11.1114 17.9745 11.2107 18.0623 11.3705ZM19.8145 15.5488C19.8145 15.5488 19.8145 15.5487 19.8145 15.5488V15.5488ZM19.8145 15.5488C19.9034 16.6116 19.6888 17.3534 19.1836 17.8066C18.6985 18.2419 18.0669 18.2932 17.6241 18.2932C17.1809 18.2932 16.536 18.2389 16.0436 17.8063C15.5228 17.3487 15.3094 16.599 15.4355 15.5317C15.4774 15.1768 15.6202 14.7344 15.7876 14.3012C15.959 13.8575 16.1721 13.3835 16.378 12.9523C16.5844 12.52 16.786 12.1253 16.9359 11.8388C17.0109 11.6954 17.0732 11.5788 17.1168 11.4978C17.1386 11.4573 17.1558 11.4257 17.1676 11.404L17.1812 11.3792L17.1862 11.3701C17.1862 11.37 17.1862 11.3701 17.6241 11.6113C18.0623 11.3705 18.0623 11.3704 18.0623 11.3705L18.0674 11.3798L18.0814 11.4054C18.0935 11.4277 18.1112 11.4602 18.1336 11.5019C18.1784 11.5852 18.2423 11.7051 18.3191 11.852C18.4727 12.1456 18.6788 12.5491 18.8881 12.9871C19.0969 13.424 19.3118 13.9012 19.4811 14.341C19.6449 14.7665 19.7859 15.206 19.8145 15.5488ZM17.6242 12.686C17.5175 12.8961 17.3996 13.1334 17.2804 13.3831C17.0804 13.8022 16.879 14.2508 16.7204 14.6615C16.5577 15.0826 16.4549 15.4264 16.4286 15.6489C16.3218 16.5522 16.5317 16.904 16.7037 17.0551C16.9042 17.2313 17.2218 17.2932 17.6241 17.2932C18.0279 17.2932 18.3252 17.2333 18.5158 17.0623C18.6864 16.9092 18.8947 16.5497 18.818 15.632C18.8023 15.4438 18.7096 15.1204 18.5479 14.7003C18.3917 14.2946 18.189 13.8434 17.9859 13.4183C17.8606 13.1562 17.7363 12.9063 17.6242 12.686Z" fill="#B6B6B6"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.22827 2.47085L1.41437 10.2848L8.38918 17.2596L16.2031 9.44566L9.22827 2.47085ZM9.58182 1.41019C9.38656 1.21493 9.06998 1.21493 8.87472 1.41019L0.353714 9.9312C0.158452 10.1265 0.158452 10.443 0.353714 10.6383L8.03563 18.3202C8.23089 18.5155 8.54747 18.5155 8.74273 18.3202L17.2637 9.79921C17.459 9.60395 17.459 9.28737 17.2637 9.09211L9.58182 1.41019Z" fill="#B6B6B6"/>
<path d="M3.92889 1.63263C4.007 1.55453 4.13363 1.55453 4.21173 1.63263L8.48013 5.90103C8.55824 5.97913 8.55824 6.10577 8.48013 6.18387L8.07582 6.58818C7.99771 6.66629 7.87108 6.66629 7.79298 6.58818L3.52458 2.31979C3.44647 2.24168 3.44647 2.11505 3.52458 2.03695L3.92889 1.63263Z" fill="#54545A"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.79298 6.58834C7.87108 6.66644 7.99771 6.66644 8.07582 6.58834L8.48013 6.18402C8.55824 6.10592 8.55824 5.97929 8.48013 5.90118L4.21173 1.63278C4.21173 1.63278 4.21173 1.63278 4.21173 1.63278C4.13363 1.55468 4.007 1.55468 3.92889 1.63278L3.52458 2.0371C3.44647 2.1152 3.44647 2.24183 3.52458 2.31994L7.79298 6.58834ZM4.91884 0.925677L9.18724 5.19407C9.65587 5.6627 9.65587 6.4225 9.18724 6.89113L8.78293 7.29544C8.3143 7.76407 7.5545 7.76407 7.08587 7.29544L2.81747 3.02705C2.34884 2.55841 2.34884 1.79862 2.81747 1.32999L3.22178 0.925677C3.69041 0.457047 4.45021 0.457048 4.91884 0.925677Z" fill="#B6B6B6"/>
</svg>

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -0,0 +1,14 @@
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M2.37524 7.07324C2.37524 5.41639 3.71839 4.07324 5.37524 4.07324H14.2421C15.899 4.07324 17.2421 5.41639 17.2421 7.07324V13.2871C17.2421 14.944 15.899 16.2871 14.2421 16.2871H5.37524C3.71839 16.2871 2.37524 14.944 2.37524 13.2871V7.07324Z" fill="#54545A"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M14.2421 5.07324H5.37524C4.27067 5.07324 3.37524 5.96867 3.37524 7.07324V13.2871C3.37524 14.3917 4.27067 15.2871 5.37524 15.2871H14.2421C15.3467 15.2871 16.2421 14.3917 16.2421 13.2871V7.07324C16.2421 5.96867 15.3467 5.07324 14.2421 5.07324ZM5.37524 4.07324C3.71839 4.07324 2.37524 5.41639 2.37524 7.07324V13.2871C2.37524 14.944 3.71839 16.2871 5.37524 16.2871H14.2421C15.899 16.2871 17.2421 14.944 17.2421 13.2871V7.07324C17.2421 5.41639 15.899 4.07324 14.2421 4.07324H5.37524Z" fill="#B6B6B6"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.48804 1.73156C6.76418 1.7315 6.98809 1.9553 6.98816 2.23145L6.98903 5.91478C6.9891 6.19092 6.76529 6.41483 6.48915 6.41489C6.21301 6.41496 5.9891 6.19116 5.98903 5.91501L5.98816 2.23168C5.98809 1.95554 6.21189 1.73163 6.48804 1.73156Z" fill="#B6B6B6"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.89917 1.73156C10.1753 1.7315 10.3992 1.9553 10.3993 2.23145L10.4002 5.91478C10.4002 6.19092 10.1764 6.41483 9.90028 6.41489C9.62414 6.41496 9.40023 6.19116 9.40016 5.91501L9.39929 2.23168C9.39922 1.95554 9.62303 1.73163 9.89917 1.73156Z" fill="#B6B6B6"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.3103 1.73156C13.5864 1.7315 13.8104 1.9553 13.8104 2.23145L13.8113 5.91478C13.8114 6.19092 13.5876 6.41483 13.3114 6.41489C13.0353 6.41496 12.8114 6.19116 12.8113 5.91501L12.8104 2.23168C12.8104 1.95554 13.0342 1.73163 13.3103 1.73156Z" fill="#B6B6B6"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M14.9 11.3857C14.9 11.1096 15.1238 10.8857 15.3999 10.8856L19.0832 10.8847C19.3594 10.8847 19.5833 11.1085 19.5834 11.3846C19.5834 11.6608 19.3596 11.8847 19.0835 11.8847L15.4001 11.8856C15.124 11.8857 14.9001 11.6619 14.9 11.3857Z" fill="#B6B6B6"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M14.9 7.97461C14.9 7.69847 15.1238 7.47456 15.3999 7.47449L19.0832 7.47361C19.3594 7.47355 19.5833 7.69735 19.5834 7.9735C19.5834 8.24964 19.3596 8.47355 19.0835 8.47361L15.4001 8.47449C15.124 8.47456 14.9001 8.25075 14.9 7.97461Z" fill="#B6B6B6"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M0.416623 11.3857C0.416557 11.1096 0.640362 10.8857 0.916504 10.8856L4.59983 10.8847C4.87598 10.8847 5.09989 11.1085 5.09995 11.3846C5.10002 11.6608 4.87621 11.8847 4.60007 11.8847L0.916742 11.8856C0.640599 11.8857 0.416688 11.6619 0.416623 11.3857Z" fill="#B6B6B6"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M0.416623 7.97461C0.416557 7.69847 0.640362 7.47456 0.916504 7.47449L4.59983 7.47361C4.87598 7.47355 5.09989 7.69735 5.09995 7.9735C5.10002 8.24964 4.87621 8.47355 4.60007 8.47361L0.916742 8.47449C0.640599 8.47456 0.416688 8.25075 0.416623 7.97461Z" fill="#B6B6B6"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.48804 13.5851C6.76418 13.585 6.98809 13.8088 6.98816 14.085L6.98903 17.7683C6.9891 18.0444 6.76529 18.2683 6.48915 18.2684C6.21301 18.2685 5.9891 18.0447 5.98903 17.7685L5.98816 14.0852C5.98809 13.8091 6.21189 13.5851 6.48804 13.5851Z" fill="#B6B6B6"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.89917 13.5851C10.1753 13.585 10.3992 13.8088 10.3993 14.085L10.4002 17.7683C10.4002 18.0444 10.1764 18.2683 9.90028 18.2684C9.62414 18.2685 9.40023 18.0447 9.40016 17.7685L9.39929 14.0852C9.39922 13.8091 9.62303 13.5851 9.89917 13.5851Z" fill="#B6B6B6"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.3103 13.5851C13.5864 13.585 13.8104 13.8088 13.8104 14.085L13.8113 17.7683C13.8114 18.0444 13.5876 18.2683 13.3114 18.2684C13.0353 18.2685 12.8114 18.0447 12.8113 17.7685L12.8104 14.0852C12.8104 13.8091 13.0342 13.5851 13.3103 13.5851Z" fill="#B6B6B6"/>
</svg>

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@ -0,0 +1,4 @@
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.92009 10.2489C6.0542 10.4903 5.96725 10.7947 5.72586 10.9289L2.12609 12.929C2.05004 12.9747 2.01444 13.0139 2.00025 13.0342C2.01465 13.0548 2.05111 13.0949 2.1295 13.1415L9.34396 17.3224C9.50336 17.4167 9.74663 17.479 10.0183 17.479C10.29 17.479 10.5333 17.4167 10.6927 17.3224L10.6975 17.3195L17.8712 13.1843C17.9492 13.1378 17.9856 13.0979 18 13.0773C17.9857 13.0569 17.9498 13.0174 17.8729 12.9713L14.2896 10.9488C14.0492 10.813 13.9642 10.508 14.1 10.2676C14.2357 10.0271 14.5407 9.94217 14.7812 10.0779L18.3782 12.1082C18.7214 12.3112 19.0061 12.6432 19.0061 13.0773C19.0061 13.5114 18.7213 13.8433 18.3781 14.0463L18.3733 14.0492L11.1992 18.1847C10.849 18.3909 10.4195 18.479 10.0183 18.479C9.6169 18.479 9.18718 18.3908 8.83698 18.1844L1.62208 14.0032C1.27887 13.8002 0.994141 13.4683 0.994141 13.0342C0.994141 12.6001 1.27888 12.2682 1.62209 12.0652L1.63371 12.0583L5.24018 10.0547C5.48156 9.92061 5.78597 10.0076 5.92009 10.2489Z" fill="#B6B6B6"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.98189 2.521C9.7102 2.521 9.46692 2.58331 9.30752 2.67759L9.2988 2.68274L2.12736 6.73048C2.05044 6.77656 2.01452 6.81608 2.00025 6.8365C2.01465 6.8571 2.0511 6.89716 2.12947 6.94378L9.34396 11.1247C9.50336 11.219 9.74663 11.2813 10.0183 11.2813C10.29 11.2813 10.5333 11.219 10.6927 11.1247L10.6946 11.1236L17.8326 6.94479C17.8329 6.94462 17.8323 6.94495 17.8326 6.94479C17.9116 6.89794 17.9491 6.85718 17.9635 6.8365C17.9493 6.81608 17.9133 6.77656 17.8364 6.73047L10.6562 2.67768C10.4968 2.58339 10.2536 2.521 9.98189 2.521ZM11.1606 1.81407C10.8109 1.60871 10.3823 1.521 9.98189 1.521C9.58147 1.521 9.15289 1.60872 8.80316 1.81409L1.63086 5.86243L1.62209 5.86749C1.27888 6.07049 0.994141 6.40241 0.994141 6.8365C0.994141 7.27058 1.27888 7.60251 1.62209 7.8055L8.83693 11.9866C9.18715 12.1931 9.61688 12.2813 10.0183 12.2813C10.4202 12.2813 10.8504 12.1929 11.2008 11.986C11.2011 11.9858 11.2014 11.9856 11.2018 11.9854L18.3398 7.80664L18.3417 7.8055C18.6849 7.60251 18.9696 7.27058 18.9696 6.8365C18.9696 6.40241 18.6849 6.07049 18.3417 5.86749L11.1606 1.81407Z" fill="#B6B6B6"/>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -1,8 +1,4 @@
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg"> <svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M36.9473 39.2H3.05259C1.81221 39.2 0.8 38.1881 0.8 36.9393V3.06069C0.8 1.81186 1.81221 0.8 3.05259 0.8H36.9473C38.1877 0.8 39.2 1.81188 39.2 3.06069V37.0449C39.2 38.17 38.206 39.2 36.9473 39.2Z" fill="#54545A" stroke="#98989C" stroke-width="1.6" stroke-miterlimit="10"/> <path d="M36.9473 39.2H3.05259C1.81221 39.2 0.8 38.1881 0.8 36.9393V3.06069C0.8 1.81186 1.81221 0.8 3.05259 0.8H36.9473C38.1877 0.8 39.2 1.81188 39.2 3.06069V37.0449C39.2 38.17 38.206 39.2 36.9473 39.2Z" fill="#54545A" stroke="#98989C" stroke-width="1.6" stroke-miterlimit="10"/>
<mask id="path-2-inside-1_8623_36802" fill="white"> <path fill-rule="evenodd" clip-rule="evenodd" d="M10.4881 8.42689C9.9189 7.8577 8.99607 7.8577 8.42689 8.42689C7.8577 8.99607 7.8577 9.91891 8.42689 10.4881L17.9388 20L8.42689 29.5119C7.8577 30.0811 7.8577 31.0039 8.42689 31.5731C8.99607 32.1423 9.9189 32.1423 10.4881 31.5731L20 22.0612L29.5119 31.5731C30.0811 32.1423 31.0039 32.1423 31.5731 31.5731C32.1423 31.0039 32.1423 30.0811 31.5731 29.5119L22.0612 20L31.5731 10.4881C32.1423 9.91891 32.1423 8.99607 31.5731 8.42689C31.0039 7.8577 30.0811 7.8577 29.5119 8.42689L20 17.9388L10.4881 8.42689Z" fill="#98989C"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.98818 7.81728C9.38904 7.21813 8.41764 7.21813 7.8185 7.81728C7.21936 8.41642 7.21936 9.38782 7.8185 9.98696L17.831 19.9995L7.8185 30.012C7.21936 30.6112 7.21936 31.5826 7.8185 32.1817C8.41764 32.7809 9.38904 32.7809 9.98818 32.1817L20.0007 22.1692L30.0133 32.1817C30.6124 32.7809 31.5838 32.7809 32.1829 32.1817C32.7821 31.5826 32.7821 30.6112 32.1829 30.012L22.1704 19.9995L32.1829 9.98696C32.7821 9.38782 32.7821 8.41642 32.1829 7.81728C31.5838 7.21813 30.6124 7.21813 30.0133 7.81728L20.0007 17.8298L9.98818 7.81728Z"/>
</mask>
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.98818 7.81728C9.38904 7.21813 8.41764 7.21813 7.8185 7.81728C7.21936 8.41642 7.21936 9.38782 7.8185 9.98696L17.831 19.9995L7.8185 30.012C7.21936 30.6112 7.21936 31.5826 7.8185 32.1817C8.41764 32.7809 9.38904 32.7809 9.98818 32.1817L20.0007 22.1692L30.0133 32.1817C30.6124 32.7809 31.5838 32.7809 32.1829 32.1817C32.7821 31.5826 32.7821 30.6112 32.1829 30.012L22.1704 19.9995L32.1829 9.98696C32.7821 9.38782 32.7821 8.41642 32.1829 7.81728C31.5838 7.21813 30.6124 7.21813 30.0133 7.81728L20.0007 17.8298L9.98818 7.81728Z" fill="#54545A"/>
<path d="M7.8185 7.81728L6.68713 6.68591L6.68713 6.68591L7.8185 7.81728ZM9.98818 7.81728L11.1196 6.68591L11.1196 6.68591L9.98818 7.81728ZM7.8185 9.98696L6.68713 11.1183L6.68713 11.1183L7.8185 9.98696ZM17.831 19.9995L18.9624 21.1309L20.0938 19.9995L18.9624 18.8681L17.831 19.9995ZM7.8185 30.012L8.94987 31.1434L7.8185 30.012ZM7.8185 32.1817L6.68713 33.3131L6.68713 33.3131L7.8185 32.1817ZM9.98818 32.1817L11.1196 33.3131L11.1196 33.3131L9.98818 32.1817ZM20.0007 22.1692L21.1321 21.0378L20.0007 19.9064L18.8694 21.0378L20.0007 22.1692ZM30.0133 32.1817L28.8819 33.3131L28.8819 33.3131L30.0133 32.1817ZM32.1829 32.1817L33.3143 33.3131L33.3143 33.3131L32.1829 32.1817ZM32.1829 30.012L33.3143 28.8807L33.3143 28.8807L32.1829 30.012ZM22.1704 19.9995L21.039 18.8681L19.9077 19.9995L21.039 21.1309L22.1704 19.9995ZM32.1829 9.98696L33.3143 11.1183L33.3143 11.1183L32.1829 9.98696ZM32.1829 7.81728L33.3143 6.68591L33.3143 6.68591L32.1829 7.81728ZM30.0133 7.81728L31.1446 8.94865L31.1446 8.94865L30.0133 7.81728ZM20.0007 17.8298L18.8694 18.9612L20.0007 20.0926L21.1321 18.9612L20.0007 17.8298ZM8.94987 8.94865C8.92417 8.97434 8.88251 8.97434 8.85681 8.94865L11.1196 6.68591C9.89557 5.46192 7.91111 5.46192 6.68713 6.68591L8.94987 8.94865ZM8.94987 8.85559C8.97556 8.88129 8.97556 8.92295 8.94987 8.94865L6.68713 6.68591C5.46315 7.90989 5.46315 9.89435 6.68713 11.1183L8.94987 8.85559ZM18.9624 18.8681L8.94987 8.85559L6.68713 11.1183L16.6997 21.1309L18.9624 18.8681ZM8.94987 31.1434L18.9624 21.1309L16.6997 18.8681L6.68713 28.8807L8.94987 31.1434ZM8.94987 31.0504C8.97557 31.076 8.97556 31.1177 8.94987 31.1434L6.68713 28.8807C5.46315 30.1046 5.46314 32.0891 6.68713 33.3131L8.94987 31.0504ZM8.85681 31.0504C8.88251 31.0247 8.92417 31.0247 8.94987 31.0504L6.68713 33.3131C7.91111 34.5371 9.89557 34.5371 11.1196 33.3131L8.85681 31.0504ZM18.8694 21.0378L8.85681 31.0504L11.1196 33.3131L21.1321 23.3006L18.8694 21.0378ZM31.1446 31.0504L21.1321 21.0378L18.8694 23.3006L28.8819 33.3131L31.1446 31.0504ZM31.0516 31.0504C31.0773 31.0247 31.1189 31.0247 31.1446 31.0504L28.8819 33.3131C30.1059 34.5371 32.0903 34.5371 33.3143 33.3131L31.0516 31.0504ZM31.0516 31.1434C31.0259 31.1177 31.0259 31.0761 31.0516 31.0504L33.3143 33.3131C34.5383 32.0891 34.5383 30.1046 33.3143 28.8807L31.0516 31.1434ZM21.039 21.1309L31.0516 31.1434L33.3143 28.8807L23.3018 18.8681L21.039 21.1309ZM31.0516 8.85559L21.039 18.8681L23.3018 21.1309L33.3143 11.1183L31.0516 8.85559ZM31.0516 8.94865C31.0259 8.92295 31.0259 8.88129 31.0516 8.85559L33.3143 11.1183C34.5383 9.89435 34.5383 7.90989 33.3143 6.68591L31.0516 8.94865ZM31.1446 8.94865C31.1189 8.97434 31.0773 8.97434 31.0516 8.94865L33.3143 6.68591C32.0903 5.46192 30.1059 5.46192 28.8819 6.68591L31.1446 8.94865ZM21.1321 18.9612L31.1446 8.94865L28.8819 6.68591L18.8694 16.6984L21.1321 18.9612ZM8.85681 8.94865L18.8694 18.9612L21.1321 16.6984L11.1196 6.68591L8.85681 8.94865Z" fill="#98989C" mask="url(#path-2-inside-1_8623_36802)"/>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 950 B

View File

@ -0,0 +1,5 @@
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M10 17.3707C14.0707 17.3707 17.3707 14.0707 17.3707 10C17.3707 5.92935 14.0707 2.62939 10 2.62939C5.92935 2.62939 2.62939 5.92935 2.62939 10C2.62939 14.0707 5.92935 17.3707 10 17.3707ZM10 18.3707C14.623 18.3707 18.3707 14.623 18.3707 10C18.3707 5.37706 14.623 1.62939 10 1.62939C5.37706 1.62939 1.62939 5.37706 1.62939 10C1.62939 14.623 5.37706 18.3707 10 18.3707Z" fill="#B6B6B6"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.93664 7.212C9.28438 7.19745 9.6393 7.18994 9.99983 7.18994C10.3604 7.18994 10.7153 7.19745 11.063 7.212L11.0212 8.21113C10.6875 8.19716 10.3465 8.18994 9.99983 8.18994C9.65316 8.18994 9.31218 8.19716 8.97845 8.21113L8.93664 7.212ZM13.1859 7.39813C13.9585 7.50435 14.6701 7.64869 15.2947 7.8252L15.0227 8.78751C14.4502 8.62572 13.7849 8.48989 13.0497 8.38881L13.1859 7.39813ZM4.705 7.8252C5.3296 7.64869 6.04112 7.50435 6.81379 7.39813L6.94998 8.38881C6.21471 8.48989 5.54949 8.62572 4.97695 8.78751L4.705 7.8252ZM17.3577 8.75143C17.7555 9.05657 18.0861 9.47352 18.0861 10.0003C18.0861 10.527 17.7555 10.944 17.3577 11.2491L16.7491 10.4557C17.0388 10.2335 17.0861 10.0754 17.0861 10.0003C17.0861 9.92514 17.0388 9.76707 16.7491 9.54488L17.3577 8.75143ZM1.91357 10.0003C1.91357 9.47352 2.24413 9.05657 2.64193 8.75143L3.25057 9.54488C2.9609 9.76707 2.91357 9.92514 2.91357 10.0003C2.91357 10.0754 2.9609 10.2335 3.25057 10.4557L2.64194 11.2491C2.24413 10.944 1.91357 10.527 1.91357 10.0003ZM15.2947 12.1754C14.6701 12.3519 13.9585 12.4962 13.1859 12.6024L13.0497 11.6117C13.7849 11.5107 14.4502 11.3748 15.0227 11.213L15.2947 12.1754ZM6.81379 12.6024C6.04112 12.4962 5.3296 12.3519 4.70501 12.1754L4.97695 11.213C5.54949 11.3748 6.21471 11.5107 6.94998 11.6117L6.81379 12.6024ZM9.99983 12.8106C9.6393 12.8106 9.28438 12.8031 8.93664 12.7885L8.97845 11.7894C9.31218 11.8034 9.65316 11.8106 9.99983 11.8106C10.3465 11.8106 10.6875 11.8034 11.0212 11.7894L11.063 12.7885C10.7153 12.8031 10.3604 12.8106 9.99983 12.8106Z" fill="#B6B6B6"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.7812 11.1544C6.09496 11.5545 7.94014 11.8094 9.99983 11.8094C12.0595 11.8094 13.9047 11.5545 15.2185 11.1544C15.8784 10.9534 16.3761 10.7241 16.6978 10.4925C17.0312 10.2525 17.0861 10.079 17.0861 9.99902H18.0861C18.0861 10.557 17.7165 10.9913 17.2821 11.3041C16.8359 11.6253 16.2226 11.8939 15.5098 12.111C14.0779 12.5471 12.1299 12.8094 9.99983 12.8094C7.86974 12.8094 5.9218 12.5471 4.48987 12.111C3.77702 11.8939 3.16372 11.6253 2.71758 11.3041C2.2832 10.9913 1.91357 10.557 1.91357 9.99902H2.91357C2.91357 10.079 2.96851 10.2525 3.3019 10.4925C3.62353 10.7241 4.12121 10.9534 4.7812 11.1544Z" fill="#B6B6B6"/>
</svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -0,0 +1,3 @@
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.0002 3.21338L2.69245 15.8707H17.3079L10.0002 3.21338ZM10.4332 1.96338C10.2407 1.63005 9.75961 1.63005 9.56716 1.96338L1.39342 16.1207C1.20097 16.4541 1.44153 16.8707 1.82643 16.8707H18.1739C18.5588 16.8707 18.7994 16.4541 18.6069 16.1207L10.4332 1.96338Z" fill="#B6B6B6"/>
</svg>

After

Width:  |  Height:  |  Size: 429 B

View File

@ -179,6 +179,13 @@ namespace ImGui
const wchar_t PreferencesDarkButton = 0x0820; const wchar_t PreferencesDarkButton = 0x0820;
const wchar_t PreferencesHoverDarkButton = 0x0821; const wchar_t PreferencesHoverDarkButton = 0x0821;
const wchar_t CircleButtonDarkIcon = 0x0822;
const wchar_t TriangleButtonDarkIcon = 0x0823;
const wchar_t FillButtonDarkIcon = 0x0824;
const wchar_t HeightRangeDarkIcon = 0x0825;
const wchar_t SphereButtonDarkIcon = 0x0826;
const wchar_t GapFillDarkIcon = 0x0827;
// void MyFunction(const char* name, const MyMatrix44& v); // void MyFunction(const char* name, const MyMatrix44& v);
} }

View File

@ -465,7 +465,11 @@ void GLGizmoMmuSegmentation::on_render_input_window(float x, float y, float bott
m_imgui->text(m_desc.at("tool_type")); m_imgui->text(m_desc.at("tool_type"));
bool dark_mode = wxGetApp().app_config->get("dark_color_mode") == "1"; bool dark_mode = wxGetApp().app_config->get("dark_color_mode") == "1";
std::array<wchar_t, 6> tool_icons = { ImGui::CircleButtonIcon,ImGui::SphereButtonIcon, ImGui::TriangleButtonIcon, ImGui::HeightRangeIcon, ImGui::FillButtonIcon, ImGui::GapFillIcon }; std::array<wchar_t, 6> tool_icons;
if (dark_mode)
tool_icons = { ImGui::CircleButtonDarkIcon, ImGui::SphereButtonDarkIcon, ImGui::TriangleButtonDarkIcon, ImGui::HeightRangeDarkIcon, ImGui::FillButtonDarkIcon, ImGui::GapFillDarkIcon };
else
tool_icons = { ImGui::CircleButtonIcon, ImGui::SphereButtonIcon, ImGui::TriangleButtonIcon, ImGui::HeightRangeIcon, ImGui::FillButtonIcon, ImGui::GapFillIcon };
std::array<wxString, 6> tool_tips = { _L("Circle"), _L("Sphere"), _L("Triangle"), _L("Height Range"), _L("Fill"), _L("Gap Fill") }; std::array<wxString, 6> tool_tips = { _L("Circle"), _L("Sphere"), _L("Triangle"), _L("Height Range"), _L("Fill"), _L("Gap Fill") };
for (int i = 0; i < tool_icons.size(); i++) { for (int i = 0; i < tool_icons.size(); i++) {
std::string str_label = std::string(""); std::string str_label = std::string("");

View File

@ -75,6 +75,13 @@ static const std::map<const wchar_t, std::string> font_icons = {
{ImGui::PreferencesDarkButton , "notification_preferences_dark" }, {ImGui::PreferencesDarkButton , "notification_preferences_dark" },
{ImGui::PreferencesHoverDarkButton , "notification_preferences_hover_dark"}, {ImGui::PreferencesHoverDarkButton , "notification_preferences_hover_dark"},
{ImGui::CircleButtonDarkIcon , "circle_paint_dark" },
{ImGui::TriangleButtonDarkIcon , "triangle_paint_dark" },
{ImGui::FillButtonDarkIcon , "fill_paint_dark" },
{ImGui::HeightRangeDarkIcon , "height_range_dark" },
{ImGui::GapFillDarkIcon , "gap_fill_dark" },
{ImGui::SphereButtonDarkIcon , "toolbar_modifier_sphere_dark" },
}; };
static const std::map<const wchar_t, std::string> font_icons_large = { static const std::map<const wchar_t, std::string> font_icons_large = {
{ImGui::CloseNotifButton , "notification_close" }, {ImGui::CloseNotifButton , "notification_close" },

View File

@ -2426,7 +2426,7 @@ void StatusPanel::on_switch_speed(wxCommandEvent &event)
#else #else
wxPopupTransientWindow *popUp = new wxPopupTransientWindow(m_switch_speed); wxPopupTransientWindow *popUp = new wxPopupTransientWindow(m_switch_speed);
#endif #endif
popUp->SetBackgroundColour(StateColor::darkModeColorFor(0xeeeee)); popUp->SetBackgroundColour(StateColor::darkModeColorFor(0xeeeeee));
StepCtrl *step = new StepCtrl(popUp, wxID_ANY); StepCtrl *step = new StepCtrl(popUp, wxID_ANY);
wxSizer *sizer = new wxBoxSizer(wxHORIZONTAL); wxSizer *sizer = new wxBoxSizer(wxHORIZONTAL);
sizer->Add(step, 1, wxEXPAND, 0); sizer->Add(step, 1, wxEXPAND, 0);