This commit is contained in:
2025-02-23 23:23:06 +08:00
parent e275da04ee
commit 73ad304863
2 changed files with 3 additions and 3 deletions

View File

@@ -11,12 +11,12 @@
</n-tab-pane>
<n-tab-pane name="actions" tab="选项">
<n-flex vertical class="wrapper">
<!-- <n-flex align="center">
<n-flex align="center">
<span class="label">主题</span>
<n-button @click="toggleDark()">
{{ isDark ? "浅色" : "深色" }}
</n-button>
</n-flex> -->
</n-flex>
<n-flex align="center">
<span class="label">重置</span>
<n-button @click="reset('html')">HTML</n-button>

View File

@@ -19,7 +19,7 @@ export function reset(lang: "html" | "css" | "js") {
}
}
export const size = useStorage("web-fontsize", 14)
export const size = useStorage("web-fontsize", 24)
export function changeSize(num: number) {
size.value = num
}