diff --git a/css/leptonChrome.css b/css/leptonChrome.css index 429968f..8742556 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -10566,7 +10566,7 @@ /* Color */ -moz-context-properties: fill, fill-opacity, stroke !important; fill: currentColor !important; - stroke: transparent; + stroke: currentColor; /* Layout */ background-size: 16px !important; background-repeat: no-repeat !important; @@ -10971,6 +10971,7 @@ #tabcenter-reborn_ariasuni-menuitem-_contextMenuMuteTab, #sidebartabs_asamuzak_jp-menuitem-_muteTab { --menuitem-image: url("chrome://browser/skin/tabbrowser/tab-audio-muted-small.svg"); + stroke: transparent !important; } #context_toggleMuteTab[muted], #context_toggleMuteSelectedTabs[muted], @@ -11975,9 +11976,11 @@ /* viewFullZoomMenu sub menu */ #menu_zoomEnlarge { --menuitem-image: url("chrome://browser/skin/add-circle-fill.svg"); + stroke: transparent !important; } #menu_zoomReduce { --menuitem-image: url("chrome://browser/skin/subtract-circle-fill.svg"); + stroke: transparent !important; } #menu_zoomReset { --menuitem-image: url("../icons/resize.svg"); diff --git a/css/leptonContent.css b/css/leptonContent.css index 05d08df..50e4963 100644 --- a/css/leptonContent.css +++ b/css/leptonContent.css @@ -252,7 +252,7 @@ /* Color */ -moz-context-properties: fill, fill-opacity, stroke !important; fill: currentColor !important; - stroke: transparent; + stroke: currentColor; /* Layout */ background-size: 16px !important; background-repeat: no-repeat !important; @@ -2990,7 +2990,7 @@ /* Color */ -moz-context-properties: fill, fill-opacity, stroke !important; fill: currentColor !important; - stroke: transparent; + stroke: currentColor; /* Layout */ background-size: 16px !important; background-repeat: no-repeat !important; diff --git a/docs/Project_Structure.md b/docs/Project_Structure.md index 3ef1f04..f0550ce 100644 --- a/docs/Project_Structure.md +++ b/docs/Project_Structure.md @@ -45,7 +45,7 @@ Most of them are made in SVG. Except for illustrations, there must be an `fill="context-fill" fill-opacity="context-fill-opacity"` property to dynamically determine color and transparency. -Icons are mainly [FirefoxUX/photon-icons](https://github.com/FirefoxUX/photon-icons) +Icons are mainly [FirefoxUX/acorn-icons](https://github.com/FirefoxUX/acorn-icons), [FirefoxUX/photon-icons](https://github.com/FirefoxUX/photon-icons) or [microsoft/fluentui-system-icons](https://github.com/microsoft/fluentui-system-icons). Although not yet used, [tabler/tabler-icons](https://github.com/tabler/tabler-icons) and [feathericons/feather](https://github.com/feathericons/feather) can also be referred to. diff --git a/icons/link.svg b/icons/link.svg index e3a0ae8..cbc15a2 100644 --- a/icons/link.svg +++ b/icons/link.svg @@ -1,8 +1,6 @@ - - - - - \ No newline at end of file + + + diff --git a/icons/pin-tab.svg b/icons/pin-tab.svg index 719eeed..2a30c3f 100644 --- a/icons/pin-tab.svg +++ b/icons/pin-tab.svg @@ -1,6 +1,6 @@ - - + + diff --git a/icons/unpin-tab.svg b/icons/unpin-tab.svg index 8acf292..f738efd 100644 --- a/icons/unpin-tab.svg +++ b/icons/unpin-tab.svg @@ -2,5 +2,7 @@ - License, v. 2.0. If a copy of the MPL was not distributed with this - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> - + + + diff --git a/src/icons/_global_menu.scss b/src/icons/_global_menu.scss index cd6d329..ff6f57c 100644 --- a/src/icons/_global_menu.scss +++ b/src/icons/_global_menu.scss @@ -158,9 +158,11 @@ menu.share-tab-url-item { /* viewFullZoomMenu sub menu */ #menu_zoomEnlarge { --menuitem-image: url("chrome://browser/skin/add-circle-fill.svg"); + stroke: transparent !important; } #menu_zoomReduce { --menuitem-image: url("chrome://browser/skin/subtract-circle-fill.svg"); + stroke: transparent !important; } #menu_zoomReset { --menuitem-image: url("../icons/resize.svg"); diff --git a/src/icons/context_menu/_tab_toolbar.scss b/src/icons/context_menu/_tab_toolbar.scss index b704859..f2acdcf 100644 --- a/src/icons/context_menu/_tab_toolbar.scss +++ b/src/icons/context_menu/_tab_toolbar.scss @@ -28,6 +28,7 @@ #tabcenter-reborn_ariasuni-menuitem-_contextMenuMuteTab, #sidebartabs_asamuzak_jp-menuitem-_muteTab { --menuitem-image: url("chrome://browser/skin/tabbrowser/tab-audio-muted-small.svg"); + stroke: transparent !important; } #context_toggleMuteTab[muted], #context_toggleMuteSelectedTabs[muted], diff --git a/src/icons/layout/_menu_common.scss b/src/icons/layout/_menu_common.scss index 2ae5264..47ede9d 100644 --- a/src/icons/layout/_menu_common.scss +++ b/src/icons/layout/_menu_common.scss @@ -47,7 +47,7 @@ $_initialMenus: selector.append( /* Color */ -moz-context-properties: fill, fill-opacity, stroke !important; fill: currentColor !important; - stroke: transparent; + stroke: currentColor; /* Layout */ background-size: 16px !important;