diff --git a/fonts/inter-400.woff2 b/fonts/inter-400.woff2
new file mode 100644
index 0000000..d15208d
Binary files /dev/null and b/fonts/inter-400.woff2 differ
diff --git a/fonts/jetbrains-400.woff2 b/fonts/jetbrains-400.woff2
new file mode 100644
index 0000000..5858873
Binary files /dev/null and b/fonts/jetbrains-400.woff2 differ
diff --git a/index.html b/index.html
index c774deb..60255b5 100644
--- a/index.html
+++ b/index.html
@@ -6,10 +6,7 @@
xmrpay.link — Monero Invoice Generator
-
-
-
diff --git a/style.css b/style.css
index 9e060ce..7146c5a 100644
--- a/style.css
+++ b/style.css
@@ -1,19 +1,19 @@
@font-face {
- font-family: 'Inter fallback';
- src: local('Arial');
- size-adjust: 107%;
- ascent-override: 90%;
- descent-override: 25%;
- line-gap-override: 0%;
+ font-family: 'Inter';
+ font-style: normal;
+ font-weight: 100 900;
+ font-display: swap;
+ src: url('fonts/inter-400.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
- font-family: 'JetBrains Mono fallback';
- src: local('Courier New');
- size-adjust: 112%;
- ascent-override: 78%;
- descent-override: 22%;
- line-gap-override: 0%;
+ font-family: 'JetBrains Mono';
+ font-style: normal;
+ font-weight: 400;
+ font-display: swap;
+ src: url('fonts/jetbrains-400.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
@@ -28,8 +28,8 @@
--success: #4caf50;
--error: #f44336;
--radius: 8px;
- --font: 'Inter', 'Inter fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
- --mono: 'JetBrains Mono', 'JetBrains Mono fallback', 'Fira Code', monospace;
+ --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
+ --mono: 'JetBrains Mono', 'Fira Code', monospace;
}
* {
@@ -320,7 +320,8 @@ textarea {
}
.btn-primary:disabled {
- opacity: 0.5;
+ background: #804020;
+ color: #ccc;
cursor: not-allowed;
}
diff --git a/sw.js b/sw.js
index 9a56707..7c99159 100644
--- a/sw.js
+++ b/sw.js
@@ -5,8 +5,10 @@ var ASSETS = [
'/app.js',
'/i18n.js',
'/style.css',
- '/lib/qrcode.min.js'
- // xmr-crypto.bundle.js is lazy-loaded and runtime-cached
+ '/lib/qrcode.min.js',
+ '/fonts/inter-400.woff2',
+ '/fonts/jetbrains-400.woff2'
+ // xmr-crypto.bundle.js and jspdf.min.js are lazy-loaded and runtime-cached
];
self.addEventListener('install', function (e) {