Bug 1480682 - Add icon for Connect sidebar item;r=daisuke

Depends on D2702

Differential Revision: https://phabricator.services.mozilla.com/D2703

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Julian Descottes 2018-08-06 08:34:02 +00:00
Родитель 918e203758
Коммит d7873db39a
3 изменённых файлов: 9 добавлений и 2 удалений

Просмотреть файл

@ -12,7 +12,7 @@ const { PAGES } = require("../constants");
const SidebarItem = createFactory(require("./SidebarItem"));
const FIREFOX_ICON = "chrome://devtools/skin/images/aboutdebugging-firefox-logo.svg";
const MOBILE_ICON = "chrome://devtools/skin/images/aboutdebugging-firefox-logo.svg";
const CONNECT_ICON = "chrome://devtools/skin/images/aboutdebugging-connect-icon.svg";
class Sidebar extends PureComponent {
static get propTypes() {
@ -41,7 +41,7 @@ class Sidebar extends PureComponent {
SidebarItem({
id: PAGES.CONNECT,
dispatch,
icon: MOBILE_ICON,
icon: CONNECT_ICON,
isSelected: PAGES.CONNECT === selectedPage,
name: "Connect",
})

Просмотреть файл

@ -109,6 +109,7 @@ devtools.jar:
skin/images/breadcrumbs-divider.svg (themes/images/breadcrumbs-divider.svg)
skin/images/filters.svg (themes/images/filters.svg)
skin/images/filter-swatch.svg (themes/images/filter-swatch.svg)
skin/images/aboutdebugging-connect-icon.svg (themes/images/aboutdebugging-connect-icon.svg)
skin/images/aboutdebugging-firefox-logo.svg (themes/images/aboutdebugging-firefox-logo.svg)
skin/images/fox-smiling.svg (themes/images/fox-smiling.svg)
skin/images/grid.svg (themes/images/grid.svg)

Просмотреть файл

@ -0,0 +1,6 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- 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/. -->
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M5 4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4zm2 .51A.51.51 0 0 1 7.51 4h8.98a.51.51 0 0 1 .51.51v13.98a.51.51 0 0 1-.51.51H7.51a.51.51 0 0 1-.51-.51V4.51zM10.5 20a.5.5 0 1 0 0 1h3a.5.5 0 1 0 0-1h-3z" fill="context-fill #0C0C0D"></path>
</svg>

После

Ширина:  |  Высота:  |  Размер: 625 B