Standardizes heading font size calculation

Removes configurable heading and small font sizes, and calculates the heading font size based on the body font size to ensure consistency across templates.
This commit is contained in:
AlexKucera committed 2025-09-03 16:56:53 +02:00
1 parent 26ddbb7f35
commit 8678e110b9
4 files changed
+6 -14

No files matched your search

+1 -3
View File
@@ -68,8 +68,6 @@
// Support for UI-configurable options
heading_font: none,
monospace_font: none,
heading_fontsize: none,
small_fontsize: none,
margin_top: none,
margin_right: none,
margin_bottom: none,
@@ -160,7 +158,7 @@
("SF Pro Text", "Helvetica Neue", "Arial")
}
let heading-fontsize = if heading_fontsize != none { heading_fontsize } else { 15pt }
let heading-fontsize = body-fontsize * 1.5
show heading.where(level: 1): it => block(
width: 100%,