Skip to content

Commit

Permalink
💄Dark主题自定义emoji图片不添加白色背景
Browse files Browse the repository at this point in the history
  • Loading branch information
Achuan-2 committed Oct 20, 2024
1 parent 3cc5514 commit 5362b1d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## v2.3.0 / 2024.10.20
- 💄Dark主题自定义emoji图片不添加白色背景

## v2.2.9 / 2024.10.12
- 💄 消息已读按钮取消背景色
- 💄 更改blockquote样式
Expand Down
2 changes: 1 addition & 1 deletion style/theme/Tsundoku_dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "積読"
Expand Down

0 comments on commit 5362b1d

Please sign in to comment.