refactor: super icons (#1974)

This commit is contained in:
Mo
2022-11-09 09:14:49 -06:00
committed by GitHub
parent 772fbea381
commit ec7f915642
177 changed files with 360 additions and 518 deletions

View File

@@ -1,3 +1,3 @@
<svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg viewBox="0 0 20 20" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path d="M10.024 15.2014C10.5289 15.2014 10.954 15.1431 11.2991 15.0264C11.6507 14.9032 11.9351 14.738 12.1524 14.5306C12.3762 14.3231 12.536 14.0801 12.6318 13.8014C12.7341 13.5162 12.7852 13.2116 12.7852 12.8875C12.7852 12.2264 12.5615 11.7079 12.1141 11.3319C11.6731 10.9495 10.9732 10.7583 10.0144 10.7583H7.24353V15.2014H10.024ZM7.24353 4.77917V9.15417H9.48706C10.4458 9.15417 11.1617 8.9662 11.6347 8.59028C12.1077 8.21435 12.3442 7.67315 12.3442 6.96667C12.3442 6.19537 12.1205 5.63796 11.6731 5.29444C11.232 4.95093 10.5385 4.77917 9.59252 4.77917H7.24353ZM9.59252 3C10.4746 3 11.2288 3.0875 11.8552 3.2625C12.4816 3.43102 12.9962 3.67407 13.3988 3.99167C13.8015 4.30926 14.0956 4.69815 14.2809 5.15833C14.4727 5.61204 14.5686 6.12407 14.5686 6.69444C14.5686 7.025 14.5174 7.34583 14.4151 7.65694C14.3193 7.96157 14.1659 8.25 13.9549 8.52222C13.7504 8.78796 13.4915 9.02778 13.1783 9.24167C12.8651 9.45556 12.4944 9.6338 12.0662 9.77639C14.0221 10.1977 15 11.2509 15 12.9361C15 13.5324 14.8881 14.0801 14.6644 14.5792C14.4471 15.0718 14.1275 15.4995 13.7057 15.8625C13.2902 16.219 12.7756 16.4977 12.162 16.6986C11.5484 16.8995 10.8485 17 10.0623 17H5V3H9.59252Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -1,4 +1,4 @@
<svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg viewBox="0 0 20 20" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path
d="M10.7417 2.5L12.375 2.83333L9.25832 17.5L7.62498 17.1667L10.7417 2.5ZM16.325 10L13.3333 7.00833V4.65L18.6833 10L13.3333 15.3417V12.9833L16.325 10ZM1.31665 10L6.66665 4.65V7.00833L3.67498 10L6.66665 12.9833V15.3417L1.31665 10Z" />
</svg>

Before

Width:  |  Height:  |  Size: 324 B

After

Width:  |  Height:  |  Size: 332 B

View File

@@ -1,3 +1,3 @@
<svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg viewBox="0 0 20 20" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.26782 17.2H11.1079L11.2395 16.319L11.127 16.2497C10.9396 16.1343 10.7242 16.0353 10.4827 15.9516C10.3151 15.8906 10.1444 15.8371 9.97052 15.7911L12.0792 4.24439C12.2777 4.19574 12.4876 4.1383 12.7086 4.07175L12.7172 4.06874C12.9882 3.97353 13.2425 3.8712 13.4798 3.76163L13.5744 3.71794L13.739 2.80005H8.90177L8.7153 3.69176L8.85556 3.75993C9.07673 3.86742 9.29215 3.96856 9.50205 4.06278L9.51225 4.06671C9.67272 4.12845 9.83933 4.18242 10.012 4.22871L7.90481 15.7677C7.4439 15.8573 6.97592 16.015 6.50115 16.2392L6.40453 16.2848L6.26782 17.2ZM6.5 17L6.58663 16.42C6.58666 16.42 6.5866 16.42 6.58663 16.42L6.5 17ZM8.07665 15.94C8.07663 15.94 8.07668 15.94 8.07665 15.94V15.94Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 812 B

After

Width:  |  Height:  |  Size: 820 B

View File

@@ -1,3 +1,3 @@
<svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg viewBox="0 0 20 20" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path d="M8.82493 11.1749C9.1666 11.4999 9.1666 12.0333 8.82493 12.3583C8.49993 12.6833 7.9666 12.6833 7.6416 12.3583C6.0166 10.7333 6.0166 8.0916 7.6416 6.4666L10.5916 3.5166C12.2166 1.8916 14.8583 1.8916 16.4833 3.5166C18.1083 5.1416 18.1083 7.78327 16.4833 9.40827L15.2416 10.6499C15.2499 9.9666 15.1416 9.28327 14.9083 8.63327L15.2999 8.23327C16.2833 7.25827 16.2833 5.67493 15.2999 4.69993C14.3249 3.7166 12.7416 3.7166 11.7666 4.69993L8.82493 7.6416C7.8416 8.6166 7.8416 10.1999 8.82493 11.1749ZM11.1749 7.6416C11.4999 7.3166 12.0333 7.3166 12.3583 7.6416C13.9833 9.2666 13.9833 11.9083 12.3583 13.5333L9.40827 16.4833C7.78327 18.1083 5.1416 18.1083 3.5166 16.4833C1.8916 14.8583 1.8916 12.2166 3.5166 10.5916L4.75827 9.34994C4.74993 10.0333 4.85827 10.7166 5.0916 11.3749L4.69993 11.7666C3.7166 12.7416 3.7166 14.3249 4.69993 15.2999C5.67493 16.2833 7.25827 16.2833 8.23327 15.2999L11.1749 12.3583C12.1583 11.3833 12.1583 9.79993 11.1749 8.82493C10.8333 8.49994 10.8333 7.9666 11.1749 7.6416Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,3 @@
<svg viewBox="0 0 20 20" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path d="M17.1423 4.16663C16.4806 5.00967 16.02 5.83912 15.7605 6.65497C15.5139 7.47082 15.3907 8.24588 15.3907 8.98015C15.8318 8.98015 16.2795 9.01414 16.7336 9.08213C17.1877 9.15012 17.5899 9.2589 17.9402 9.40847C18.3035 9.55804 18.5955 9.74841 18.816 9.97956C19.0496 10.2107 19.1663 10.4895 19.1663 10.8158V13.7937C19.1663 14.1472 19.0496 14.4531 18.816 14.7115C18.5955 14.9699 18.3035 15.1806 17.9402 15.3438C17.5769 15.507 17.1682 15.6293 16.7141 15.7109C16.26 15.7925 15.8059 15.8333 15.3518 15.8333C14.8717 15.8333 14.3981 15.7925 13.931 15.7109C13.4769 15.6293 13.0682 15.507 12.7049 15.3438C12.3416 15.1806 12.0497 14.9699 11.8291 14.7115C11.6085 14.4531 11.4983 14.1472 11.4983 13.7937V12.0804C11.4983 11.6996 11.5177 11.1761 11.5566 10.5099C11.6085 9.82999 11.7188 9.10932 11.8875 8.34786C12.0691 7.5864 12.3222 6.83174 12.6465 6.08388C12.9709 5.33601 13.4185 4.69693 13.9894 4.16663H17.1423ZM6.51595 4.16663C5.85424 5.00967 5.38715 5.83912 5.11468 6.65497C4.85518 7.47082 4.72544 8.24588 4.72544 8.98015C5.17955 8.98015 5.63367 9.01414 6.08779 9.08213C6.5419 9.15012 6.94412 9.2589 7.29444 9.40847C7.65773 9.55804 7.94966 9.74841 8.17023 9.97956C8.3908 10.2107 8.50109 10.4895 8.50109 10.8158V13.7937C8.50109 14.1472 8.3908 14.4531 8.17023 14.7115C7.94966 14.9699 7.65773 15.1806 7.29444 15.3438C6.93114 15.507 6.52244 15.6293 6.06832 15.7109C5.61421 15.7925 5.1536 15.8333 4.68651 15.8333C4.21942 15.8333 3.75233 15.7925 3.28524 15.7109C2.83112 15.6293 2.42242 15.507 2.05912 15.3438C1.69583 15.1806 1.39741 14.9699 1.16386 14.7115C0.943293 14.4531 0.833008 14.1472 0.833008 13.7937V12.0804C0.833008 11.6996 0.85247 11.1761 0.891394 10.5099C0.943293 9.82999 1.05358 9.10932 1.22225 8.34786C1.4039 7.5864 1.6569 6.83174 1.98127 6.08388C2.30564 5.33601 2.75327 4.69693 3.32416 4.16663H6.51595Z" />
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@@ -1,3 +1,3 @@
<svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg viewBox="0 0 20 20" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.4681 5.3842C13.4085 5.49228 13.3461 5.57175 13.2806 5.62262C13.2151 5.67348 13.1318 5.69891 13.0307 5.69891C12.9235 5.69891 12.8015 5.64805 12.6647 5.54632C12.5278 5.43824 12.3552 5.32062 12.1469 5.19346C11.9446 5.05995 11.7006 4.94233 11.4149 4.8406C11.1293 4.73252 10.7871 4.67847 10.3884 4.67847C10.0134 4.67847 9.68315 4.73252 9.3975 4.8406C9.1178 4.94233 8.88273 5.08538 8.69229 5.26975C8.50185 5.44777 8.35605 5.66076 8.25488 5.90872C8.15967 6.15032 8.11206 6.41417 8.11206 6.70027C8.11206 7.06903 8.19835 7.37421 8.37093 7.6158C8.54946 7.8574 8.78156 8.06403 9.06721 8.23569C9.22513 8.3306 9.39488 8.4187 9.57645 8.5H6.66989C6.64688 8.45106 6.62474 8.40111 6.60345 8.35014C6.43087 7.93052 6.34458 7.41553 6.34458 6.80518C6.34458 6.31562 6.43384 5.84196 6.61238 5.3842C6.79091 4.92643 7.04978 4.52271 7.389 4.17302C7.73416 3.81698 8.15669 3.53406 8.65658 3.32425C9.15648 3.10808 9.72778 3 10.3705 3C11.0906 3 11.7512 3.12398 12.3522 3.37193C12.9592 3.61353 13.4859 3.96321 13.9322 4.42098L13.4681 5.3842ZM8.14789 10H12.9828H16V11.5H14.0405C14.1469 11.8307 14.2 12.2144 14.2 12.6512C14.2 13.2552 14.1019 13.8211 13.9055 14.3488C13.715 14.8765 13.4353 15.3374 13.0664 15.7316C12.6974 16.1258 12.2421 16.4373 11.7006 16.6662C11.165 16.8887 10.555 17 9.87061 17C9.45998 17 9.06126 16.9555 8.67444 16.8665C8.28761 16.7838 7.92162 16.6662 7.57646 16.5136C7.23129 16.3547 6.90696 16.1671 6.60345 15.951C6.30589 15.7284 6.03809 15.4805 5.80005 15.2071L6.34458 14.2343C6.39814 14.158 6.46062 14.0945 6.53204 14.0436C6.6094 13.9927 6.69569 13.9673 6.79091 13.9673C6.91588 13.9673 7.05871 14.0372 7.21939 14.1771C7.38602 14.317 7.58836 14.4728 7.8264 14.6444C8.0704 14.8097 8.35903 14.9623 8.69229 15.1022C9.0315 15.2421 9.44213 15.312 9.92417 15.312C10.3169 15.312 10.6681 15.2579 10.9775 15.1499C11.287 15.0354 11.5459 14.8765 11.7541 14.673C11.9684 14.4632 12.132 14.2121 12.2451 13.9196C12.3582 13.6272 12.4147 13.3029 12.4147 12.9469C12.4147 12.5463 12.3284 12.2189 12.1558 11.9646C12.0376 11.7903 11.8928 11.6355 11.7214 11.5H4V10H8.14789Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" image-rendering="optimizeQuality" fill-rule="evenodd" clip-rule="evenodd" viewBox="0 0 512 426.85"><path fill-rule="nonzero" d="M174.2 125.3 266.74 0h76.65L212.88 173.99l135.9 180.45H272l-97.84-131.8-97.52 131.8H0L135.88 174 5.07 0h77.04l92.09 125.3zm322.38 301.55H373.5v-24.14l2.43-6.43c5.45-6.3 60.34-69.48 60.34-69.63 2.94-3.38 5.44-6.34 7.47-8.87 2.25-2.78 4.35-5.51 6.3-8.17 1.95-2.65 3.64-5.1 5.08-7.31 1.48-2.29 2.77-4.43 3.84-6.39.98-1.81 1.89-3.66 2.69-5.53.74-1.73 1.34-3.4 1.8-4.96.4-1.38.72-2.83.95-4.32.2-1.32.31-2.63.31-3.91 0-4.79-.59-8.86-1.77-12.22-1.05-3-2.61-5.55-4.66-7.63-.9-.89-1.97-1.73-3.21-2.49v-.05c-1.25-.77-2.64-1.42-4.13-1.94-1.77-.58-3.74-1.04-5.92-1.36-2.22-.33-4.72-.49-7.5-.49-2.97 0-5.62.19-7.92.56-2.27.37-4.37.92-6.29 1.64-1.74.66-3.37 1.49-4.84 2.46h-.04c-1.37.9-2.67 2.01-3.91 3.31a29.328 29.328 0 0 0-3.45 4.53 28.145 28.145 0 0 0-2.47 5.1c-.67 1.89-1.19 3.95-1.55 6.16-.34 2.15-.52 4.62-.52 7.39v15.42h-32.44l-2.49-8.39c-1.6-5.43-2.02-10.97-1.59-16.39.46-5.81 1.93-11.59 3.94-16.98 1.5-4.03 3.43-7.92 5.78-11.67v-.04c2.31-3.68 5-7.15 8.05-10.4 3.16-3.38 6.62-6.37 10.36-8.93 3.67-2.51 7.68-4.64 12.03-6.37a67.26 67.26 0 0 1 13.17-3.73v-.05c4.52-.8 9.25-1.21 14.18-1.21 4.38 0 8.75.34 13.07 1.03 4.33.69 8.4 1.71 12.19 3.05 3.9 1.38 7.65 3.18 11.24 5.36h.05c3.51 2.13 6.78 4.63 9.79 7.46 3.1 2.9 5.85 6.14 8.22 9.69 2.4 3.58 4.36 7.37 5.88 11.34 1.46 3.86 2.58 8.02 3.33 12.45.72 4.33 1.09 8.8 1.09 13.39 0 3.11-.28 6.39-.84 9.83-.52 3.22-1.31 6.5-2.35 9.8-.94 3.08-2.21 6.28-3.74 9.55a92.644 92.644 0 0 1-5.12 9.43l-.05.09c-1.97 3.13-3.91 6.09-5.82 8.84-2.02 2.9-4.26 5.98-6.7 9.2-2.15 2.83-4.71 6.08-7.67 9.73-2.77 3.42-5.63 6.85-8.57 10.26l-30.31 35.42H512v37.51h-15.42z"/></svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" image-rendering="optimizeQuality" fill-rule="evenodd" clip-rule="evenodd" viewBox="0 0 512 475.8"><path fill-rule="nonzero" d="m174.2 246.66 92.54-125.3h76.65L212.88 295.35l135.9 180.45H272L174.16 344 76.63 475.8H0l135.89-180.43L5.07 121.36h77.04l92.09 125.3zm322.38-33.24H373.5v-24.13l2.42-6.43c5.46-6.29 60.35-69.48 60.35-69.63 2.94-3.38 5.44-6.34 7.48-8.87 2.24-2.78 4.34-5.51 6.29-8.17 1.95-2.65 3.64-5.09 5.08-7.31 1.49-2.29 2.77-4.43 3.84-6.39a63.99 63.99 0 0 0 2.69-5.53c.74-1.74 1.34-3.39 1.8-4.96.41-1.38.73-2.83.95-4.32.2-1.32.31-2.63.31-3.91 0-4.79-.59-8.86-1.77-12.22-1.05-3-2.61-5.55-4.66-7.63-.9-.89-1.97-1.73-3.2-2.49v-.05c-1.26-.77-2.64-1.42-4.14-1.94-1.76-.58-3.74-1.04-5.92-1.36-2.22-.33-4.72-.49-7.5-.49-2.98 0-5.62.19-7.92.56-2.26.37-4.37.92-6.29 1.64-1.75.66-3.37 1.49-4.84 2.46h-.04c-1.36.9-2.67 2.01-3.9 3.31-1.34 1.43-2.5 2.95-3.46 4.53a27.446 27.446 0 0 0-2.46 5.1c-.68 1.89-1.2 3.95-1.56 6.16-.34 2.15-.51 4.62-.51 7.39v15.42h-32.45l-2.48-8.39c-1.61-5.43-2.03-10.97-1.6-16.39.46-5.81 1.94-11.59 3.94-16.98 1.5-4.03 3.43-7.92 5.78-11.67v-.04c2.32-3.68 5-7.15 8.05-10.4 3.16-3.38 6.62-6.36 10.36-8.93 3.67-2.51 7.69-4.64 12.03-6.37a67.26 67.26 0 0 1 13.17-3.73v-.05C427.86.41 432.59 0 437.52 0c4.38 0 8.74.34 13.08 1.03 4.32.69 8.39 1.71 12.18 3.05 3.9 1.38 7.65 3.18 11.25 5.36h.04c3.51 2.13 6.78 4.63 9.79 7.46 3.11 2.9 5.85 6.14 8.23 9.69 2.39 3.58 4.35 7.37 5.87 11.34 1.47 3.86 2.58 8.02 3.33 12.45.72 4.33 1.09 8.8 1.09 13.39 0 3.11-.28 6.39-.84 9.83-.51 3.23-1.3 6.5-2.35 9.8-.94 3.08-2.2 6.27-3.74 9.55a92.644 92.644 0 0 1-5.12 9.43l-.05.09c-1.96 3.13-3.91 6.09-5.82 8.84-2.02 2.9-4.26 5.98-6.7 9.2-2.15 2.83-4.71 6.08-7.67 9.74-2.77 3.41-5.63 6.84-8.57 10.25l-30.3 35.42H512v37.5h-15.42z"/></svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -1,3 +1,3 @@
<svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<svg viewBox="0 0 20 20" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.3322 12.7078C10.94 12.8675 10.496 12.9474 10 12.9474C9.50404 12.9474 9.05998 12.8675 8.66782 12.7078C8.27566 12.5482 7.94406 12.3252 7.67301 12.0389C7.40196 11.7471 7.19435 11.4002 7.05017 10.9983C6.91176 10.5964 6.84256 10.1531 6.84256 9.66862V2.5H5V9.67688C5 10.3706 5.11534 11.012 5.34602 11.6012C5.5767 12.1903 5.9083 12.6996 6.34083 13.129C6.77336 13.5585 7.29815 13.8944 7.91522 14.1366C8.53229 14.3789 9.22722 14.5 10 14.5C10.7728 14.5 11.4677 14.3789 12.0848 14.1366C12.7018 13.8944 13.2266 13.5585 13.6592 13.129C14.0917 12.6996 14.4233 12.1903 14.654 11.6012C14.8847 11.012 15 10.3706 15 9.67688V2.5H13.1661V9.67688C13.1661 10.1614 13.094 10.6046 12.9498 11.0065C12.8057 11.403 12.598 11.7471 12.327 12.0389C12.0559 12.3252 11.7243 12.5482 11.3322 12.7078ZM15 16H5V17.5H15V16Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 923 B

After

Width:  |  Height:  |  Size: 931 B

View File

@@ -46,8 +46,8 @@ import ColorFillIcon from './ic-color-fill.svg'
import CopyIcon from './ic-copy.svg'
import CreateAccountIllustration from './create-account-illustration.svg'
import DashboardIcon from './ic-dashboard.svg'
import DiamondIcon from './diamond-with-horizontal-lines.svg'
import DiamondFilledIcon from './ic-diamond-filled.svg'
import DiamondIcon from './diamond-with-horizontal-lines.svg'
import DownloadIcon from './ic-download.svg'
import DragIcon from './ic-drag.svg'
import DrawIcon from './ic-draw.svg'
@@ -167,12 +167,14 @@ import SNLogoFull from './ic-sn-logo-full.svg'
import SNLogoIcon from './ic-standard-notes.svg'
import SortDescendingIcon from './ic-sort-descending.svg'
import SpreadsheetsIcon from './ic-spreadsheets.svg'
import StarFilledIcon from './ic-star-filled.svg'
import StarCircleFilled from './ic-star-circle-filled.svg'
import StarFilledIcon from './ic-star-filled.svg'
import StarIcon from './ic-star.svg'
import StarVariantFilledIcon from './ic-star-variant-filled.svg'
import StrikethroughIcon from './ic-strikethrough.svg'
import SubscriptIcon from './ic-subscript.svg'
import SubtractIcon from './ic-subtract.svg'
import SuperscriptIcon from './ic-superscript.svg'
import SyncIcon from './ic-sync.svg'
import TasksIcon from './ic-tasks.svg'
import TextCircleIcon from './ic-text-circle.svg'
@@ -373,7 +375,9 @@ export {
StarIcon,
StarVariantFilledIcon,
StrikethroughIcon,
SubscriptIcon,
SubtractIcon,
SuperscriptIcon,
SyncIcon,
TasksIcon,
TextCircleIcon,