style(webui): refine Markdown reading typography (#6568)

* style(webui): refine Markdown reading typography

* fix(webui): stabilize composer and typography checks
This commit is contained in:
chengyongru authored and GitHub committed 2026-11-05 15:54:17 +08:00
1 parent 0c92d5bb03
commit e6127aa324
17 files changed
+307 -100

No files matched your search

+2 -2
View File
@@ -30,8 +30,8 @@ export default {
"control-label": ["0.875rem", { lineHeight: "1.25rem", fontWeight: "500" }],
caption: ["0.75rem", { lineHeight: "1.125rem", fontWeight: "400" }],
title: ["1.25rem", { lineHeight: "1.75rem", fontWeight: "600" }],
reading: ["var(--text-reading-size)", { lineHeight: "var(--cjk-line-height)", fontWeight: "400" }],
"reading-small": ["calc(var(--text-reading-size) * 0.875)", { lineHeight: "var(--cjk-line-height)", fontWeight: "400" }],
reading: ["var(--text-reading-size)", { lineHeight: "var(--reading-line-height)", fontWeight: "400" }],
"reading-small": ["calc(var(--text-reading-size) * 0.875)", { lineHeight: "var(--reading-line-height)", fontWeight: "400" }],
code: ["var(--text-code-size)", { lineHeight: "1.6", fontWeight: "400" }],
"code-dense": ["var(--text-code-dense-size)", { lineHeight: "1.6", fontWeight: "400" }],
composer: ["max(16px, var(--text-reading-size))", { lineHeight: "1.5", fontWeight: "400" }],