feat: add option to use system font
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<title th:text="${title}"></title>
|
||||
<script no-pjax th:inline="javascript">
|
||||
let system_font = /*[[${theme.config.style.system_font}]]*/;
|
||||
document.documentElement.setAttribute("system_font", system_font);
|
||||
</script>
|
||||
<script no-pjax th:inline="javascript">
|
||||
let dark_theme = /*[[${theme.config.style.dark_color_schema}]]*/;
|
||||
let light_theme = /*[[${theme.config.style.light_color_schema}]]*/;
|
||||
|
||||
Reference in New Issue
Block a user