fix: 统一十四套主题DOCX字体映射

This commit is contained in:
SkyJourney
2026-08-03 12:47:14 +08:00
parent 6a6972ae48
commit 9dee7e8605
23 changed files with 325 additions and 63 deletions
+4 -4
View File
@@ -114,7 +114,7 @@ h4 {
*/
body {
font-family: "Merriweather", "PT Serif", Georgia, "Times New Roman", "STSong", 'Segoe UI Emoji','SF Pro', Serif;
font-family: "Merriweather", "FandolSong", "PT Serif", Georgia, "Times New Roman", "STSong", 'Segoe UI Emoji','SF Pro', Serif;
line-height: 1.5rem;
font-weight: 400;
}
@@ -236,7 +236,7 @@ h5,
.h5,
h6,
.h6 {
font-family: "Lato", 'Helvetica Neue', Helvetica, sans-serif;
font-family: "Lato", "FandolHei", 'Helvetica Neue', Helvetica, sans-serif;
font-weight: bold;
line-height: 1.2;
margin: 1em 0 0.5em;
@@ -345,7 +345,7 @@ a {
line-height: 1.5em;
color: #7a7a7a;
background-color: #fafafa;
font-family: 'Lato', 'Helvetica Neue', Helvetica, sans-serif;
font-family: 'Lato', "FandolHei", 'Helvetica Neue', Helvetica, sans-serif;
font-weight: 300;
clear: both;
padding-left: 0;
@@ -358,7 +358,7 @@ a {
font-size:1.1rem;
}
.md-tag {
font-family: 'Lato', 'Helvetica Neue', Helvetica, sans-serif;
font-family: 'Lato', "FandolHei", 'Helvetica Neue', Helvetica, sans-serif;
}
.code-tooltip {
background: white;
+85
View File
@@ -21,5 +21,90 @@
"docxStyle": {
"preset": "general"
},
"docxFonts": {
"faces": [
{
"family": "Merriweather",
"aliases": ["PT Serif", "Georgia", "Times New Roman"],
"source": "pixyll/merriweather-v19-latin-300.woff",
"weight": 300,
"license": "OFL-1.1"
},
{
"family": "Merriweather",
"aliases": ["PT Serif", "Georgia", "Times New Roman"],
"source": "pixyll/merriweather-v19-latin-300italic.woff",
"weight": 300,
"style": "italic",
"license": "OFL-1.1"
},
{
"family": "Merriweather",
"aliases": ["PT Serif", "Georgia", "Times New Roman"],
"source": "pixyll/merriweather-v19-latin-700.woff",
"weight": 700,
"license": "OFL-1.1"
},
{
"family": "Merriweather",
"aliases": ["PT Serif", "Georgia", "Times New Roman"],
"source": "pixyll/merriweather-v19-latin-700italic.woff",
"weight": 700,
"style": "italic",
"license": "OFL-1.1"
},
{
"family": "Lato",
"aliases": ["Helvetica Neue", "Helvetica", "Arial"],
"source": "pixyll/lato-v14-latin-300.woff",
"weight": 300,
"license": "OFL-1.1"
},
{
"family": "Lato",
"aliases": ["Helvetica Neue", "Helvetica", "Arial"],
"source": "pixyll/lato-v14-latin-300italic.woff",
"weight": 300,
"style": "italic",
"license": "OFL-1.1"
},
{
"family": "Lato",
"aliases": ["Helvetica Neue", "Helvetica", "Arial"],
"source": "pixyll/lato-v14-latin-900.woff",
"weight": 900,
"license": "OFL-1.1"
},
{
"family": "Lato",
"aliases": ["Helvetica Neue", "Helvetica", "Arial"],
"source": "pixyll/lato-v14-latin-900italic.woff",
"weight": 900,
"style": "italic",
"license": "OFL-1.1"
},
{
"family": "FandolSong",
"aliases": ["STSong", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun"],
"source": "theme-shared:official-fonts/FandolSong-Regular.woff2",
"weight": 400,
"license": "GPL-3.0-or-later WITH Font-exception-2.0"
},
{
"family": "FandolSong",
"aliases": ["STSong", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun"],
"source": "theme-shared:official-fonts/FandolSong-Bold.woff2",
"weight": 700,
"license": "GPL-3.0-or-later WITH Font-exception-2.0"
},
{
"family": "FandolHei",
"aliases": ["Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei"],
"source": "theme-shared:official-fonts/FandolHei-Regular.woff2",
"weight": 400,
"license": "GPL-3.0-or-later WITH Font-exception-2.0"
}
]
},
"bundled": true
}