Skip to content

Commit 27af231

Browse files
committed
Update logo
1 parent a5c4a4b commit 27af231

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+38
-69
lines changed
26.3 KB

src/common/images/icon1024.png

23 KB
405 Bytes
410 Bytes

src/common/images/icon12-button.png

494 Bytes
324 Bytes

src/common/images/icon12.png

-315 Bytes
1.96 KB

src/common/images/icon128.png

-15 KB

src/common/images/icon12@2x.png

-2.42 KB
Binary file not shown.
451 Bytes
466 Bytes

src/common/images/icon14-button.png

595 Bytes
347 Bytes

src/common/images/icon14.png

-330 Bytes

src/common/images/icon14@2x.png

-1.63 KB
Binary file not shown.
513 Bytes
529 Bytes

src/common/images/icon16-button.png

665 Bytes

src/common/images/icon16-bw.png

-1.01 KB
Binary file not shown.

src/common/images/icon16-bw@2x.png

-2.22 KB
Binary file not shown.
374 Bytes

src/common/images/icon16.png

-1.37 KB

src/common/images/icon16@2x.png

-3.13 KB
Binary file not shown.
583 Bytes
590 Bytes

src/common/images/icon19-button.png

766 Bytes
407 Bytes

src/common/images/icon19.png

-1.56 KB
722 Bytes
735 Bytes

src/common/images/icon24-button.png

968 Bytes

src/common/images/icon24-bw.png

-1.64 KB
Binary file not shown.

src/common/images/icon24-bw@2x.png

-3.98 KB
Binary file not shown.
465 Bytes

src/common/images/icon24.png

-1.92 KB

src/common/images/icon24@2x.png

-5 KB
Binary file not shown.
4.28 KB

src/common/images/icon256.png

4.54 KB
817 Bytes
815 Bytes

src/common/images/icon28-button.png

1.07 KB
535 Bytes

src/common/images/icon28.png

579 Bytes
998 Bytes
1008 Bytes

src/common/images/icon32-button.png

1.37 KB
627 Bytes

src/common/images/icon32.png

-2.45 KB
1.19 KB
1.23 KB

src/common/images/icon38-button.png

1.64 KB
713 Bytes

src/common/images/icon38.png

-3.19 KB
1.48 KB
1.51 KB

src/common/images/icon48-button.png

2.04 KB
835 Bytes

src/common/images/icon48.png

-4.1 KB
11.7 KB

src/common/images/icon512.png

-92.4 KB
1.06 KB

src/common/images/icon64.png

1.16 KB
1.04 KB

src/common/images/icon76.png

-5.07 KB
1.53 KB

src/common/images/icon96.png

1.66 KB

src/common/options.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ <h1>
337337
Type some Markdown into the email.<br/>Try this: <code>_Hello_ `Markdown` **Here**!</code>
338338
</li>
339339
<li data-i18n="click_toggle">
340-
Right-click in the email and then click "Markdown Toggle". (Or click the <img src="images/icon16.png"/> button on the toolbar.<span class="hotkey-display-wrapper"> Or press <span class="hotkey-display"><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>M</kbd></span></span>)
340+
Right-click in the email and then click "Markdown Toggle". (Or click the <img style="width:16px" src="images/icon32-button-monochrome.png"/> button on the toolbar.<span class="hotkey-display-wrapper"> Or press <span class="hotkey-display"><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>M</kbd></span></span>)
341341
</li>
342342
<li data-i18n="pretty_cool">
343343
The message should now look pretty cool. Send it to your friends!

src/common/options.js

+16-2
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,23 @@ function localize() {
160160
// Take this opportunity to show appropriate size images for the pixel
161161
// density. This saves us from having to make the `img` tags in the
162162
// translated content more complex.
163+
// TODO: Change to media queries (and so use background-image style).
163164
if (window.devicePixelRatio === 2) {
164-
$('img[src="images/icon16.png"]').css('width', '16px')
165-
.attr('src', 'images/icon16@2x.png');
165+
$('img[src="images/icon16.png"]')
166+
.css('width', '16px')
167+
.attr('src', 'images/icon32.png');
168+
$('img[src="images/icon16-button.png"]')
169+
.css('width', '16px')
170+
.attr('src', 'images/icon32-button.png');
171+
$('img[src="images/icon16-monochrome.png"]')
172+
.css('width', '16px')
173+
.attr('src', 'images/icon32-monochrome.png');
174+
$('img[src="images/icon16-button-monochrome.png"]')
175+
.css('width', '16px')
176+
.attr('src', 'images/icon32-button-monochrome.png');
177+
$('img[src="images/icon16-button-disabled.png"]')
178+
.css('width', '16px')
179+
.attr('src', 'images/icon32-button-disabled.png');
166180
}
167181
});
168182
}

