feat: add font size setting

This commit is contained in:
Erzbir
2026-06-15 22:23:34 +08:00
parent cf1c3ec085
commit 99a04beb11
2 changed files with 12 additions and 0 deletions
+5
View File
@@ -142,6 +142,11 @@
--width-theme-media-max: [(${theme.config.style.media_max_width})];
}
</style>
<style no-pjax th:if="${not #strings.isEmpty(theme.config.style.font_size)}" th:inline="css">
:root {
--size-theme-font: [(${theme.config.style.font_size})];
}
</style>
<script no-pjax>
window.TerminalTheme?.applyCustomCss?.();
</script>