From 60dd2159ad24f6f7dafec46510c74ba28815629b Mon Sep 17 00:00:00 2001 From: "Mark Y." Date: Mon, 15 Jun 2026 19:23:47 +0900 Subject: [PATCH] Sync HearthCode 3.1.2 --- manifest.json | 2 +- theme.css | 8 ++++++++ versions.json | 3 ++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index a98ee69..3d4b999 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "HearthCode", - "version": "3.1.1", + "version": "3.1.2", "minAppVersion": "1.0.0", "author": "HearthCode", "authorUrl": "https://theme.hearthcode.dev" diff --git a/theme.css b/theme.css index 29ff354..79f45bd 100644 --- a/theme.css +++ b/theme.css @@ -111,6 +111,10 @@ .theme-dark .markdown-source-view.mod-cm6 .cm-line .cm-comment { color: var(--code-comment); font-style: italic; + /* CJK fonts have no true italic cut; suppress the synthesized fake oblique + (renders upright) while real Latin italic faces still slant. Bold synthesis + is left intact for keywords. */ + font-synthesis-style: none; } .theme-dark .cm-s-obsidian span.cm-keyword, @@ -501,6 +505,10 @@ .theme-light .markdown-source-view.mod-cm6 .cm-line .cm-comment { color: var(--code-comment); font-style: italic; + /* CJK fonts have no true italic cut; suppress the synthesized fake oblique + (renders upright) while real Latin italic faces still slant. Bold synthesis + is left intact for keywords. */ + font-synthesis-style: none; } .theme-light .cm-s-obsidian span.cm-keyword, diff --git a/versions.json b/versions.json index f853ad0..42beb80 100644 --- a/versions.json +++ b/versions.json @@ -27,5 +27,6 @@ "2.1.3": "1.0.0", "3.0.0": "1.0.0", "3.1.0": "1.0.0", - "3.1.1": "1.0.0" + "3.1.1": "1.0.0", + "3.1.2": "1.0.0" }