diff --git a/settings.yaml b/settings.yaml
index f5ba4e8..a4e6956 100644
--- a/settings.yaml
+++ b/settings.yaml
@@ -58,6 +58,13 @@ spec:
placeholder: "60%"
help: 控制文章内容中图片、视频、figure 的最大宽度, 留空使用主题默认值
+ - $formkit: text
+ label: 基础字体大小
+ name: font_size
+ value:
+ placeholder: "1rem"
+ help: 控制全站基础字体大小, 例如 16px、1rem、18px, 留空使用主题默认值
+
- $formkit: checkbox
label: 使用系统字体
name: system_font_enable
diff --git a/templates/modules/layout.html b/templates/modules/layout.html
index c347611..c6be95c 100644
--- a/templates/modules/layout.html
+++ b/templates/modules/layout.html
@@ -142,6 +142,11 @@
--width-theme-media-max: [(${theme.config.style.media_max_width})];
}
+