feat: add line height setting

This commit is contained in:
Erzbir
2026-08-09 00:07:10 +08:00
parent 8f3592d1b4
commit d9c4744b3a
4 changed files with 35 additions and 2 deletions
+10
View File
@@ -23,6 +23,16 @@
--size-theme-font: [(${theme.config.style.font_size})];
}
</style>
<style no-pjax th:if="${not #strings.isEmpty(theme.config.style.line_height)}" th:inline="css">
:root {
--height-theme-line: [(${theme.config.style.line_height})];
}
</style>
<style no-pjax th:if="${not #strings.isEmpty(theme.config.style.post_paragraph_spacing)}" th:inline="css">
:root {
--spacing-theme-post-paragraph: [(${theme.config.style.post_paragraph_spacing})];
}
</style>
<style no-pjax th:if="${not #strings.isEmpty(theme.config.style.content_padding)}" th:inline="css">
:root {
--spacing-theme-container-padding: [(${theme.config.style.content_padding})];