Skip to content

Commit b0e0f47

Browse files
committed
Deploying to gh-pages from @ 13bbefb 🚀
1 parent b069f07 commit b0e0f47

10 files changed

+81
-3
lines changed

bundle/initial.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

images/pwa-icon-512.png

9.44 KB
Loading

images/screenshots/dark-1.jpg

46.2 KB
Loading

images/screenshots/dark-2.jpg

32.2 KB
Loading

images/screenshots/light-1.jpg

49 KB
Loading

images/screenshots/light-2.jpg

34.3 KB
Loading

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<title>Runic - The Tunic Translation Tool</title>
77

88
<!-- Initial Script -->
9-
<script type="module">function n(){window.matchMedia("(prefers-color-scheme: dark)").matches?document.documentElement.classList.remove("light-theme"):document.documentElement.classList.add("light-theme")}function a(){var t;let o=window.matchMedia("(prefers-color-scheme: dark)");n(),(t=o.addEventListener)==null||t.call(o,"change",n)}function e(){"serviceWorker"in navigator&&navigator.serviceWorker.register("./service-worker.js")}(function(){e(),a()})();</script>
9+
<script type="module">function n(){let o=document.head.querySelector('link[rel="manifest"]');if(o)return o;let t=document.createElement("link");return t.rel="manifest",document.head.appendChild(t),t}function e(){window.matchMedia("(prefers-color-scheme: dark)").matches?(document.documentElement.classList.remove("light-theme"),n().setAttribute("href","manifest-dark.json")):(document.documentElement.classList.add("light-theme"),n().setAttribute("href","manifest-light.json"))}function a(){var t;let o=window.matchMedia("(prefers-color-scheme: dark)");e(),(t=o.addEventListener)==null||t.call(o,"change",e)}function f(){"serviceWorker"in navigator&&navigator.serviceWorker.register("./service-worker.js")}(function(){f(),a()})();</script>
1010
<!-- Initial CSS -->
1111
<style>@font-face{font-family:Nunito;font-style:italic;font-weight:200 1000;font-display:swap;src:url(https://fonts.gstatic.com/s/nunito/v26/XRXX3I6Li01BKofIMNaORs71cA.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito;font-style:italic;font-weight:200 1000;font-display:swap;src:url(https://fonts.gstatic.com/s/nunito/v26/XRXX3I6Li01BKofIMNaHRs71cA.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Nunito;font-style:italic;font-weight:200 1000;font-display:swap;src:url(https://fonts.gstatic.com/s/nunito/v26/XRXX3I6Li01BKofIMNaNRs71cA.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito;font-style:italic;font-weight:200 1000;font-display:swap;src:url(https://fonts.gstatic.com/s/nunito/v26/XRXX3I6Li01BKofIMNaDRs4.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Nunito;font-style:normal;font-weight:200 1000;font-display:swap;src:url(https://fonts.gstatic.com/s/nunito/v26/XRXV3I6Li01BKofIOOaBXso.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito;font-style:normal;font-weight:200 1000;font-display:swap;src:url(https://fonts.gstatic.com/s/nunito/v26/XRXV3I6Li01BKofIMeaBXso.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Nunito;font-style:normal;font-weight:200 1000;font-display:swap;src:url(https://fonts.gstatic.com/s/nunito/v26/XRXV3I6Li01BKofIO-aBXso.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito;font-style:normal;font-weight:200 1000;font-display:swap;src:url(https://fonts.gstatic.com/s/nunito/v26/XRXV3I6Li01BKofINeaB.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Petrona;font-style:italic;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/petrona/v32/mtG44_NXL7bZo9XXgXdouEMV4CU.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Petrona;font-style:italic;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/petrona/v32/mtG44_NXL7bZo9XXgXdouUMV4CU.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Petrona;font-style:italic;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/petrona/v32/mtG44_NXL7bZo9XXgXdot0MV.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Petrona;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/petrona/v32/mtG64_NXL7bZo9XXgXxYtVsR.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Petrona;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/petrona/v32/mtG64_NXL7bZo9XXgXJYtQ.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Noto Sans Mono;font-style:normal;font-weight:100 900;font-stretch:100%;font-display:swap;src:url(https://fonts.gstatic.com/s/notosansmono/v30/BngcUXNETWXI6LwhGYvaxZikqZqK6fBq6kPvUce2oAZ2d_Cj7dc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Noto Sans Mono;font-style:normal;font-weight:100 900;font-stretch:100%;font-display:swap;src:url(https://fonts.gstatic.com/s/notosansmono/v30/BngcUXNETWXI6LwhGYvaxZikqZqK6fBq6kPvUce2oAZ2fvCj7dc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Noto Sans Mono;font-style:normal;font-weight:100 900;font-stretch:100%;font-display:swap;src:url(https://fonts.gstatic.com/s/notosansmono/v30/BngcUXNETWXI6LwhGYvaxZikqZqK6fBq6kPvUce2oAZ2dvCj7dc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Noto Sans Mono;font-style:normal;font-weight:100 900;font-stretch:100%;font-display:swap;src:url(https://fonts.gstatic.com/s/notosansmono/v30/BngcUXNETWXI6LwhGYvaxZikqZqK6fBq6kPvUce2oAZ2efCj7dc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Noto Sans Mono;font-style:normal;font-weight:100 900;font-stretch:100%;font-display:swap;src:url(https://fonts.gstatic.com/s/notosansmono/v30/BngcUXNETWXI6LwhGYvaxZikqZqK6fBq6kPvUce2oAZ2dPCj7dc.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Noto Sans Mono;font-style:normal;font-weight:100 900;font-stretch:100%;font-display:swap;src:url(https://fonts.gstatic.com/s/notosansmono/v30/BngcUXNETWXI6LwhGYvaxZikqZqK6fBq6kPvUce2oAZ2evCj.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}*{box-sizing:border-box}:root{--surface-0: black;--on-surface-0: #cccccc;--on-surface-0-alt: #bfbfbf;--surface-1: #121212;--surface-1-border: #242424;--surface-2: #242424;--surface-2-border: #363636;--link-color: orange;--button-bkg: crimson}:root.light-theme{--surface-0: white;--on-surface-0: black;--on-surface-0-alt: #242424;--surface-1: #f2f2f2;--surface-1-border: #cecece;--surface-2: #dfdfdf;--surface-2-border: #cccccc;--button-bkg: hsl(348, 100%, 65%)}:root{font-family:var(--sans-serif-font);font-weight:400;color:var(--on-surface-0);--serif-font: "Petrona", serif;--sans-serif-font: "Nunito", sans-serif;--monospace-font: "Noto Sans Mono", monospace;--article-width: 1280px;--section-width: 960px}:root{font-size:1.25em}@media (min-width: 1024px){:root{font-size:1.5em}}body{position:relative;margin:0;padding:1em;background-color:var(--surface-0)}header{text-align:center}article{max-width:var(--article-width);margin:3em auto}section,footer{max-width:var(--section-width);margin:auto}h1,h2,h3,h4,h5,h6{font-family:var(--serif-font);text-transform:capitalize}section .section-banner{max-width:100%;max-height:5em}section>p{text-align:center;text-wrap:balance;color:var(--on-surface-0-alt);margin:1.33em 0}textarea{font-family:var(--monospace-font)}button{color:#000;font:inherit;padding:.5em;border-radius:.5em;background-color:var(--button-bkg);border:2px solid var(--surface-2-border);font-weight:900;cursor:pointer}a{font-weight:700;color:var(--link-color);text-underline-offset:.2em}footer{border-top:2px solid var(--surface-1-border)}b{font-weight:700}.introduction-article p{color:var(--on-surface-0)}.fancy-orb-background{position:absolute;top:0;left:0;width:100%;height:100%;z-index:-1;overflow:hidden;opacity:.2}.fancy-orb-background{background-image:linear-gradient(to bottom,transparent,crimson,transparent,palegreen,transparent,cornflowerblue,transparent)}.orb{display:none}@media (min-width: 1024px){.fancy-orb-background{background-image:none}.orb{display:block;position:absolute;transform:translate(-50%,-50%);height:33%;aspect-ratio:1 / 1;border-radius:100%;background-color:var(--orb-color, crimson);filter:blur(20em)}.orb-red{top:16.5%;left:10%;--orb-x: 10em;--orb-color: crimson}.orb-green{top:49.5%;left:90%;--orb-color: palegreen}.orb-blue{top:82.5%;left:10%;--orb-color: cornflowerblue}}</style>
1212

manifest-dark.json

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"short_name": "Runic",
3+
"name": "Runic",
4+
"description": "The ultimate Tunic translator tool - translate, write and share text in the Tunic language!",
5+
"start_url": "/",
6+
"background_color": "#000000",
7+
"display": "standalone",
8+
"theme_color": "#000000",
9+
"icons": [
10+
{
11+
"src": "./images/pwa-icon-512.png",
12+
"type": "image/png",
13+
"sizes": "512x512",
14+
"purpose": "any"
15+
},
16+
{
17+
"src": "./images/pwa-icon-512.png",
18+
"type": "image/png",
19+
"sizes": "512x512",
20+
"purpose": "maskable"
21+
}
22+
],
23+
"screenshots": [
24+
{
25+
"src": "/images/screenshots/dark-1.jpg",
26+
"type": "image/jpeg",
27+
"sizes": "541x1201",
28+
"form_factor": "narrow",
29+
"label": "App on mobile (1)"
30+
},
31+
{
32+
"src": "/images/screenshots/dark-2.jpg",
33+
"type": "image/jpeg",
34+
"sizes": "541x1201",
35+
"form_factor": "narrow",
36+
"label": "App on mobile (2)"
37+
}
38+
]
39+
}

manifest-light.json

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"short_name": "Runic",
3+
"name": "Runic",
4+
"description": "The ultimate Tunic translator tool - translate, write and share text in the Tunic language!",
5+
"start_url": "/",
6+
"background_color": "#ffffff",
7+
"display": "standalone",
8+
"theme_color": "#ffffff",
9+
"icons": [
10+
{
11+
"src": "./images/pwa-icon-512.png",
12+
"type": "image/png",
13+
"sizes": "512x512",
14+
"purpose": "any"
15+
},
16+
{
17+
"src": "./images/pwa-icon-512.png",
18+
"type": "image/png",
19+
"sizes": "512x512",
20+
"purpose": "maskable"
21+
}
22+
],
23+
"screenshots": [
24+
{
25+
"src": "/images/screenshots/light-1.jpg",
26+
"type": "image/jpeg",
27+
"sizes": "541x1201",
28+
"form_factor": "narrow",
29+
"label": "App on mobile (1)"
30+
},
31+
{
32+
"src": "/images/screenshots/light-2.jpg",
33+
"type": "image/jpeg",
34+
"sizes": "541x1201",
35+
"form_factor": "narrow",
36+
"label": "App on mobile (2)"
37+
}
38+
]
39+
}

service-worker.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)