Deduplicate media & voip icons using Compound Design Tokens (#129)

* Deduplicate media & voip icons using Compound Design Tokens

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update tests

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2024-10-08 13:00:37 +01:00
committed by GitHub
parent 197168b3ba
commit df4a223eb6
49 changed files with 497 additions and 149 deletions
-3
View File
@@ -1,3 +0,0 @@
<svg width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M1.12627 0.95955C1.51679 0.569025 2.14996 0.569025 2.54048 0.95955L17.5405 15.9595C17.931 16.3501 17.931 16.9832 17.5405 17.3738C17.15 17.7643 16.5168 17.7643 16.1263 17.3738L1.12627 2.37376C0.735743 1.98324 0.735743 1.35007 1.12627 0.95955ZM1.43587 4.77515C1.15931 5.2293 1 5.7627 1 6.33331V13.6666C1 15.3235 2.34315 16.6666 4 16.6666H13.2994L1.47784 4.82039C1.46319 4.80571 1.4492 4.79062 1.43587 4.77515ZM15.1667 6.33331V11.4864L7.03059 3.33331H12.1667C13.8235 3.33331 15.1667 4.67646 15.1667 6.33331ZM19.3753 5.46641L16.8334 7.49999V12.5L19.3753 14.5336C20.0301 15.0574 21 14.5912 21 13.7527V6.24728C21 5.40878 20.0301 4.9426 19.3753 5.46641Z" fill="#21262C"/>
</svg>

Before

Width:  |  Height:  |  Size: 817 B

-3
View File
@@ -1,3 +0,0 @@
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.35114 4.19971C1.94221 4.19971 0.800049 5.34187 0.800049 6.7508V15.2486C0.800049 16.6575 1.94221 17.7997 3.35114 17.7997H12.699C14.1079 17.7997 15.25 16.6575 15.25 15.2486V6.7508C15.25 5.34187 14.1079 4.19971 12.699 4.19971H3.35114ZM19.8184 6.15516L16.95 8.44989V13.5499L19.8184 15.8446C20.3752 16.2901 21.2 15.8936 21.2 15.1806V6.81918C21.2 6.10614 20.3752 5.70973 19.8184 6.15516Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 553 B

-3
View File
@@ -1,3 +0,0 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.4 4C2.07452 4 1 5.07452 1 6.4V17.6C1 18.9255 2.07452 20 3.4 20H20.6C21.9255 20 23 18.9255 23 17.6V6.4C23 5.07452 21.9255 4 20.6 4H3.4ZM11.9999 16C11.6464 16 11.3599 15.7135 11.3599 15.36V10.2049L9.38407 12.2166C9.13639 12.4688 8.73483 12.4688 8.48716 12.2166C8.23949 11.9644 8.23949 11.5556 8.48716 11.3034L11.5514 8.1834C11.7991 7.93122 12.2007 7.93122 12.4484 8.1834L15.5126 11.3034C15.7603 11.5556 15.7603 11.9644 15.5126 12.2166C15.265 12.4688 14.8634 12.4688 14.6157 12.2166L12.6399 10.2049V15.36C12.6399 15.7135 12.3534 16 11.9999 16Z" fill="#737D8C"/>
</svg>

Before

Width:  |  Height:  |  Size: 714 B

-3
View File
@@ -1,3 +0,0 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M0 4.81815C0 3.76379 0.89543 2.90906 2 2.90906H9.33333C10.4379 2.90906 11.3333 3.76379 11.3333 4.81815V11.1818C11.3333 12.2361 10.4379 13.0909 9.33333 13.0909H2C0.895429 13.0909 0 12.2361 0 11.1818V4.81815ZM12.6667 6.09089L14.9169 4.37255C15.3534 4.03921 16 4.33587 16 4.86947V11.1305C16 11.6641 15.3534 11.9607 14.9169 11.6274L12.6667 9.90907V6.09089ZM7.82332 5.81539C7.96503 5.95709 7.96503 6.18685 7.82332 6.32855L6.17983 7.97204L7.89372 9.68593C8.03543 9.82763 8.03543 10.0574 7.89372 10.1991C7.75201 10.3408 7.52226 10.3408 7.38055 10.1991L5.66667 8.48521L3.95278 10.1991C3.81107 10.3408 3.58132 10.3408 3.43961 10.1991C3.29791 10.0574 3.29791 9.82763 3.43961 9.68593L5.1535 7.97204L3.51001 6.32855C3.36831 6.18685 3.36831 5.95709 3.51001 5.81539C3.65172 5.67368 3.88147 5.67368 4.02318 5.81539L5.66667 7.45887L7.31015 5.81539C7.45186 5.67368 7.68161 5.67368 7.82332 5.81539Z" fill="#737D8C"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

-3
View File
@@ -1,3 +0,0 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M0 4.81815C0 3.76379 0.89543 2.90906 2 2.90906H9.33333C10.4379 2.90906 11.3333 3.76379 11.3333 4.81815V11.1818C11.3333 12.2361 10.4379 13.0909 9.33333 13.0909H2C0.895429 13.0909 0 12.2361 0 11.1818V4.81815ZM12.6667 6.09089L14.9169 4.37255C15.3534 4.03921 16 4.33587 16 4.86947V11.1305C16 11.6641 15.3534 11.9607 14.9169 11.6274L12.6667 9.90907V6.09089ZM3.68584 8.54792C3.68584 8.82819 3.45653 9.05751 3.17625 9.05751C2.89598 9.05751 2.66667 8.82819 2.66667 8.54792V6.50957C2.66667 6.22929 2.89598 5.99998 3.17625 5.99998H5.2146C5.49488 5.99998 5.72419 6.22929 5.72419 6.50957C5.72419 6.78984 5.49488 7.01916 5.2146 7.01916H4.39926L6.2083 8.82819L8.73076 6.30573C8.9295 6.10699 9.25054 6.10699 9.44928 6.30573C9.64802 6.50447 9.64802 6.82551 9.44928 7.02425L6.56501 9.90852C6.36627 10.1073 6.04523 10.1073 5.84649 9.90852L3.68584 7.74787V8.54792Z" fill="#8D97A5"/>
</svg>

Before

Width:  |  Height:  |  Size: 1016 B