Browse Source

add favicons

pull/44/head
Guillaume Vincent 9 years ago
parent
commit
1773684b3d
35 changed files with 124 additions and 33 deletions
  1. +2
    -1
      package.json
  2. BIN
      static/favicons/android-chrome-144x144.png
  3. BIN
      static/favicons/android-chrome-192x192.png
  4. BIN
      static/favicons/android-chrome-36x36.png
  5. BIN
      static/favicons/android-chrome-48x48.png
  6. BIN
      static/favicons/android-chrome-72x72.png
  7. BIN
      static/favicons/android-chrome-96x96.png
  8. BIN
      static/favicons/apple-touch-icon-114x114.png
  9. BIN
      static/favicons/apple-touch-icon-120x120.png
  10. BIN
      static/favicons/apple-touch-icon-144x144.png
  11. BIN
      static/favicons/apple-touch-icon-152x152.png
  12. BIN
      static/favicons/apple-touch-icon-180x180.png
  13. BIN
      static/favicons/apple-touch-icon-57x57.png
  14. BIN
      static/favicons/apple-touch-icon-60x60.png
  15. BIN
      static/favicons/apple-touch-icon-72x72.png
  16. BIN
      static/favicons/apple-touch-icon-76x76.png
  17. BIN
      static/favicons/apple-touch-icon-precomposed.png
  18. BIN
      static/favicons/apple-touch-icon.png
  19. +12
    -0
      static/favicons/browserconfig.xml
  20. BIN
      static/favicons/favicon-16x16.png
  21. BIN
      static/favicons/favicon-32x32.png
  22. BIN
      static/favicons/favicon-96x96.png
  23. BIN
      static/favicons/favicon.ico
  24. +41
    -0
      static/favicons/manifest.json
  25. BIN
      static/favicons/mstile-144x144.png
  26. BIN
      static/favicons/mstile-150x150.png
  27. BIN
      static/favicons/mstile-310x150.png
  28. BIN
      static/favicons/mstile-310x310.png
  29. BIN
      static/favicons/mstile-70x70.png
  30. +16
    -0
      static/favicons/safari-pinned-tab.svg
  31. BIN
      static/images/C:\Users\19011246\workspace\lesspass\static\images\logo.png
  32. BIN
      static/images/C:\Users\19011246\workspace\lesspass\static\images\logo2.png
  33. BIN
      static/images/favicon.png
  34. +33
    -31
      static/images/favicon.svg
  35. +20
    -1
      static/index.html

+ 2
- 1
package.json View File

@@ -8,8 +8,9 @@
"test:watch": "npm run test -- -w",
"lint": "jshint app/**",
"build:production": "npm prune && npm install && npm run lint && npm test && npm run build",
"build": "npm-run-all clean build:static build:app",
"build": "npm-run-all clean copy:favicons build:static build:app",
"clean": "rimraf dist && mkdir dist",
"copy:favicons": "cpy 'static/favicons/*' dist/",
"build:static": "npm-run-all copy:html copy:images build:css",
"copy:html": "cpy 'static/*.html' dist",
"copy:images": "cpy 'static/images/*.png' dist/images/",


BIN
static/favicons/android-chrome-144x144.png View File

Before After
Width: 144  |  Height: 144  |  Size: 720 B

BIN
static/favicons/android-chrome-192x192.png View File

Before After
Width: 192  |  Height: 192  |  Size: 823 B

BIN
static/favicons/android-chrome-36x36.png View File

Before After
Width: 36  |  Height: 36  |  Size: 632 B

BIN
static/favicons/android-chrome-48x48.png View File

Before After
Width: 48  |  Height: 48  |  Size: 650 B

BIN
static/favicons/android-chrome-72x72.png View File

Before After
Width: 72  |  Height: 72  |  Size: 727 B

BIN
static/favicons/android-chrome-96x96.png View File

Before After
Width: 96  |  Height: 96  |  Size: 706 B

BIN
static/favicons/apple-touch-icon-114x114.png View File

