sirlan-ff00ff / arcticfox-theme

a theme for Firefox (and sidebery) to make it look and somewhat behave like Arc
Mozilla Public License 2.0
57 stars 1 forks source link

Enhancement: Enabling custom icon option to replace Userchrome Toggle button with a sidebar icon #13

Open KiKaraage opened 9 months ago

KiKaraage commented 9 months ago

gambar

:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="userchrome-toggle@joolee.nl"] .toolbarbutton-icon {
     list-style-image: url(./userchrome-toggle.svg); 
}

Code for userchrome.css, with the SVG put in the chrome folder. Would be good to make it even closer to the Mac Arc UI in your theme. Icons can be a Mac-OS themed sidebar one, or... just any sidebar icon

Credit: https://github.com/aminomancer/uc.css.js/blob/master/uc-extensions.css