mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-16 06:18:35 +02:00
Add some icons (#285)
This commit is contained in:
@@ -52,7 +52,11 @@ browser.menus.create({
|
||||
type: "radio",
|
||||
title: browser.i18n.getMessage("menuItemGreenify"),
|
||||
contexts: ["all"],
|
||||
checked: true
|
||||
checked: true,
|
||||
icons: {
|
||||
"16": "icons/paint-green-16.png",
|
||||
"32": "icons/paint-green-32.png"
|
||||
}
|
||||
}, onCreated);
|
||||
|
||||
browser.menus.create({
|
||||
@@ -60,7 +64,11 @@ browser.menus.create({
|
||||
type: "radio",
|
||||
title: browser.i18n.getMessage("menuItemBluify"),
|
||||
contexts: ["all"],
|
||||
checked: false
|
||||
checked: false,
|
||||
icons: {
|
||||
"16": "icons/paint-blue-16.png",
|
||||
"32": "icons/paint-blue-32.png"
|
||||
}
|
||||
}, onCreated);
|
||||
|
||||
browser.menus.create({
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
|
||||
The "page-32.png" and "page-48.png" icons are taken from the miu iconset created by Linh Pham Thi Dieu, and are used under the terms of its license: http://linhpham.me/miu/.
|
||||
|
||||
The "paint-blue-16", "paint-blue-32", "paint-green-16", and "paint-green-32" icons are adapted from an icon in the ["Outline icons" set](https://www.iconfinder.com/icons/1021026/paint_icon).
|
||||
|
||||
BIN
menu-demo/icons/paint-blue-16.png
Normal file
BIN
menu-demo/icons/paint-blue-16.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 416 B |
BIN
menu-demo/icons/paint-blue-32.png
Normal file
BIN
menu-demo/icons/paint-blue-32.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 899 B |
BIN
menu-demo/icons/paint-green-16.png
Normal file
BIN
menu-demo/icons/paint-green-16.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 405 B |
BIN
menu-demo/icons/paint-green-32.png
Normal file
BIN
menu-demo/icons/paint-green-32.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 870 B |
Reference in New Issue
Block a user