Polish Icons in printerdemo (#1357)

This commit is contained in:
Tobias Hunger 2022-06-17 14:03:04 +02:00 committed by GitHub
parent 3a5c4981de
commit d5d29f59f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 19 deletions

View file

@ -1,3 +1 @@
<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1.39464 29.0871H27.7412C28.5232 29.0871 29.1118 28.5011 29.1118 27.7165V14.5432C29.1118 14.1509 28.9818 13.8248 28.7194 13.5649L15.5462 0.391686C15.0239 -0.130562 14.1756 -0.130562 13.5897 0.391686L0.416403 13.5649C0.0240814 13.9573 -0.105845 14.5432 0.0903162 15.0655C0.286477 15.5877 0.808751 15.9138 1.3284 15.9138H18.611C19.3931 15.9138 19.9816 15.3279 19.9816 14.5432C19.9816 13.7611 19.3957 13.1726 18.611 13.1726H4.65579L14.5682 3.32608L26.3738 15.1317V26.3485H2.76319V20.8713C2.76319 20.6751 2.69695 20.5452 2.69695 20.4152C2.50079 19.893 1.97852 19.5032 1.3926 19.5032C0.610516 19.5032 0.0219945 20.0892 0.0219945 20.8738V27.7217C0.0245425 28.4987 0.613027 29.0872 1.39515 29.0872L1.39464 29.0871Z" fill="#122F7B"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" fill="none"><path d="M1.372 29.992L28.5 30c.782 0 1.5-.715 1.5-1.5v-14c0-.392-.238-.74-.5-1L16 .5c-.522-.522-1.414-.522-2 0L.5 13.5c-.392.392-.696.978-.5 1.5s.98 1 1.5 1h17c.782 0 1.5-.715 1.5-1.5s-.715-1.51-1.5-1.5H4.75L15 3.5 27 15v12H3v-6c0-.196-.303-.455-.303-.585-.196-.522-.611-.915-1.197-.915-.782 0-1.5.715-1.5 1.5v7.5c.003.777.718 1.5 1.5 1.5z" fill="#122f7b"/></svg>

Before

Width:  |  Height:  |  Size: 838 B

After

Width:  |  Height:  |  Size: 440 B

Before After
Before After

View file

@ -1,7 +1 @@
<svg width="25" height="34" viewBox="0 0 25 34" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M23.4894 15.2423L13.4696 0.524844C13.2523 0.197379 12.8835 0 12.4903 0C12.0955 0 11.7282 0.197398 11.511 0.524844L1.50649 15.2423C1.482 15.279 1.45905 15.3172 1.43916 15.357C-0.600596 19.2315 -0.464431 23.8909 1.79876 27.6398C4.06039 31.3888 8.12172 33.6811 12.4993 33.6811C16.8789 33.6811 20.9384 31.3888 23.2015 27.6398C25.4646 23.8908 25.6008 19.2313 23.5595 15.357C23.5381 15.3172 23.5152 15.279 23.4892 15.2423H23.4894ZM19.6746 28.3622C17.3701 30.6651 14.1014 31.7225 10.8864 31.2038C7.66993 30.6866 4.89878 28.6575 3.43291 25.7485C1.9685 22.8396 1.9884 19.4044 3.488 16.5122L12.4979 3.27594L21.5077 16.5122C22.5069 18.4234 22.8696 20.6054 22.5391 22.7388C22.2085 24.8704 21.2047 26.8414 19.6745 28.3621L19.6746 28.3622Z" fill="#BDC0D1"/>
<g transform="translate(5.224,17.432)">
<path d="M4.7351 8.18756C3.64714 7.57243 2.84836 6.55024 2.51628 5.34445C2.18423 4.14018 2.34643 2.85326 2.96462 1.76683C3.28902 1.20218 3.09469 0.481472 2.53003 0.157039C1.96538 -0.167394 1.24468 0.0269727 0.920247 0.591628C-0.0055357 2.21975 -0.244258 4.14935 0.256141 5.95484C0.754974 7.75897 1.95313 9.29068 3.58282 10.2118C4.14746 10.5362 4.86974 10.3419 5.19413 9.77722C5.51853 9.21257 5.32267 8.49186 4.75801 8.16743L4.7351 8.18756Z" fill="#BDC0D1" />
</g>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" fill="#bdc0d1"><path d="M24.671 13.576L15.853.467A1.03 1.03 0 0 0 14.991 0a1.03 1.03 0 0 0-.862.467L5.326 13.576a.95.95 0 0 0-.059.102 11.25 11.25 0 0 0 .316 10.94C7.573 27.958 11.147 30 14.999 30s7.426-2.042 9.418-5.381a11.25 11.25 0 0 0 .315-10.94.97.97 0 0 0-.062-.102zm-3.357 11.686c-2.028 2.051-4.904 2.993-7.734 2.531s-5.269-2.268-6.559-4.859a9.14 9.14 0 0 1 .048-8.227l7.929-11.79 7.929 11.79a9.1 9.1 0 0 1 .908 5.546c-.29 1.9-1.174 3.654-2.521 5.009zm-8.55-2.443a4.18 4.18 0 0 1-1.953-2.532 4.24 4.24 0 0 1 .395-3.187 1.06 1.06 0 0 0-.382-1.434 1.03 1.03 0 0 0-1.417.387 6.34 6.34 0 0 0-.584 4.777 6.27 6.27 0 0 0 2.927 3.792c.497.289 1.132.116 1.418-.387a1.06 1.06 0 0 0-.384-1.434z"/></svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 764 B

Before After
Before After

View file

@ -1,3 +1 @@
<svg width="24" height="27" viewBox="0 0 24 27" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0.00287444 13.4812C-0.0696142 16.985 1.23143 20.3752 3.62219 22.9088C6.01311 25.4435 9.2988 26.9138 12.7597 27C15.0419 26.9734 17.274 26.3255 19.2238 25.1246C21.1735 23.9225 22.7669 22.2116 23.8369 20.1704C24.0706 19.7377 24.0518 19.21 23.7894 18.7949C23.5256 18.3798 23.0607 18.1432 22.5745 18.1774L22.4283 18.1888C22.2533 18.2027 22.0771 18.2153 21.8946 18.2153C19.1413 18.1293 16.5341 16.9436 14.6419 14.9149C12.7509 12.8877 11.7311 10.1846 11.8036 7.39569C11.8036 5.51019 12.2685 3.65372 13.1584 1.99736C13.3908 1.56459 13.3733 1.03817 13.1109 0.623091C12.8484 0.208013 12.3835 -0.029865 11.8986 0.0030161C8.60399 0.319374 5.54811 1.88346 3.34235 4.38284C1.13768 6.8808 -0.0558723 10.1304 0.00267916 13.4813L0.00287444 13.4812ZM9.79281 3.15264C9.36161 4.52438 9.14164 5.95556 9.14164 7.39575C9.08915 10.5986 10.1753 13.7128 12.2024 16.1716C14.2296 18.6316 17.0619 20.2702 20.1824 20.7905C18.3277 22.9949 15.6192 24.2743 12.7598 24.2995C10.0064 24.2148 7.3993 23.0278 5.50838 21.0004C3.61614 18.9732 2.59629 16.2691 2.66879 13.4812C2.63755 11.2211 3.3087 9.00774 4.58726 7.15538C5.86458 5.30151 7.68557 3.90194 9.79291 3.15296L9.79281 3.15264Z" fill="#BDC0D1"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" fill="none"><path d="M2.003 14.979c-.079 3.893 1.331 7.66 3.921 10.475s6.15 4.45 9.899 4.546c2.472-.03 4.89-.749 7.003-2.084a14.08 14.08 0 0 0 4.998-5.505 1.55 1.55 0 0 0-.051-1.528 1.43 1.43 0 0 0-1.316-.686l-.158.013c-.19.015-.38.029-.578.029-2.983-.096-5.807-1.413-7.857-3.667s-3.153-5.256-3.075-8.355c0-2.095.504-4.158 1.468-5.998a1.55 1.55 0 0 0-.051-1.527A1.43 1.43 0 0 0 14.89.003C11.321.355 8.01 2.093 5.621 4.87s-3.681 6.386-3.618 10.109zM12.609 3.503c-.467 1.524-.705 3.114-.705 4.715-.057 3.559 1.12 7.019 3.316 9.751s5.264 4.554 8.645 5.132c-2.009 2.449-4.943 3.871-8.041 3.899-2.983-.094-5.807-1.413-7.856-3.666s-3.155-5.257-3.076-8.355c-.034-2.511.693-4.971 2.078-7.029s3.357-3.615 5.639-4.447z" fill="#bdc0d1"/></svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 796 B

Before After
Before After

View file

@ -1,5 +1 @@
<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.17812 6.25015H1.25C0.559094 6.25015 0 5.69105 0 5.00015C0 4.30924 0.559094 3.75015 1.25 3.75015H5.17812C5.54431 2.30987 6.53431 1.10868 7.87831 0.475148C9.22106 -0.158383 10.7787 -0.158383 12.1214 0.475148C13.4654 1.10855 14.4554 2.30971 14.8216 3.75015H28.7498C29.4407 3.75015 29.9998 4.30924 29.9998 5.00015C29.9998 5.69105 29.4407 6.25015 28.7498 6.25015H14.8216C14.4554 7.69043 13.4654 8.89162 12.1214 9.52515C10.7787 10.1587 9.22109 10.1587 7.87831 9.52515C6.53431 8.89174 5.54434 7.69059 5.17812 6.25015ZM12.3096 4.04312C11.9226 3.10927 11.0107 2.50015 10 2.50015L9.99997 2.50018C8.61934 2.50018 7.49997 3.61955 7.49997 5.00018C7.49997 6.01093 8.10909 6.92277 9.04294 7.30974C9.978 7.69671 11.0522 7.48309 11.7676 6.76774C12.4829 6.0524 12.6965 4.97818 12.3096 4.04312Z" fill="#BDC0D1"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.1781 16.2505H1.25C0.559094 16.2505 0 15.6914 0 15.0005C0 14.3095 0.559094 13.7505 1.25 13.7505H15.1781C15.5443 12.3102 16.5343 11.109 17.8783 10.4755C19.2211 9.84192 20.7787 9.84192 22.1214 10.4755C23.4654 11.1089 24.4554 12.31 24.8216 13.7505H28.7498C29.4407 13.7505 29.9998 14.3095 29.9998 15.0005C29.9998 15.6914 29.4407 16.2505 28.7498 16.2505H24.8216C24.4554 17.6907 23.4654 18.8919 22.1214 19.5255C20.7787 20.159 19.2211 20.159 17.8783 19.5255C16.5343 18.892 15.5443 17.6909 15.1781 16.2505ZM22.3096 14.0434C21.9226 13.1096 21.0107 12.5005 20 12.5005L20 12.5005C18.6193 12.5005 17.5 13.6199 17.5 15.0005C17.5 16.0112 18.1091 16.9231 19.0429 17.31C19.978 17.697 21.0522 17.4834 21.7676 16.768C22.4829 16.0527 22.6965 14.9785 22.3096 14.0434Z" fill="#BDC0D1"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.17812 26.2508H1.25C0.559094 26.2508 0 25.6917 0 25.0008C0 24.3099 0.559094 23.7508 1.25 23.7508H5.17812C5.54431 22.3105 6.53431 21.1093 7.87831 20.4758C9.22106 19.8422 10.7787 19.8422 12.1214 20.4758C13.4654 21.1092 14.4554 22.3103 14.8216 23.7508H28.7498C29.4407 23.7508 29.9998 24.3099 29.9998 25.0008C29.9998 25.6917 29.4407 26.2508 28.7498 26.2508H14.8216C14.4554 27.691 13.4654 28.8922 12.1214 29.5258C10.7787 30.1593 9.22109 30.1593 7.87831 29.5258C6.53431 28.8924 5.54434 27.6912 5.17812 26.2508ZM12.3096 24.0437C11.9226 23.1099 11.0107 22.5008 10 22.5008L9.99997 22.5008C8.61934 22.5008 7.49997 23.6202 7.49997 25.0008C7.49997 26.0115 8.10909 26.9234 9.04294 27.3104C9.978 27.6973 11.0522 27.4837 11.7676 26.7684C12.4829 26.053 12.6965 24.9788 12.3096 24.0437Z" fill="#BDC0D1"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" fill="#bdc0d1" fill-rule="evenodd"><path d="M5.178 6.25H1.25a1.25 1.25 0 1 1 0-2.5h3.928c.366-1.44 1.356-2.641 2.7-3.275a4.97 4.97 0 0 1 4.243 0 4.98 4.98 0 0 1 2.7 3.275H28.75a1.25 1.25 0 0 1 0 2.5H14.822c-.366 1.44-1.356 2.641-2.7 3.275a4.97 4.97 0 0 1-4.243 0 4.98 4.98 0 0 1-2.7-3.275zm7.131-2.207A2.5 2.5 0 0 0 10 2.5h0a2.5 2.5 0 1 0 2.31 1.543zm2.869 12.207H1.25A1.25 1.25 0 0 1 0 15.001a1.25 1.25 0 0 1 1.25-1.25h13.928c.366-1.44 1.356-2.642 2.7-3.275s2.9-.634 4.243 0a4.98 4.98 0 0 1 2.7 3.275h3.928a1.25 1.25 0 0 1 0 2.5h-3.928c-.366 1.44-1.356 2.641-2.7 3.275s-2.9.633-4.243 0-2.334-1.835-2.7-3.275zm7.131-2.207A2.5 2.5 0 0 0 20 12.501h0a2.5 2.5 0 1 0 2.31 1.542zM5.178 26.251H1.25a1.25 1.25 0 1 1 0-2.5h3.928c.366-1.44 1.356-2.642 2.7-3.275s2.9-.634 4.243 0a4.98 4.98 0 0 1 2.7 3.275H28.75a1.25 1.25 0 1 1 0 2.5H14.822c-.366 1.44-1.356 2.641-2.7 3.275a4.97 4.97 0 0 1-4.243 0 4.98 4.98 0 0 1-2.7-3.275zm7.131-2.207A2.5 2.5 0 0 0 10 22.501h0a2.5 2.5 0 1 0 2.31 1.543z"/></svg>

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 1 KiB

Before After
Before After

View file

@ -108,7 +108,7 @@ MainWindow := Window {
@image-url("images/settings.svg"),
@image-url("images/ink.svg"),
] : SideBarIcon {
y: sidebar.icon-y(idx);
y: sidebar.icon-y(idx)+3px;
x: (parent.width - width) / 2;
height: 30px;
width: 30px;