Skip to content

Commit

Permalink
Add: Icons - Duplicate close tabs #903
Browse files Browse the repository at this point in the history
  • Loading branch information
black7375 committed Jul 1, 2024
1 parent 0504d74 commit f5e3ce1
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 0 deletions.
22 changes: 22 additions & 0 deletions css/leptonChrome.css

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

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

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

2 changes: 2 additions & 0 deletions src/icons/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
--uc-tab-copy-icon: url("../icons/tab-copy.svg");
--uc-tab-unload-icon: url("../icons/tab-unload.svg");
--uc-tab-multiple-icon: url("../icons/tab-desktop-multiple.svg");
--uc-tab-close-duplicate-icon: url("../icons/close-duplicate-tabs.svg");
--uc-new-tab-icon: url("../icons/new-tab.svg");
--uc-new-tab-forward-icon: url("../icons/new-tab-forward.svg");
--uc-new-tab-skip-forward-icon: url("../icons/new-tab-skip-forward.svg");
Expand All @@ -16,6 +17,7 @@
--uc-tab-copy-icon: url("../icons/tab-copy-photon.svg");
--uc-tab-unload-icon: url("../icons/tab-unload-photon.svg");
--uc-tab-multiple-icon: url("../icons/tab-multiple.svg");
--uc-tab-close-duplicate-icon: url("../icons/close-duplicate-tabs-photon.svg");
--uc-new-tab-icon: url("../icons/new-tab-photon.svg");
--uc-new-tab-forward-icon: url("../icons/new-tab-forward-photon.svg");
--uc-new-tab-skip-forward-icon: url("../icons/new-tab-skip-forward-photon.svg");
Expand Down
3 changes: 3 additions & 0 deletions src/icons/_panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,9 @@ panelMenuBookmarkThisPage[starred] {
#allTabsMenu-searchTabs {
list-style-image: url("chrome://global/skin/icons/search-glass.svg");
}
#allTabsMenu-closeDuplicateTabs {
list-style-image: var(--uc-tab-close-duplicate-icon);
}
#allTabsMenu-containerTabsButton {
list-style-image: url("../icons/container-openin-16.svg");
}
Expand Down
5 changes: 5 additions & 0 deletions src/icons/context_menu/_tab_toolbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@
#sidebartabs_asamuzak_jp-menuitem-_closeTab {
--menuitem-image: url("chrome://global/skin/icons/close.svg");
}
#context_closeDuplicateTabs {
@include Option("userChrome.icon.menu.full") {
--menuitem-image: var(--uc-tab-close-duplicate-icon);
}
}
#context_closeTabOptions,
#treestyletab_piro_sakura_ne_jp-menuitem-_context_closeMultipleTabs,
#tabcenter-reborn_ariasuni-menuitem-_contextMenuCloseTabs,
Expand Down

0 comments on commit f5e3ce1

Please sign in to comment.