Skip to content

Commit

Permalink
v3.1.6: finalizing
Browse files Browse the repository at this point in the history
  • Loading branch information
mustakshif committed Sep 22, 2024
1 parent 2d4d166 commit 77aa6d5
Show file tree
Hide file tree
Showing 7 changed files with 52 additions and 83 deletions.
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
### v3.1.6

* 调整代码块背景色
* 调整亮色模式下的文字颜色
* 调整暗色模式的主题背景色
* 调整设置面板大按钮的颜色
* 激活页签背景色改为跟随色度调整
* 调整数据库单选和多选列标签颜色和边框样式
* 区分编辑器活动和非活动状态下的激活页签样式
* 修复「保存查询条件」对话框的文本框错位问题
* 修复部分情况下色度滑块提示条和全宽显示菜单条目显示为「undefined」的问题

<br />

* Adjusted the background color of code blocks.
* Modified the text color in light mode.
* Changed the theme background color in dark mode.
* Altered the color of large buttons in the settings panel.
* Updated the activated tab background color to follow hue adjustments.
* Adjusted the color and border style of labels for single and multi-select columns in the database.
* Distinguished the styles of activated tabs in both active and inactive states of the editor.
* Fixed the misalignment issue of text boxes in the "Save Query Conditions" dialog.
* Resolved the issue where the hue slider tooltip and full-width display menu entries displayed as "undefined" in certain cases.

---

### v3.1.5

* 修复移动端全宽显示菜单显示异常的问题
Expand Down
17 changes: 12 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,25 @@ An ultra-modern theme for [SiYuan Note](https://github.com/siyuan-note/siyuan),

## Latest Updates

### v3.1.6

* Adjusted the background color of code blocks.
* Modified the text color in light mode.
* Changed the theme background color in dark mode.
* Altered the color of large buttons in the settings panel.
* Updated the activated tab background color to follow hue adjustments.
* Adjusted the color and border style of labels for single and multi-select columns in the database.
* Distinguished the styles of activated tabs in both active and inactive states of the editor.
* Fixed the misalignment issue of text boxes in the "Save Query Conditions" dialog.
* Resolved the issue where the hue slider tooltip and full-width display menu entries displayed as "undefined" in certain cases.

### v3.1.5

* Fixed the issue of the full-width display menu showing abnormally on mobile devices.
* Resolved the display anomaly caused by the stacking layout changes in the side docks.
* Corrected the problem of the separator lines appearing reddish when the theme color was set to grayscale.
* Attempted to fix the issue of the full-width display menu entry not showing on iOS.

### v3.1.4

* ✨ Full-width display support configured from the block menu of document blocks and compatible content blocks.
* Removed the hover effect for disabled menu items.

### ...

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

## 最近更新

### v3.1.6

* 调整代码块背景色
* 调整亮色模式下的文字颜色
* 调整暗色模式的主题背景色
* 调整设置面板大按钮的颜色
* 激活页签背景色改为跟随色度调整
* 调整数据库单选和多选列标签颜色和边框样式
* 区分编辑器活动和非活动状态下的激活页签样式
* 修复「保存查询条件」对话框的文本框错位问题
* 修复部分情况下色度滑块提示条和全宽显示菜单条目显示为「undefined」的问题

### v3.1.5

* 修复移动端全宽显示菜单显示异常的问题
* 修复侧边停靠栏堆放层叠变动导致的显示异常问题
* 修复主题色为灰度色是部分分割线颜色偏红的问题
* 尝试修复 iOS 端全宽显示菜单入口不显示的问题

### v3.1.4

* ✨ 全宽显示支持从文档块和已适配内容块的块菜单中配置
* 移除已禁用菜单项目的鼠标悬停效果

### ...

### v3.0.0
Expand Down
Empty file.
1 change: 1 addition & 0 deletions style/features/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// @use 'hide-toolbar';
@use 'cover-image-fading';
@use 'blur';
@use 'filetree-indents-indicator';
@use 'topbar-fusion';
@use 'custom-attributes';
@use 'high-readability-variants';
Expand Down
72 changes: 0 additions & 72 deletions style/layout/side-panels.scss
Original file line number Diff line number Diff line change
Expand Up @@ -470,78 +470,6 @@
}


// 文档树缩进参考线 indent guides
.file-tree>.fn__flex-1 {
$uls: '>ul';
$indent: 18px;
$indent-start: 22px;

@for $i from 1 through 7 {
$uls: str-insert($string: $uls, $insert: '>ul', $index: 100);

&#{$uls} {
span.b3-list-item__toggle {
padding-left: 4px !important;
}

// margin-left: $indent-start;
margin-left: $indent;
box-shadow: 1px 0 transparent inset;
}

// $indent-start: $indent;
}

&>ul ul {
transition: 0.2s;
}

&:hover>ul ul,
li.b3-list-item--focus+ul,
ul.has-focus {
box-shadow: 1px 0 oklch(from var(--b3-theme-on-background) l c h / .15) inset;

@include darkmode-counterpart {
box-shadow: 1px 0 oklch(from var(--b3-theme-on-background) l c h / .15) inset;
}

@supports not (color: oklch(from red calc(l * 0.5) 0 h)) {
box-shadow: 1px 0 pickThemeColor($theme-light, on-background, 0.15) inset;


@include darkmode-counterpart {
box-shadow: 1px 0 pickThemeColor($theme-dark, on-background, 0.15) inset;
}
}
}

// -> js

&:hover li.b3-list-item--focus+ul,
&:hover ul.has-focus {
box-shadow: 1px 0 oklch(from var(--b3-theme-on-background) l c h / .3) inset;

@include darkmode-counterpart {
box-shadow: 1px 0 oklch(from var(--b3-theme-on-background) l c h / .3) inset;
}

@supports not (color: oklch(from red calc(l * 0.5) 0 h)) {
box-shadow: 1px 0 pickThemeColor($theme-light, on-background, 0.3) inset;


@include darkmode-counterpart {
box-shadow: 1px 0 pickThemeColor($theme-dark, on-background, 0.3) inset;
}
}
}

// -> js

&>ul {
box-shadow: none !important;
}
}

// 列表展开动画
.file-tree__sliderDown {
top: -4px !important;
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": "Asri",
"author": "MUSTAKSHIF",
"url": "https://github.com/mustakshif/Asri",
"version": "3.1.5",
"version": "3.1.6",
"displayName": {
"default": "Asri",
"zh_CN": "Asri",
Expand Down

0 comments on commit 77aa6d5

Please sign in to comment.