src/common/test/index.html

-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616

1717
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
1818

19-
<link rel="shortcut icon" href="/favicon.ico"/>
20-
<link rel="apple-touch-icon" href="/apple-touch-icon.png"/>
2119
<link rel="stylesheet" href="mocha.css"/>
2220
</head>
2321

src/firefox/chrome/content/postbox-overlay.xul

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
class=""
1616
label="&toggle_button_text;"
1717
tooltiptext="&toggle_button_tooltip;"
18-
image="resource://markdown_here_common/images/icon16.png"
18+
image="resource://markdown_here_common/images/icon16-button-monochrome.png"
1919
oncommand="markdown_here.onToolbarButtonCommand(event)" />
2020
</toolbar>
2121

src/firefox/chrome/skin/toolbar-osx.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ toolbar[iconsize="small"] #toolbarButton-markdown_here[disabled="true"] > .toolb
1616
*/
1717

1818
#formatToolbarButton-markdown_here {
19-
list-style-image: url("resource://markdown_here_common/images/icon12.png");
19+
list-style-image: url("resource://markdown_here_common/images/icon12-button-monochrome.png");
2020
}
2121

2222
#formatToolbarButton-markdown_here > .toolbarbutton-icon {
@@ -26,6 +26,6 @@ toolbar[iconsize="small"] #toolbarButton-markdown_here[disabled="true"] > .toolb
2626

2727
@media (min-resolution: 2dppx) {
2828
#formatToolbarButton-markdown_here {
29-
list-style-image: url("resource://markdown_here_common/images/icon12@2x.png");
29+
list-style-image: url("resource://markdown_here_common/images/icon24-button-monochrome.png");
3030
}
3131
}

src/firefox/chrome/skin/toolbar.css

+18-18
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
/* Note that `#pageAction-markdown_here` is an `<image>`, so the `width` can be
66
set directly. */
77
#pageAction-markdown_here {
8-
list-style-image: url("resource://markdown_here_common/images/icon14.png");
8+
list-style-image: url("resource://markdown_here_common/images/icon14-button-monochrome.png");
99
width: 14px;
1010
height: 14px;
1111
}
1212

1313
@media (min-resolution: 2dppx) {
1414
#pageAction-markdown_here {
15-
list-style-image: url("resource://markdown_here_common/images/icon14@2x.png");
15+
list-style-image: url("resource://markdown_here_common/images/icon28-button-monochrome.png");
1616
}
1717
}
1818

@@ -22,12 +22,12 @@
2222
*/
2323

2424
#context-markdown_here {
25-
list-style-image: url("resource://markdown_here_common/images/icon16.png");
25+
list-style-image: url("resource://markdown_here_common/images/icon16-monochrome.png");
2626
}
2727

2828
@media (min-resolution: 2dppx) {
2929
#context-markdown_here {
30-
list-style-image: url("resource://markdown_here_common/images/icon16@2x.png");
30+
list-style-image: url("resource://markdown_here_common/images/icon32-monochrome.png");
3131
}
3232
}
3333

@@ -50,44 +50,44 @@
5050
/* This also controls how the icon will look in the toolbar customize palette. */
5151

5252
#toolbarButton-markdown_here {
53-
list-style-image: url("resource://markdown_here_common/images/icon24.png");
53+
list-style-image: url("resource://markdown_here_common/images/icon24-button-monochrome.png");
5454
}
5555

5656
@media (min-resolution: 2dppx) {
5757
#toolbarButton-markdown_here {
58-
list-style-image: url("resource://markdown_here_common/images/icon24@2x.png");
58+
list-style-image: url("resource://markdown_here_common/images/icon48-button-monochrome.png");
5959
}
6060
}
6161

6262
#toolbarButton-markdown_here[disabled="true"] {
63-
list-style-image: url("resource://markdown_here_common/images/icon24-bw.png");
63+
list-style-image: url("resource://markdown_here_common/images/icon24-button-disabled.png");
6464
}
6565

6666
@media (min-resolution: 2dppx) {
6767
#toolbarButton-markdown_here[disabled="true"] {
68-
list-style-image: url("resource://markdown_here_common/images/icon24-bw@2x.png");
68+
list-style-image: url("resource://markdown_here_common/images/icon48-button-disabled.png");
6969
}
7070
}
7171

7272
/* The "small" icon toolbar, which is the standard. */
7373

