Skip to content

Commit

Permalink
New icons! Thank you sdw-nylas
Browse files Browse the repository at this point in the history
  • Loading branch information
mbilker committed Mar 7, 2016
1 parent cdd32d6 commit 4cca45c
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 4 deletions.
File renamed without changes
File renamed without changes
Binary file added assets/icon-composer-encrypt@1x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon-composer-encrypt@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon-plugins-encryption@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions lib/composer/composer-loader.es6
Expand Up @@ -46,8 +46,8 @@ class ComposerLoader extends React.Component {

render() {
let button = <button className="btn btn-toolbar">
Encrypt
<RetinaImg name="toolbar-chevron.png" mode={RetinaImg.Mode.ContentPreserve} />
<RetinaImg url="nylas://cypher/assets/icon-composer-encrypt@2x.png" mode={RetinaImg.Mode.ContentIsMask} />
<RetinaImg name="icon-composer-dropdown.png" mode={RetinaImg.Mode.ContentIsMask} />
</button>

return <Popover ref="popover" className="pgp-composer" buttonComponent={button}>
Expand Down
2 changes: 2 additions & 0 deletions package.json
Expand Up @@ -9,6 +9,8 @@
"engines": {
"nylas": ">=0.4.10"
},
"title": "Cypher",
"icon": "./assets/icon.png",
"description": "Privacy extensions for N1",
"dependencies": {
"debug": "^2.2.0",
Expand Down
4 changes: 2 additions & 2 deletions stylesheets/smalltalk.css
Expand Up @@ -37,7 +37,7 @@
}

.smalltalk .page > .close-button {
background-image: url(nylas://cypher/images/IDR_CLOSE_DIALOG.png);
background-image: url(nylas://cypher/assets/IDR_CLOSE_DIALOG.png);
background-position: center;
background-repeat: no-repeat;
height: 14px;
Expand All @@ -49,7 +49,7 @@
}

.smalltalk .page > .close-button:hover {
background-image: url(nylas://cypher/images/IDR_CLOSE_DIALOG_H.png);
background-image: url(nylas://cypher/assets/IDR_CLOSE_DIALOG_H.png);
}

.smalltalk .page header {
Expand Down

0 comments on commit 4cca45c

Please sign in to comment.