From 5362b1d4f2821a96138f7c8d2573c58fb2d9dd46 Mon Sep 17 00:00:00 2001 From: Tron Date: Sun, 20 Oct 2024 20:52:31 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84Dark=E4=B8=BB=E9=A2=98=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89emoji=E5=9B=BE=E7=89=87=E4=B8=8D=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E7=99=BD=E8=89=B2=E8=83=8C=E6=99=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 3 +++ style/theme/Tsundoku_dark.css | 2 +- theme.json | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c03bd4c..3ee0451 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## v2.3.0 / 2024.10.20 +- 💄Dark主题自定义emoji图片不添加白色背景 + ## v2.2.9 / 2024.10.12 - 💄 消息已读按钮取消背景色 - 💄 更改blockquote样式 diff --git a/style/theme/Tsundoku_dark.css b/style/theme/Tsundoku_dark.css index 3bd1d26..21014e6 100644 --- a/style/theme/Tsundoku_dark.css +++ b/style/theme/Tsundoku_dark.css @@ -793,7 +793,7 @@ div[data-subtype='t'][data-type='NodeList'] { /* dark 主题图片背景设置为白色,防止透明图片难以看清内容 */ .b3-typography img, -.protyle-wysiwyg img { +.protyle-wysiwyg img:not(.emoji) { max-width: 100%; background-color: #fff; } diff --git a/theme.json b/theme.json index 6ccf1b7..0ca46ec 100644 --- a/theme.json +++ b/theme.json @@ -2,7 +2,7 @@ "name": "Tsundoku", "author": "Achuan-2", "url": "https://github.com/Achuan-2/siyuan-themes-tsundoku", - "version": "2.2.9", + "version": "2.3.0", "displayName": { "default": "Tsundoku", "zh_CN": "積読"