7474
toolbar[iconsize="small"] #toolbarButton-markdown_here {
75-
list-style-image: url("resource://markdown_here_common/images/icon16.png");
75+
list-style-image: url("resource://markdown_here_common/images/icon16-button-monochrome.png");
7676
}
7777

7878
@media (min-resolution: 2dppx) {
7979
toolbar[iconsize="small"] #toolbarButton-markdown_here {
80-
list-style-image: url("resource://markdown_here_common/images/icon16@2x.png");
80+
list-style-image: url("resource://markdown_here_common/images/icon32-button-monochrome.png");
8181
}
8282
}
8383

8484
toolbar[iconsize="small"] #toolbarButton-markdown_here[disabled="true"] {
85-
list-style-image: url("resource://markdown_here_common/images/icon16-bw.png");
85+
list-style-image: url("resource://markdown_here_common/images/icon16-button-disabled.png");
8686
}
8787

8888
@media (min-resolution: 2dppx) {
8989
toolbar[iconsize="small"] #toolbarButton-markdown_here[disabled="true"] {
90-
list-style-image: url("resource://markdown_here_common/images/icon16-bw@2x.png");
90+
list-style-image: url("resource://markdown_here_common/images/icon32-button-disabled.png");
9191
}
9292
}
9393

@@ -100,7 +100,7 @@ toolbar[iconsize="small"] #toolbarButton-markdown_here[disabled="true"] {
100100
/* The "normal" size, which is small. */
101101

102102
#composeToolbarButton-markdown_here {
103-
list-style-image: url("resource://markdown_here_common/images/icon16.png");
103+
list-style-image: url("resource://markdown_here_common/images/icon16-button-monochrome.png");
104104
}
105105

106106
#composeToolbarButton-markdown_here > .toolbarbutton-icon {
@@ -110,14 +110,14 @@ toolbar[iconsize="small"] #toolbarButton-markdown_here[disabled="true"] {
110110

111111
@media (min-resolution: 2dppx) {
112112
#composeToolbarButton-markdown_here {
113-
list-style-image: url("resource://markdown_here_common/images/icon16@2x.png");
113+
list-style-image: url("resource://markdown_here_common/images/icon32-button-monochrome.png");
114114
}
115115
}
116116

117117
/* The "large" size. This is available in Thunderbird+Xubuntu and Postbox. */
118118

119119
toolbar[iconsize="large"] #composeToolbarButton-markdown_here {
120-
list-style-image: url("resource://markdown_here_common/images/icon24.png");
120+
list-style-image: url("resource://markdown_here_common/images/icon24-button-monochrome.png");
121121
}
122122

123123
toolbar[iconsize="large"] #composeToolbarButton-markdown_here > .toolbarbutton-icon {
@@ -127,7 +127,7 @@ toolbar[iconsize="large"] #composeToolbarButton-markdown_here > .toolbarbutton-i
127127

128128
@media (min-resolution: 2dppx) {
129129
toolbar[iconsize="large"] #composeToolbarButton-markdown_here {
130-
list-style-image: url("resource://markdown_here_common/images/icon24@2x.png");
130+
list-style-image: url("resource://markdown_here_common/images/icon48-button-monochrome.png");
131131
}
132132
}
133133

@@ -137,7 +137,7 @@ toolbar[iconsize="large"] #composeToolbarButton-markdown_here > .toolbarbutton-i
137137
*/
138138

139139
#formatToolbarButton-markdown_here {
140-
list-style-image: url("resource://markdown_here_common/images/icon16.png");
140+
list-style-image: url("resource://markdown_here_common/images/icon16-button-monochrome.png");
141141
}
142142

143143
#formatToolbarButton-markdown_here > .toolbarbutton-icon {
@@ -147,6 +147,6 @@ toolbar[iconsize="large"] #composeToolbarButton-markdown_here > .toolbarbutton-i
147147

148148
@media (min-resolution: 2dppx) {
149149
#formatToolbarButton-markdown_here {
150-
list-style-image: url("resource://markdown_here_common/images/icon16@2x.png");
150+
list-style-image: url("resource://markdown_here_common/images/icon32-button-monochrome.png");
151151
}
152152
}

src/manifest.json

-40
This file was deleted.

test/index.html

-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010
<meta name="author" content="">
1111

1212
<meta name="viewport" content="width=device-width, initial-scale=1.0">
13-
14-
<link rel="shortcut icon" href="/favicon.ico">
15-
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
1613
</head>
1714

1815
<body style="height: 100%">

0 commit comments

Comments
 (0)