feat: support font selection

This commit is contained in:
Erzbir
2026-08-17 15:49:55 +08:00
parent 4f082af1bf
commit fd72c8cba8
8 changed files with 51 additions and 2 deletions
+5
View File
@@ -73,6 +73,11 @@
--style-theme-title-divider: [(${theme.config.style.title_divider_style})];
}
</style>
<style data-no-pjax th:if="${not #strings.isEmpty(theme.config.style.default_font)}" th:inline="css">
:root {
--family-theme-font: [(${theme.config.style.default_font})];
}
</style>
<script data-no-pjax>
window.TerminalTheme?.applyCustomCss?.();
</script>