@@ -61,6 +70,40 @@ const locales = [
size="small"
/>
+
+
+
+
+ {{ Math.round(appStore.zoom * 100) }}%
+
+
+
+
+
+
+
+
@@ -89,4 +132,10 @@ const locales = [
color: var(--text-secondary);
min-width: 140px;
}
+
+.zoom-value {
+ font-size: 12px;
+ color: var(--text-muted);
+ min-width: 40px;
+}
diff --git a/src/i18n/locales/en.ts b/src/i18n/locales/en.ts
index ca1aa4f..cd4f13a 100644
--- a/src/i18n/locales/en.ts
+++ b/src/i18n/locales/en.ts
@@ -299,5 +299,7 @@ export default {
language: 'Language',
scanCount: 'Keys per SCAN',
fontSize: 'Font Size',
+ zoom: 'Page Zoom',
+ fontFamily: 'Monospace Font',
},
}
diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts
index 03da5b7..2f11dc3 100644
--- a/src/i18n/locales/zh-CN.ts
+++ b/src/i18n/locales/zh-CN.ts
@@ -299,5 +299,7 @@ export default {
language: '语言',
scanCount: 'SCAN 每次数量',
fontSize: '字体大小',
+ zoom: '页面缩放',
+ fontFamily: '等宽字体',
},
}
diff --git a/src/stores/app.ts b/src/stores/app.ts
index 8416d01..ff44c58 100644
--- a/src/stores/app.ts
+++ b/src/stores/app.ts
@@ -9,6 +9,8 @@ export const useAppStore = defineStore('app', () => {
const isDark = ref(true)
const fontSize = ref