blob: fab2da58e688092e05c82e88fa2e2ffcba6a0683 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Packet Warriors favicon package
This package uses the approved Packet Warriors master geometry on a full-bleed Carbon `#171715` field. The opaque square background is intentional: browsers, mail clients and favicon services can apply their own corner or circular masks without leaving the mark unsupported on an unknown background.
Copy these files to the website root:
- `packet-warriors-favicon.svg` as `favicon.svg`
- `favicon.ico`
- `favicon-16x16.png`
- `favicon-32x32.png`
- `apple-touch-icon-180x180.png` as `apple-touch-icon.png`
Use the following declarations in the document `<head>`:
```html
<link rel="icon" href="/favicon.ico">
<link rel="icon" href="/favicon.svg" type="image/svg+xml" sizes="any">
<link rel="icon" href="/favicon-32x32.png" type="image/png" sizes="32x32">
<link rel="icon" href="/favicon-16x16.png" type="image/png" sizes="16x16">
<link rel="apple-touch-icon" href="/apple-touch-icon.png" sizes="180x180">
```
Keep the root `favicon.ico` even when SVG is declared. Some mail clients, feed readers and favicon services request `/favicon.ico` directly without parsing the page. The ICO contains 16, 32 and 48 pixel images.
Regenerate the package with `python3 tools/build_logo_assets.py` from the style-guide root.
|