Skip to content

Commit

Permalink
🔖 v2.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Achuan-2 committed May 7, 2024
1 parent 10c6717 commit 1ebc67f
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 27 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## v2.0.8 / 2024.05.07
- 💄 修改卡片字体和背景色样式

## v2.0.8 / 2024.05.06
- ✨ 代码块设置最大高度优化:适配行号

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ English | [中文](./README_zh_CN.md)

![](preview.png)

>If you like this topic, welcome to [AFDIAN]https://afdian.net/a/achuan-2 to sponsor me, it will motivate me to update and improve this theme
>If you like this topic, welcome to [AFDIAN](https://afdian.net/a/achuan-2 )to sponsor me, it will motivate me to update and improve this theme

**Introduction**: [Siyuan](https://github.com/Siyuan-Note/Siyuan) is a privacy-first personal knowledge management system, support fine-grained block-level reference and Markdown WYSIWYG. This theme is a personal original theme, specially designed for Siyuan notes.

![Light](https://fastly.jsdelivr.net/gh/Achuan-2/PicBed@pic/assets/1704370183771Clip_2024-01-04_20-09-39.png)
![Light](https://cdn.jsdelivr.net/gh/Achuan-2/PicBed@pic/assets/1704370183771Clip_2024-01-04_20-09-39.png)
<center>Light</center>

![Green](https://fastly.jsdelivr.net/gh/Achuan-2/PicBed@pic/assets/1704370137769Clip_2024-01-04_20-07-57.png)
![Green](https://cdn.jsdelivr.net/gh/Achuan-2/PicBed@pic/assets/1704370137769Clip_2024-01-04_20-07-57.png)
<center>Green</center>

![Dark](https://fastly.jsdelivr.net/gh/Achuan-2/PicBed@pic/assets/1704370028776Clip_2024-01-04_20-07-02.png)
![Dark](https://cdn.jsdelivr.net/gh/Achuan-2/PicBed@pic/assets/1704370028776Clip_2024-01-04_20-07-02.png)
<center>Dark</center>

## 🚀 CHANGLOGS
Expand Down Expand Up @@ -117,7 +117,7 @@ I use this name to wake myself up, hoping to make good use of Siyuan notes, help
- 📎**Added icon to hyperlink.**:See [Introduction to Hyperlink Icons](https://www.yuque.com/Achuan-2/siyuan/gar358) for the difference between different local links and network links.
![20220131165215_2022-01-31](https://cdn.jsdelivr.net/gh/Achuan-2/PicBed@pic/assets/README/20220131165215_2022-01-31.png)
- 🧊 **Introduction of finch cue block**:Add a block background color to the reference block blockquote, and the style will be automatically applied.
![1704370779797Clip_2024-01-04_20-15-14.png](https://fastly.jsdelivr.net/gh/Achuan-2/PicBed@pic/assets/1704370779797Clip_2024-01-04_20-15-14.png)
![1704370779797Clip_2024-01-04_20-15-14.png](https://cdn.jsdelivr.net/gh/Achuan-2/PicBed@pic/assets/1704370779797Clip_2024-01-04_20-15-14.png)

Recommend using a template to add emojis and adjust the title font size and boldness. Here is an example.
```markdown
Expand Down
25 changes: 11 additions & 14 deletions README_zh_CN.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

<h1 align="center">🌞Tsundoku: A Theme for SiYuan Note</h1>

<p align="center">
Expand All @@ -15,21 +16,15 @@

![](preview.png)

> 如果你喜欢本主题,欢迎[给我买包辣条](https://cdn.nlark.com/yuque/0/2024/jpeg/1408046/1714754573393-9c7f70b0-05ec-489e-b5a2-1a37fb681f6f.jpeg?x-oss-process=image%2Fformat%2Cwebp),这会激励我更新和完善主题
> 如果你喜欢本主题,欢迎[给我买包辣条](https://afdian.net/a/achuan-2),这会激励我更新和完善主题
**简介**[思源笔记(Siyuan)](https://github.com/siyuan-note/siyuan)是一款本地优先的个人知识管理系统,支持完全离线使用,同时也支持端到端加密同步。融合块、大纲和双向链接,构建你永恒的数字花园。本主题为个人原创主题,专为思源笔记设计。

![Light 主题](https://fastly.jsdelivr.net/gh/Achuan-2/PicBed@pic/assets/1704370183771Clip_2024-01-04_20-09-39.png)
<center>Light 主题</center>

![Green 主题](https://fastly.jsdelivr.net/gh/Achuan-2/PicBed@pic/assets/1704370137769Clip_2024-01-04_20-07-57.png)
<center>Green 主题</center>

![Dark 主题](https://fastly.jsdelivr.net/gh/Achuan-2/PicBed@pic/assets/1704370028776Clip_2024-01-04_20-07-02.png)
<center>Dark 主题</center>

## 🚀最近更新

v2.0.8 / 2024.05.07
- 💄 修改卡片字体和背景色样式

v2.0.8 / 2024.05.06
- ✨ 代码块设置最大高度优化:适配行号

Expand Down Expand Up @@ -79,7 +74,7 @@ Tsundoku “積 ん 読”是日语里的一个词,维基百科是这样解释
- 📎**为超链接添加了icon**:区别不同的本地链接和网络链接
![20220131165215_2022-01-31](https://cdn.jsdelivr.net/gh/Achuan-2/PicBed@pic/assets/README/20220131165215_2022-01-31.png)
- 🧊 **Callout 块**:给引述块blockquote添加块背景颜色,就会自动应用样式
![1704370779797Clip_2024-01-04_20-15-14.png](https://fastly.jsdelivr.net/gh/Achuan-2/PicBed@pic/assets/1704370779797Clip_2024-01-04_20-15-14.png)
![1704370779797Clip_2024-01-04_20-15-14.png](https://cdn.jsdelivr.net/gh/Achuan-2/PicBed@pic/assets/1704370779797Clip_2024-01-04_20-15-14.png)

推荐使用模板添加emoji以及调整标题字体大小和加粗,下面是一个例子
```markdown
Expand Down Expand Up @@ -138,9 +133,11 @@ Tsundoku “積 ん 読”是日语里的一个词,维基百科是这样解释
}

: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";
--b3-font-family: "汉仪空山楷", "Helvetica Neue", "Luxi Sans", "DejaVu Sans", "Hiragino Sans GB", "Microsoft Yahei", "sans-serif","Twitter Emoji","Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols" !important;

}


```

### Green 主题如何关闭纹理背景
Expand All @@ -157,7 +154,7 @@ background-image:none !important;
}
```

### h1 主题默认居中,如何居左
### h1 主题默认居中,如何改为居左

在思源笔记【**设置-外观-代码片段**】添加如下代码片段:
```css
Expand Down Expand Up @@ -211,5 +208,5 @@ text-align:left !important;


<div align="center">
<img src="https://cdn.nlark.com/yuque/0/2024/jpeg/1408046/1714754573393-9c7f70b0-05ec-489e-b5a2-1a37fb681f6f.jpeg?x-oss-process=image%2Fformat%2Cwebp" width="250" />
<img src="donate.webp" width="250" />
</div>
Binary file added donate.webp
Binary file not shown.
5 changes: 4 additions & 1 deletion style/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
padding: 2px 4px;
border-left: 0em solid #4c6778;
background-color: #73a8c70f;
border: 1px solid var(--custom-blockquote-border-color);
border: 1px solid #d0e2ee;
border-radius: 7px !important;
color: #6a6969;
}
Expand Down Expand Up @@ -473,6 +473,9 @@ mark {
}

/* -----------------------块引用----------------------- */
.protyle-wysiwyg [data-node-id] span[data-type~=block-ref]:not(.av__celltext), .protyle-wysiwyg [data-node-id] span[data-type~=file-annotation-ref]{
opacity: 1;
}
.protyle-wysiwyg [data-node-id] span[data-type~='block-ref'] {
color: var(--b3-protyle-inline-blockref-color); /*更改颜色*/
padding-bottom: 0em;
Expand Down
15 changes: 9 additions & 6 deletions theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
--b3-font-family: 'Helvetica Neue', 'Luxi Sans', 'DejaVu Sans', 'Hiragino Sans GB',
'Microsoft Yahei', sans-serif, 'Apple Color Emoji', 'Noto Color Emoji', 'Segoe UI Emoji',
'Segoe UI Symbol', 'Android Emoji', 'EmojiSymbols';
--b3-font-family-code: 'Monaspace Neon', 'JetBrainsMono-Regular', mononoki, Consolas,
--b3-font-family-code: 'JetBrainsMono-Regular', mononoki, Consolas,
'Liberation Mono', Menlo, Courier, monospace, 'Apple Color Emoji', 'Segoe UI Emoji',
'Noto Color Emoji', 'Segoe UI Symbol', 'Android Emoji', 'EmojiSymbols';
--b3-font-family-graph: mononoki;
Expand Down Expand Up @@ -90,13 +90,13 @@
--b3-tooltips-background: #335c7396;

/* 卡片背景 */
--b3-card-error-color: #b93128;
--b3-card-error-color: var(--b3-font-color1);
--b3-card-error-background: #fdeaec;
--b3-card-warning-color: rgb(102, 60, 0);
--b3-card-warning-color: var(--b3-font-color2);
--b3-card-warning-background: #fce4d2;
--b3-card-info-color: rgb(13, 60, 97);
--b3-card-info-color: var(--b3-font-color3);
--b3-card-info-background: #deeefa;
--b3-card-success-color: rgb(30, 70, 32);
--b3-card-success-color: var(--b3-font-color4);
--b3-card-success-background: #e5fae5;
/* 自定义文字 */
--b3-font-color1: #fa766d;
Expand Down Expand Up @@ -218,7 +218,7 @@
--custom-h4-color: #1c849e;
--custom-h5-color: #000000;
--custom-h6-color: var(--b3-theme-on-background);
--custom-blockquote-border-color: #d0e2ee;
--custom-blockquote-border-color: #e8e8e8;
--custom-blockquote-background-color: #eaf7ff59;
--custom-tag-hover-color: #559898;
--custom-link-bottom-color: #3375ab;
Expand Down Expand Up @@ -1142,3 +1142,6 @@ body
}





2 changes: 1 addition & 1 deletion theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"patreon": "",
"github": "",
"custom": [
"https://cdn.nlark.com/yuque/0/2024/jpeg/1408046/1714754573393-9c7f70b0-05ec-489e-b5a2-1a37fb681f6f.jpeg?x-oss-process=image%2Fformat%2Cwebp"
"https://afdian.net/a/achuan-2"
]
},
"modes": [
Expand Down

0 comments on commit 1ebc67f

Please sign in to comment.