@remit/web-client 0.0.126 → 0.0.127

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,6 +4,21 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>Remit</title>
7
+ <!--
8
+ Installability. This is the template the shipped image builds from; the
9
+ package's top-level index.html is the dev server's and carries the same
10
+ tags. The two theme colours are the light and dark --canvas tokens from
11
+ packages/ui/src/tokens.css.
12
+ -->
13
+ <link rel="manifest" href="/manifest.webmanifest" />
14
+ <link rel="apple-touch-icon" href="/apple-touch-icon.png" />
15
+ <link rel="icon" href="/favicon.ico" sizes="16x16 32x32" />
16
+ <link rel="icon" href="/icons/icon-192.png" type="image/png" sizes="192x192" />
17
+ <meta name="apple-mobile-web-app-capable" content="yes" />
18
+ <meta name="apple-mobile-web-app-title" content="Remit" />
19
+ <meta name="apple-mobile-web-app-status-bar-style" content="default" />
20
+ <meta name="theme-color" media="(prefers-color-scheme: light)" content="#f6f2e7" />
21
+ <meta name="theme-color" media="(prefers-color-scheme: dark)" content="#0c1d23" />
7
22
  <!--
8
23
  Pre-paint theme to avoid a flash-of-wrong-theme on reload. Mirrors
9
24
  theme-preference.ts: a stored "remit.theme" of "light"/"dark" wins;
package/index.html CHANGED
@@ -5,13 +5,20 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>Remit</title>
7
7
  <!--
8
- Hint the browser to start the TLS handshake to API Gateway in parallel
9
- with the JS bundle download. Saves ~150-300ms before the first /config
10
- request fires. Hardcoded to the prod API origin; in local dev this
11
- preconnect is harmless (it's just a hint and the dev API is proxied
12
- through the Vite server).
8
+ Installability. Keep in sync with harness/index.html, which is the
9
+ template the shipped image builds from: this one is the dev server's.
10
+ The two theme colours are the light and dark --canvas tokens from
11
+ packages/ui/src/tokens.css.
13
12
  -->
14
- <link rel="preconnect" href="https://cr0f00ych7.execute-api.eu-west-1.amazonaws.com" crossorigin />
13
+ <link rel="manifest" href="/manifest.webmanifest" />
14
+ <link rel="apple-touch-icon" href="/apple-touch-icon.png" />
15
+ <link rel="icon" href="/favicon.ico" sizes="16x16 32x32" />
16
+ <link rel="icon" href="/icons/icon-192.png" type="image/png" sizes="192x192" />
17
+ <meta name="apple-mobile-web-app-capable" content="yes" />
18
+ <meta name="apple-mobile-web-app-title" content="Remit" />
19
+ <meta name="apple-mobile-web-app-status-bar-style" content="default" />
20
+ <meta name="theme-color" media="(prefers-color-scheme: light)" content="#f6f2e7" />
21
+ <meta name="theme-color" media="(prefers-color-scheme: dark)" content="#0c1d23" />
15
22
  <!--
16
23
  Pre-paint theme to avoid a flash-of-wrong-theme on reload. Mirrors
17
24
  theme-preference.ts: a stored "remit.theme" of "light"/"dark" wins;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/web-client",
3
- "version": "0.0.126",
3
+ "version": "0.0.127",
4
4
  "type": "module",
5
5
  "description": "Remit web client, published as composable primitives — the app shell, auth shells, and runtime config. A distributor imports what it composes and bundles it.",
6
6
  "exports": {
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,34 @@
1
+ {
2
+ "id": "/",
3
+ "name": "Remit",
4
+ "short_name": "Remit",
5
+ "description": "An email client you run yourself.",
6
+ "start_url": "/",
7
+ "scope": "/",
8
+ "display": "standalone",
9
+ "lang": "en",
10
+ "dir": "ltr",
11
+ "categories": ["productivity"],
12
+ "background_color": "#f5f5bd",
13
+ "theme_color": "#0c1d23",
14
+ "icons": [
15
+ {
16
+ "src": "/icons/icon-192.png",
17
+ "sizes": "192x192",
18
+ "type": "image/png",
19
+ "purpose": "any"
20
+ },
21
+ {
22
+ "src": "/icons/icon-512.png",
23
+ "sizes": "512x512",
24
+ "type": "image/png",
25
+ "purpose": "any"
26
+ },
27
+ {
28
+ "src": "/icons/icon-maskable-512.png",
29
+ "sizes": "512x512",
30
+ "type": "image/png",
31
+ "purpose": "maskable"
32
+ }
33
+ ]
34
+ }