Skip to content

Commit

Permalink
Add: Icons - Option for 1.25px stroke
Browse files Browse the repository at this point in the history
  • Loading branch information
zapSNH committed Dec 22, 2023
1 parent 9e01bc6 commit b3e7fff
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 0 deletions.
24 changes: 24 additions & 0 deletions css/leptonChrome.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions css/leptonChromeESR.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions src/icons/_1.25px_stroke.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#firefox-view-button {
list-style-image: url("../icons/firefox-view.svg") !important;
}
#reset-pbm-toolbar-button {
list-style-image: url("../icons/flame.svg") !important;
}
#translations-button-icon {
list-style-image: url("../icons/translations.svg") !important;
}
5 changes: 5 additions & 0 deletions src/icons/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,10 @@
}
}

/** Icons - 1.25px Stroke Width ***********************************************/
@include Option("userChrome.icon.1-25px_stroke") {
@import "1.25px_stroke";
}

/** Icons for fork browsers ***************************************************/
@import "fork_browsers/index";
1 change: 1 addition & 0 deletions user.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ user_pref("userChrome.icon.menu", true);
user_pref("userChrome.icon.context_menu", true);
user_pref("userChrome.icon.global_menu", true);
user_pref("userChrome.icon.global_menubar", true);
user_pref("userChrome.icon.1-25px_stroke", true);

// -- User Content -------------------------------------------------------------
user_pref("userContent.player.ui", true);
Expand Down

0 comments on commit b3e7fff

Please sign in to comment.