Before After
Width: 114  |  Height: 114  |  Size: 731 B

BIN
static/favicons/apple-touch-icon-120x120.png View File

Before After
Width: 120  |  Height: 120  |  Size: 720 B

BIN
static/favicons/apple-touch-icon-144x144.png View File

Before After
Width: 144  |  Height: 144  |  Size: 720 B

BIN
static/favicons/apple-touch-icon-152x152.png View File

Before After
Width: 152  |  Height: 152  |  Size: 727 B

BIN
static/favicons/apple-touch-icon-180x180.png View File

Before After
Width: 180  |  Height: 180  |  Size: 774 B

BIN
static/favicons/apple-touch-icon-57x57.png View File

Before After
Width: 57  |  Height: 57  |  Size: 669 B

BIN
static/favicons/apple-touch-icon-60x60.png View File

Before After
Width: 60  |  Height: 60  |  Size: 678 B

BIN
static/favicons/apple-touch-icon-72x72.png View File

Before After
Width: 72  |  Height: 72  |  Size: 727 B

BIN
static/favicons/apple-touch-icon-76x76.png View File

Before After
Width: 76  |  Height: 76  |  Size: 707 B

BIN
static/favicons/apple-touch-icon-precomposed.png View File

Before After
Width: 180  |  Height: 180  |  Size: 1.3 KiB

BIN
static/favicons/apple-touch-icon.png View File

Before After
Width: 180  |  Height: 180  |  Size: 774 B

+ 12
- 0
static/favicons/browserconfig.xml View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square70x70logo src="/mstile-70x70.png"/>
<square150x150logo src="/mstile-150x150.png"/>
<square310x310logo src="/mstile-310x310.png"/>
<wide310x150logo src="/mstile-310x150.png"/>
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
</browserconfig>

BIN
static/favicons/favicon-16x16.png View File

Before After
Width: 16  |  Height: 16  |  Size: 616 B

BIN
static/favicons/favicon-32x32.png View File

Before After
Width: 32  |  Height: 32  |  Size: 659 B

BIN
static/favicons/favicon-96x96.png View File

Before After
Width: 96  |  Height: 96  |  Size: 706 B

BIN
static/favicons/favicon.ico View File

Before After

+ 41
- 0
static/favicons/manifest.json View File

@@ -0,0 +1,41 @@
{
"name": "LessPass",
"icons": [
{
"src": "\/android-chrome-36x36.png",
"sizes": "36x36",
"type": "image\/png",
"density": 0.75
},
{
"src": "\/android-chrome-48x48.png",
"sizes": "48x48",
"type": "image\/png",
"density": 1
},
{
"src": "\/android-chrome-72x72.png",
"sizes": "72x72",
"type": "image\/png",
"density": 1.5
},
{
"src": "\/android-chrome-96x96.png",
"sizes": "96x96",
"type": "image\/png",
"density": 2
},
{
"src": "\/android-chrome-144x144.png",
"sizes": "144x144",
"type": "image\/png",
"density": 3
},
{
"src": "\/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image\/png",
"density": 4
}
]
}

BIN
static/favicons/mstile-144x144.png View File

Before After
Width: 144  |  Height: 144  |  Size: 662 B

BIN
static/favicons/mstile-150x150.png View File

Before After
Width: 270  |  Height: 270  |  Size: 893 B

BIN
static/favicons/mstile-310x150.png View File

Before After
Width: 558  |  Height: 270  |  Size: 1.1 KiB

BIN
static/favicons/mstile-310x310.png View File

Before After
Width: 558  |  Height: 558  |  Size: 2.3 KiB

BIN
static/favicons/mstile-70x70.png View File

Before After
Width: 128  |  Height: 128  |  Size: 747 B

+ 16
- 0
static/favicons/safari-pinned-tab.svg View File

