Refactor icons jammy (#108)

* chore: add icons and installation

* refactor: use the new battery icons

* refactor: use audio applet icons

* chore dependency cleanup

* chore: remove icons included in cosmic-icons package

* refactor: use icons for signal strength and fix handling of new connections

* fix: improve some logic for the networking applet

* chore: add cosmic-icons to Depends

* feat: use notifications icons

* chore: set bluetooth icon depending on state

* fix: set default font and text size

* feat (network): add airplane-mode message

* feat (battery): add display icons to the battery applet

* fix (battery): logic for selecting the battery icon & use new battery icons
This commit is contained in:
Ashley Wulber 2023-08-08 16:18:12 -04:00 committed by GitHub
parent 76ce8838b5
commit 3ad64df5f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
77 changed files with 653 additions and 615 deletions

View file

@ -0,0 +1,5 @@
<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
<g id="Status Icons/bluetooth-active-symbolic">
<path id="Vector" d="M8.5 0.0200195C5.453 0.0200195 3 2.69602 3 6.02002V10.02C3 13.344 5.453 16.02 8.5 16.02C11.547 16.02 14 13.344 14 10.02V6.02002C14 2.69602 11.547 0.0200195 8.5 0.0200195V0.0200195ZM8.46 2.08202C8.52712 2.08097 8.59376 2.09344 8.65595 2.1187C8.71815 2.14395 8.77462 2.18147 8.822 2.22902L11.822 5.22902C11.8718 5.27866 11.9106 5.33825 11.9358 5.40389C11.961 5.46953 11.972 5.53975 11.9683 5.60996C11.9645 5.68017 11.946 5.7488 11.9139 5.81136C11.8818 5.87392 11.8368 5.929 11.782 5.97302L9.145 8.08302L11.781 10.192C11.8359 10.236 11.8809 10.291 11.9131 10.3535C11.9453 10.416 11.9639 10.4846 11.9678 10.5549C11.9717 10.6251 11.9607 10.6953 11.9356 10.761C11.9104 10.8267 11.8717 10.8863 11.822 10.936L8.822 13.936C8.75208 14.0057 8.66309 14.0532 8.56624 14.0724C8.4694 14.0916 8.36903 14.0817 8.27781 14.0439C8.18658 14.0062 8.10857 13.9422 8.05362 13.8602C7.99866 13.7782 7.96922 13.6817 7.969 13.583V9.02302L5.781 10.773C5.67714 10.851 5.54699 10.8856 5.4181 10.8693C5.28922 10.8531 5.17172 10.7873 5.09049 10.6859C5.00926 10.5845 4.97068 10.4555 4.9829 10.3262C4.99513 10.1969 5.05721 10.0774 5.156 9.99302L7.543 8.08302L5.156 6.17302C5.10245 6.13279 5.05753 6.08222 5.0239 6.02429C4.99028 5.96637 4.96863 5.90229 4.96025 5.83584C4.95187 5.76939 4.95692 5.70193 4.97511 5.63748C4.99329 5.57302 5.02425 5.51287 5.06613 5.4606C5.10801 5.40834 5.15996 5.36502 5.2189 5.33322C5.27785 5.30142 5.34258 5.28178 5.40926 5.27548C5.47593 5.26917 5.5432 5.27633 5.60706 5.29652C5.67092 5.31671 5.73007 5.34953 5.781 5.39302L7.969 7.14302V2.58302C7.96898 2.45179 8.02056 2.32581 8.11261 2.23226C8.20465 2.13872 8.32978 2.08512 8.461 2.08302L8.46 2.08202ZM8.97 3.79002V6.94302L10.722 5.54302L8.97 3.79002ZM8.97 9.22402V12.376L10.722 10.624L8.97 9.22402Z" fill="#232323"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -0,0 +1,9 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<g id="Status Icons/bluetooth-disabled-symbolic">
<g id="Group">
<path id="Vector" d="M0 0H16V16H0V0Z" fill="#808080" fill-opacity="0.01"/>
<path id="Vector_2" d="M8.50011 0.019989C7.23211 0.019989 6.08412 0.504375 5.15612 1.2844L7.9691 4.0929V2.57978C7.96912 2.48109 7.99842 2.38464 8.0533 2.30257C8.10818 2.2205 8.18619 2.15648 8.27745 2.11865C8.36872 2.08083 8.46918 2.07086 8.56612 2.09C8.66306 2.10915 8.75212 2.15657 8.8221 2.22625L11.8221 5.2225C11.8719 5.27208 11.9107 5.33159 11.9359 5.39715C11.9611 5.46271 11.9721 5.53283 11.9684 5.60295C11.9646 5.67307 11.9461 5.74163 11.914 5.80411C11.8819 5.8666 11.837 5.9216 11.7821 5.96556L10.7051 6.82548L13.9951 10.1114C13.9951 10.0764 14.0001 10.0425 14.0001 10.0075V6.0125C14.0001 2.69265 11.5471 0.019989 8.50011 0.019989ZM4.18611 2.29214C3.40742 3.3761 2.99225 4.67843 3.00011 6.0125V10.0075C3.00011 13.3274 5.45311 16 8.50011 16C10.9611 16 13.0341 14.2552 13.7401 11.8352L9.60411 7.70539L9.14412 8.07194L11.7811 10.1793C11.836 10.2232 11.881 10.2781 11.9132 10.3406C11.9454 10.403 11.964 10.4716 11.9679 10.5417C11.9718 10.6118 11.9608 10.682 11.9357 10.7476C11.9105 10.8132 11.8718 10.8727 11.8221 10.9224L8.8221 13.9186C8.75218 13.9882 8.66321 14.0356 8.56636 14.0548C8.46952 14.074 8.36914 14.0641 8.27791 14.0264C8.18668 13.9887 8.10868 13.9248 8.05373 13.8429C7.99877 13.761 7.96932 13.6647 7.9691 13.5661V9.01175L5.78112 10.7596C5.26112 11.177 4.63512 10.396 5.15612 9.98054L7.54311 8.07292L5.37712 6.0125C4.81112 5.60202 5.25712 4.92385 5.78112 5.38627L7.9691 7.13409V6.07142L4.18611 2.29214ZM8.9691 3.78527V5.09166L9.99211 6.11437L10.7211 5.5351L8.9691 3.78527ZM8.9691 9.21151V12.3606L10.7211 10.6108L8.9691 9.21151Z" fill="#232323"/>
<path id="Vector_3" d="M14.8594 12.9524L3.55069 1.65775C3.16134 1.26888 2.53009 1.26887 2.14073 1.65773C1.75138 2.0466 1.75137 2.67709 2.14073 3.06595L13.4495 14.3606C13.8388 14.7495 14.4701 14.7495 14.8595 14.3606C15.2488 13.9717 15.2488 13.3413 14.8594 12.9524Z" fill="#232323"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2 KiB