diff --git a/css/leptonChrome.css b/css/leptonChrome.css index 58153ac2..1cc1cd70 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -13143,6 +13143,18 @@ } } } + /** Icons - 1.25px Stroke Width ***********************************************/ + @supports -moz-bool-pref("userChrome.icon.1-25px_stroke") { + #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; + } + } /** Icons for fork browsers ***************************************************/ /*= Waterfox =================================================================*/ @supports -moz-bool-pref("userChrome.icon.panel") { @@ -24855,6 +24867,7 @@ /** Library - Icons Replace ***************************************************/ /** Panel - Icons *************************************************************/ /** Menu - Icons Layout *******************************************************/ + /** Icons - 1.25px Stroke Width ***********************************************/ /** Icons for fork browsers ***************************************************/ /*= Waterfox =================================================================*/ /*= Tor Browser ==============================================================*/ @@ -28278,6 +28291,17 @@ --menuitem-image: url("chrome://browser/skin/import.svg"); } } +@media (not (-moz-bool-pref: "userChrome.icon.disabled")) and (-moz-bool-pref: "userChrome.icon.1-25px_stroke") { + #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; + } +} @media (not (-moz-bool-pref: "userChrome.icon.disabled")) and (-moz-bool-pref: "userChrome.icon.panel") { #appMenu-restart-button { list-style-image: url("../icons/refresh-cw.svg") !important; diff --git a/css/leptonChromeESR.css b/css/leptonChromeESR.css index f4008f5b..fd2a8389 100644 --- a/css/leptonChromeESR.css +++ b/css/leptonChromeESR.css @@ -13752,6 +13752,18 @@ } } } + /** Icons - 1.25px Stroke Width ***********************************************/ + @supports -moz-bool-pref("userChrome.icon.1-25px_stroke") { + #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; + } + } /** Icons for fork browsers ***************************************************/ /*= Waterfox =================================================================*/ @supports -moz-bool-pref("userChrome.icon.panel") { diff --git a/src/icons/_1.25px_stroke.scss b/src/icons/_1.25px_stroke.scss new file mode 100644 index 00000000..0e0a03ce --- /dev/null +++ b/src/icons/_1.25px_stroke.scss @@ -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; +} \ No newline at end of file diff --git a/src/icons/_index.scss b/src/icons/_index.scss index cdbf0237..60dce9ed 100644 --- a/src/icons/_index.scss +++ b/src/icons/_index.scss @@ -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"; diff --git a/user.js b/user.js index 39086e26..ce9873cd 100644 --- a/user.js +++ b/user.js @@ -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);