Bug 1844706: Add and use new MDN icon for MDN Suggestions r=desktop-theme-reviewers,adw,dao

Depends on D184075

Differential Revision: https://phabricator.services.mozilla.com/D184786
This commit is contained in:
Daisuke Akatsuka 2023-07-28 19:56:25 +00:00
Родитель 7977d25683
Коммит 4ff93d1005
3 изменённых файлов: 12 добавлений и 2 удалений

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

@ -90,7 +90,7 @@ export class MDNSuggestions extends BaseFeature {
}
const payload = {
icon: "chrome://devtools/skin/images/mdn.svg",
icon: "chrome://global/skin/icons/mdn.svg",
url: suggestion.url,
title: [suggestion.title, lazy.UrlbarUtils.HIGHLIGHT.TYPED],
description: suggestion.description,

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

@ -85,6 +85,7 @@
skin/classic/global/icons/link.svg (../../shared/icons/link.svg)
skin/classic/global/icons/loading.png (../../shared/icons/loading.png)
skin/classic/global/icons/loading@2x.png (../../shared/icons/loading@2x.png)
skin/classic/global/icons/mdn.svg (../../shared/icons/mdn.svg)
skin/classic/global/icons/more.svg (../../shared/icons/more.svg)
skin/classic/global/icons/open-in-new.svg (../../shared/icons/open-in-new.svg)
skin/classic/global/icons/page-portrait.svg (../../shared/icons/page-portrait.svg)
@ -144,4 +145,3 @@
skin/classic/global/reader/RM-Content-Width-Plus-44x16.svg (../../shared/reader/RM-Content-Width-Plus-44x16.svg)
skin/classic/global/reader/RM-Line-Height-Minus-38x14.svg (../../shared/reader/RM-Line-Height-Minus-38x14.svg)
skin/classic/global/reader/RM-Line-Height-Plus-38x24.svg (../../shared/reader/RM-Line-Height-Plus-38x24.svg)

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

@ -0,0 +1,10 @@
<!-- 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="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M48 0H0V48H48V0Z" fill="#15141A"/>
<path d="M19.2174 10.7458L11.0167 37.2165H7.64514L15.8467 10.7419L19.2174 10.7458Z" fill="white"/>
<path d="M22.2067 10.746V37.2166H19.2241V10.746H22.2067Z" fill="white"/>
<path d="M33.8051 10.7458L25.6044 37.2165H22.2299L30.4306 10.7419L33.8051 10.7458Z" fill="white"/>
<path d="M36.7878 10.746V37.2166H33.8052V10.746H36.7878Z" fill="white"/>
</svg>

После

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