@@ -0,0 +1,16 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="260.000000pt" height="260.000000pt" viewBox="0 0 260.000000 260.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.11, written by Peter Selinger 2001-2013
</metadata>
<g transform="translate(0.000000,260.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M0 1300 l0 -1300 1300 0 1300 0 0 1300 0 1300 -1300 0 -1300 0 0
-1300z m460 135 l0 -235 838 2 837 3 3 233 2 232 110 0 110 0 0 -370 0 -370
-1060 0 -1060 0 0 370 0 370 110 0 110 0 0 -235z"/>
</g>
</svg>

BIN
static/images/C:\Users\19011246\workspace\lesspass\static\images\logo.png View File

Before After
Width: 380  |  Height: 74  |  Size: 4.9 KiB

BIN
static/images/C:\Users\19011246\workspace\lesspass\static\images\logo2.png View File

Before After
Width: 380  |  Height: 74  |  Size: 4.9 KiB

BIN
static/images/favicon.png View File

Before After
Width: 32  |  Height: 32  |  Size: 249 B

+ 33
- 31
static/images/favicon.svg View File

@@ -9,42 +9,48 @@
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="13mm"
height="13mm"
viewBox="0 0 46.062991 46.062992"
id="svg3369"
width="45"
height="45"
viewBox="0 0 45 45"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="favicon.svg">
inkscape:version="0.48.4 r9939"
sodipodi:docname="favicon.svg"
inkscape:export-filename="/home/guillaume/workspace/lesspass/static/images/logo.png"
inkscape:export-xdpi="180"
inkscape:export-ydpi="180">
<defs
id="defs3371" />
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
pagecolor="#0275d8"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageopacity="1"
inkscape:pageshadow="2"
inkscape:zoom="5.6"
inkscape:cx="78.175711"
inkscape:cy="42.452645"
inkscape:zoom="5.6568543"
inkscape:cx="0.1744667"
inkscape:cy="2.3568043"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1680"
inkscape:window-height="988"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1" />
inkscape:window-width="1366"
inkscape:window-height="744"
inkscape:window-x="0"
inkscape:window-y="24"
inkscape:window-maximized="1"
units="px"
inkscape:showpageshadow="false"
showborder="true" />
<metadata
id="metadata3374">
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
@@ -52,17 +58,13 @@
inkscape:label="Calque 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1006.2992)">
<g
id="g3389"
transform="matrix(2,0,0,2,-113.25423,-1027.7513)"
style="fill:#000000">
<path
style="fill:#000000"
d="m 58.892861,1025.291 0,4.5 0,2 c 6.166667,0 12.333334,0 18.5,0 l 0,-2 0,-4.5 -1.999999,0 0,4.5 -14.500001,0 0,-4.5 z"
id="rect3383"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccccccccc" />
</g>
transform="translate(0,-1007.3622)">
<path
style="fill:#cfd2da;fill-opacity:1"
d="m 4.184302,1036.233 c 0,-4.2478 0,-8.4938 0,-12.7416 1.2566829,0 2.5133651,0 3.7700482,0 0,2.6816 0,5.3617 0,8.0421 9.6713188,0 19.3426548,0 29.0139808,0 0,-2.6804 0,-5.3605 0,-8.0421 1.282485,0 2.564912,0 3.847367,0 0,4.2477 0,8.4938 0,12.7416 -12.210478,0 -24.420921,0 -36.631396,0 z"
id="path3347"
inkscape:connector-curvature="0"
inkscape:export-xdpi="179.79413"
inkscape:export-ydpi="179.79413" />
</g>
</svg>

+ 20
- 1
static/index.html View File

@@ -5,7 +5,26 @@
<title>LessPass</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/styles.css">
<link rel="icon" type="image/png" href="https://lesspass.com/images/favicon.png">

<!-- favicons -->
<link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/apple-touch-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.png">
<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/android-chrome-192x192.png" sizes="192x192">
<link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96">
<link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="/manifest.json">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-TileImage" content="/mstile-144x144.png">
<meta name="theme-color" content="#252830">
</head>
<body>
<div id="header">


Loading…
Cancel
Save