|
@@ -334,6 +334,12 @@
|
|
</a>
|
|
</a>
|
|
</li>
|
|
</li>
|
|
|
|
|
|
|
|
+ <li>
|
|
|
|
+ <a href="#the-web-app-manifest">
|
|
|
|
+ The Web App Manifest
|
|
|
|
+ </a>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
<li>
|
|
<li>
|
|
<a href="#including-a-logo">
|
|
<a href="#including-a-logo">
|
|
Including a logo
|
|
Including a logo
|
|
@@ -393,6 +399,28 @@ theme = "infusion"
|
|
<li><strong>codePenUser</strong> — If you want to embed codePens in your pattern files, you need to supply a codePen username here.</li>
|
|
<li><strong>codePenUser</strong> — If you want to embed codePens in your pattern files, you need to supply a codePen username here.</li>
|
|
</ul>
|
|
</ul>
|
|
|
|
|
|
|
|
+<h2 id="the-web-app-manifest">The Web App Manifest</h2>
|
|
|
|
+
|
|
|
|
+<p><strong>Infusion</strong> libraries work as progressive web applications, meaning users can save them to their home screen and read them offline. The web app manifest, found at the root of the <code>static</code> folder defines names and icons for the app. You’ll probably want to open <code>/static/manifest.json</code> and personalize the <code>name</code> and <code>short_name</code> values.</p>
|
|
|
|
+
|
|
|
|
+<pre><code>{
|
|
|
|
+ "name": "Infusion Pattern Library",
|
|
|
|
+ "short_name": "Infusion",
|
|
|
|
+ "icons": [
|
|
|
|
+ {...
|
|
|
|
+</code></pre>
|
|
|
|
+
|
|
|
|
+<aside aria-label="note" class="note">
|
|
|
|
+ <div>
|
|
|
|
+ <svg aria-hidden="true" viewBox="0 0 41.667306 41.66729">
|
|
|
|
+ <use xlink:href="#info"></use>
|
|
|
|
+ </svg>
|
|
|
|
+ <p>The</p>
|
|
|
|
+
|
|
|
|
+ </div>
|
|
|
|
+</aside>
|
|
|
|
+
|
|
|
|
+
|
|
<h2 id="including-a-logo">Including a logo</h2>
|
|
<h2 id="including-a-logo">Including a logo</h2>
|
|
|
|
|
|
<p>In the <code>images/static</code> folder, you’ll find a <code>logo.svg</code> file. Replace this file with your own company or project logo. Currently, only the SVG is supported this easily because SVG the superior format for logotypes. However, if you must use a different format, you can open up the <code>themes/infusion/layouts/_default/baseof.html</code> file and edit the image reference:</p>
|
|
<p>In the <code>images/static</code> folder, you’ll find a <code>logo.svg</code> file. Replace this file with your own company or project logo. Currently, only the SVG is supported this easily because SVG the superior format for logotypes. However, if you must use a different format, you can open up the <code>themes/infusion/layouts/_default/baseof.html</code> file and edit the image reference:</p>
|