From e254a51995fc69402d1361dcaedf17e456e7f1da Mon Sep 17 00:00:00 2001 From: Tron Date: Tue, 16 Jan 2024 17:42:45 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20v1.9.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 38 ++++++++++++++++++++++++++++++++++++++ README.md | 23 +++++++++++++++++------ README_zh_CN.md | 25 +++++++++++++++++++------ theme.json | 2 +- 4 files changed, 75 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f70c73..8d1dff1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,41 @@ +## v1.9.3 / 2023.01.16 +- 🐛 fix(字体自定义): 修复Green主题和Dark主题不支持代码片段中的字体自定义 + 现在主题可以通过把字体放在plugins文件夹下,并在代码片段如下片段,设置全局字体,并且手机端也能使用该字体了 + ```css + @font-face { + font-family: "汉仪空山楷"; + font-style: normal; + src: url("plugins/custom-fonts/汉仪空山楷.ttf"); + } + + :root { + --b3-font-family: "汉仪空山楷", "Helvetica Neue", "Luxi Sans", "DejaVu Sans", "Hiragino Sans GB", "Microsoft Yahei", "sans-serif", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols"; + + } + ``` +- 🐛 fix(数据库): 数据库选中单元格不显示背景色 +- 🐛 fix(Dark主题): 修复没有加载特定link icon和代码块样式 +- 💄 ui(外观): 修改 b3-theme-primary-lightest 颜色 + +--- + +- 🐛 fix (font customization): Fixed the issue where the Green and Dark themes did not support font customization in code snippets. Now, the themes can support global font settings by placing the font in the plugins folder and using the following code snippet, allowing the font to be used on mobile devices as well: + ```css + @font-face { + font-family: "HanYiKongShanKai"; + font-style: normal; + src: url("plugins/custom-fonts/HanYiKongShanKai.ttf"); + } + + :root { + --b3-font-family: "HanYiKongShanKai", "Helvetica Neue", "Luxi Sans", "DejaVu Sans", "Hiragino Sans GB", "Microsoft Yahei", "sans-serif", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols"; + } + ``` +- 🐛 fix (database): Fixed the issue where the selected cell in the database did not display the background color. +- 🐛 fix (Dark theme): Fixed the issue where specific link icons and code block styles were not loaded. +- 💄 ui (appearance): Modified the color of `b3-theme-primary-lightest`. + + ## v1.9.2 / 2023.01.14 * 💄列表竖线颜色调整,适配导出pdf diff --git a/README.md b/README.md index ed0d419..ed279b2 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,23 @@ English | [中文](./README_zh_CN.md) ## 🚀 CHANGLOGS + v1.9.3 / 2023.01.16 +- 🐛 fix (font customization): Fixed the issue where the Green and Dark themes did not support font customization in code snippets. Now, the themes can support global font settings by placing the font in the plugins folder and using the following code snippet, allowing the font to be used on mobile devices as well: + ```css + @font-face { + font-family: "HanYiKongShanKai"; + font-style: normal; + src: url("plugins/custom-fonts/HanYiKongShanKai.ttf"); + } + + :root { + --b3-font-family: "HanYiKongShanKai", "Helvetica Neue", "Luxi Sans", "DejaVu Sans", "Hiragino Sans GB", "Microsoft Yahei", "sans-serif", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols"; + } + ``` +- 🐛 fix (database): Fixed the issue where the selected cell in the database did not display the background color. +- 🐛 fix (Dark theme): Fixed the issue where specific link icons and code block styles were not loaded. +- 💄 ui (appearance): Modified the color of `b3-theme-primary-lightest`. + v1.9.2 / 2023.01.14 * 💄 Adjusted the color of the vertical lines in the list to adapt for PDF export. * 🎨 Placed export styles in print.css @@ -41,11 +58,6 @@ v1.9.0 / 2023.01.07 - 💄 ui(custom colors): Adjusted color matching - 💄 ui(title): Changed the style, modified the background color, added some shadows, and included a title prompt for savor -v1.8.9 / 2024.01.04 -- 💄 ui(title): Increased spacing above and below -- 💄 ui(blockquote): Made font color bolder -- 💄 ui(database): Default buttons are not hidden - Please see [CHANGELOG](./CHANGELOG.md) for the full update log. @@ -109,7 +121,6 @@ I use this name to wake myself up, hoping to make good use of Siyuan notes, help | f | kb | Convert list to kanban board | Ref: Notion theme | | f | dt | Convert list to mind map | Ref: Notion theme | | f | dg | Convert list to table | Ref: Notion theme | - | f | full | Set table width to page width | Ref: Notion theme | | f | biaotou | Remove bold formatting from table headers | Ref: Notion theme | diff --git a/README_zh_CN.md b/README_zh_CN.md index 7daeada..8fe472a 100644 --- a/README_zh_CN.md +++ b/README_zh_CN.md @@ -30,6 +30,25 @@ ## 🚀最近更新 +v1.9.3 / 2023.01.16 +- 🐛 fix(字体自定义): 修复Green主题和Dark主题不支持代码片段中的字体自定义 + 现在主题可以通过把字体放在plugins文件夹下,并在代码片段如下片段,设置全局字体,并且手机端也能使用该字体了 + ```css + @font-face { + font-family: "汉仪空山楷"; + font-style: normal; + src: url("plugins/custom-fonts/汉仪空山楷.ttf"); + } + + :root { + --b3-font-family: "汉仪空山楷", "Helvetica Neue", "Luxi Sans", "DejaVu Sans", "Hiragino Sans GB", "Microsoft Yahei", "sans-serif", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols"; + + } + ``` +- 🐛 fix(数据库): 数据库选中单元格不显示背景色 +- 🐛 fix(Dark主题): 修复没有加载特定link icon和代码块样式 +- 💄 ui(外观): 修改 b3-theme-primary-lightest 颜色 + v1.9.2 / 2023.01.14 * 💄列表竖线颜色调整,适配导出pdf * 🎨 导出样式放在print.css @@ -41,11 +60,6 @@ v1.9.0 / 2023.01.07 - 💄 ui(自定义颜色): 调整配色 - 💄 ui( 标题): 更改样式,改了下背景色、添加了一点阴影、添加了savor的标题提示 -v1.8.9 / 2024.01.04 -- 💄 ui( 标题): 上下增加间距 -- 💄 ui(blockquote): 字体颜色调粗 -- 💄 ui(数据库): 默认不隐藏按钮 - 全部更新日志请见 [CHANGELOG](./CHANGELOG.md) @@ -110,7 +124,6 @@ Tsundoku “積 ん 読”是日语里的一个词,维基百科是这样解释 | f | kb | 列表转看板 | Ref:notion主题 | | f | dt | 列表转脑图 | Ref:notion主题 | | f | dg | 列表转表格 | Ref:notion主题 | - | f | full | 表格宽度为页面宽度 | Ref:notion主题 | | f | biaotou | 表格表头不加粗 | Ref:notion主题 | - 自定义文档属性 diff --git a/theme.json b/theme.json index 8ff9b66..b1bda67 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": "1.9.2", + "version": "1.9.3", "displayName": { "default": "Tsundoku", "zh_CN": "積読"