Skip to content

Commit

Permalink
v3.1.22: finalizing
Browse files Browse the repository at this point in the history
  • Loading branch information
mustakshif committed Dec 15, 2024
1 parent a82ee47 commit df20303
Show file tree
Hide file tree
Showing 8 changed files with 57 additions and 20 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
### v3.1.22

* 增强亮色模式下菜单外框质感
* 视觉平衡菜单列表首尾项的边距
* 视觉平衡代码块内边距
* 调整代码块语言显示样式

<br />

* Enhanced menu border texture in light mode
* Balanced visual margins for the first and last items in menu lists
* Balanced internal padding of code blocks
* Adjusted the display style of code block language indicators

---

### v3.1.21

* 文档属性面板新增溢出渐隐
Expand Down
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,18 @@ An ultra-modern theme for [SiYuan Note](https://github.com/siyuan-note/siyuan),

## Latest Updates

### v3.1.22

* Enhanced menu border texture in light mode
* Balanced visual margins for the first and last items in menu lists
* Balanced internal padding of code blocks
* Adjusted the display style of code block language indicators

### v3.1.21

* Updated styles to be compatible with SiYuan v3.1.15
* Added overflow fadeout effect in Doc Attribute panel

### v3.1.20

* Updated styles to be compatible with SiYuan v3.1.14
* [Fixed laggy animation when expanding document tree items](https://github.com/mustakshif/Asri/issues/118)
* Fixed button styles in PDF document properties panel

### ...

### v3.0.0
Expand Down
13 changes: 7 additions & 6 deletions README_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,18 @@ Asri 是一款极富现代感的[思源笔记](https://github.com/siyuan-note/si

## 最近更新

### v3.1.22

* 增强亮色模式下菜单外框质感
* 视觉平衡菜单列表首尾项的边距
* 视觉平衡代码块内边距
* 调整代码块语言显示样式

### v3.1.21

* 文档属性面板新增溢出渐隐
* 适配思源 v3.1.15 样式改动

### v3.1.20

* 适配思源 v3.1.14 样式改动
* [修复文档树条目展开动画卡顿的问题](https://github.com/mustakshif/Asri/issues/118)
* 修复 PDF 文档属性面板按钮样式

### ...

### v3.0.0
Expand Down
2 changes: 1 addition & 1 deletion style/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ $theme-dark: (
--b3-graph-hl-point: #ff5799;
--b3-graph-hl-line: #ff5799;

/* 父块颜色 */
/* 父块颜色 */
// --b3-parent-background: ;
}

Expand Down
25 changes: 21 additions & 4 deletions style/components/menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
.b3-menu,
.b3-menu__submenu {
@include menu-shadow($opacity-light: .15);
@include border-or-not($border: false);

@include border-or-not($border: false) {
outline: #fff4 solid 1px;
outline-offset: -1px;
}

;
border-radius: $border-rd-menu;
padding: 0;
// animation: menu-pop-up .3s $timing-function-bouncy;
Expand All @@ -27,7 +33,7 @@
line-height: 24px;
border-radius: 5px;
align-items: center;

&:first-child {
margin-top: .5px;
}
Expand Down Expand Up @@ -139,7 +145,13 @@
.protyle-hint {
--b3-border-radius-b: 12px;
@include menu-shadow;
@include border-or-not($border: false);

@include border-or-not($border: false) {
outline: #fff4 solid 1px;
outline-offset: -1px;
}

;
padding: 0;
background-color: var(--b3-menu-background);

Expand Down Expand Up @@ -259,7 +271,11 @@
border-radius: 12px;

@include menu-shadow;
@include border-or-not($border: false);

@include border-or-not($border: false) {
outline: #fff4 solid 1px;
outline-offset: -1px;
}

.block__icons {
.resize__move {
Expand Down Expand Up @@ -334,6 +350,7 @@
>.fn__hr {
display: none;
}

>.fn__flex:nth-child(2) {
position: absolute;
top: 6px;
Expand Down
4 changes: 3 additions & 1 deletion style/components/misc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,9 @@ textarea {
// word-break: keep-all; // 保持CJK字符不换行

@include tooltip-shadow;
@include border-or-not($outline: false);
@include border-or-not($outline: false) {
outline: none;
};
}

// 提示条
Expand Down
2 changes: 1 addition & 1 deletion theme.css

Large diffs are not rendered by default.

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": "Asri",
"author": "MUSTAKSHIF",
"url": "https://github.com/mustakshif/Asri",
"version": "3.1.21",
"version": "3.1.22",
"displayName": {
"default": "Asri",
"zh_CN": "Asri",
Expand Down

0 comments on commit df20303

Please sign in to comment.