Skip to content

Commit

Permalink
v3.0.4: adjust counter color; finalizing
Browse files Browse the repository at this point in the history
  • Loading branch information
mustakshif committed Apr 21, 2024
1 parent bac2a27 commit 50d1c8c
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 23 deletions.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
### v3.0.4

* 新增色度调节,替换 `启用纯灰度中性色` 选项,用于自定义背景和普通文本色彩浓度
* 优化 PDF 高亮标注颜色
* 优化数据库资源列中超链接和资源链接的样式
* 开关按钮、文档计数器颜色适配新色彩系统
* 缩小数据库标签和图标尺寸
* 恢复数据库视图 emoji 图标的垂直居中
* [保持文档块标垂直居中于文档标题](https://github.com/mustakshif/Asri/issues/45)
* 修复数据库关联列单元格编辑菜单布局问题

<br />

* Added `Chroma slider` to replace the `Use grayscale neutral colors` option for customizing the background and text color intensity
* Optimized PDF highlight annotation colors
* Optimized the style of hyperlinks and resource links in the database assets columns
* Adapted the switch button and document counter colors to the new color system
* Reduced the size of database tags and icons
* Restored vertically centered emoji icons in the database view
* [Keep document block tags vertically aligned with document titles](https://github.com/mustakshif/Asri/issues/45)
* Fixed layout issue with the cell edit menu in the database relation column

---

### v3.0.3

* [重新设计底栏,合并底栏和状态栏](https://github.com/mustakshif/Asri/issues/37)
Expand Down
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ An ultra-modern theme for [SiYuan Note](https://github.com/siyuan-note/siyuan),

## Latest Updates

### v3.0.3
### v3.0.4

* [Redesigned the bottom bar, merging it with the status bar](https://github.com/mustakshif/Asri/issues/37)
* [Redesigned the database tag color and appearance color combinations, maintaining consistent perceived lightness](https://github.com/mustakshif/Asri/issues/44)
* Adjusted the style of block reference elements wrapped in the tag span element
* Fine-tuned the background color of focused list items in pure grayscale mode
* Optimized the display of highlighted text when search results are empty
* Unified the border radius of database tags gloabally
* [Fixed the background color missing in areas like PDF when using the `Background Cover` plugin](https://github.com/mustakshif/Asri/issues/37)
* [Fixed the issue of the relation graph search bar not covering other icons](https://github.com/mustakshif/Asri/issues/41)
* Added `Chroma slider` to replace the `Use grayscale neutral colors` option for customizing the background and text color intensity
* Optimized PDF highlight annotation colors
* Optimized the style of hyperlinks and resource links in the database assets columns
* Adapted the switch button and document counter colors to the new color system
* Reduced the size of database tags and icons
* Restored vertically centered emoji icons in the database view
* [Keep document block tags vertically aligned with document titles](https://github.com/mustakshif/Asri/issues/45)
* Fixed layout issue with the cell edit menu in the database relation column

### ...

Expand Down Expand Up @@ -85,7 +85,7 @@ Click on the `Appearance Mode` icon in the top right corner to open the Asri the

* `Customize theme color`: Use a custom color as the base color for the theme and apply a corresponding color scheme directly based on it.
* `Follow system accent color`: Use the system's accent color as the base theme color. This option is enabled by default on `Windows` and `macOS` desktop platforms, and not visible on other platforms.
* `Chroma slider`: Adjust the chroma of backgrounds and regular texts, with a range of 0-5, where 0 represents pure grayscale. The default value is 1.
* `Chroma slider`: Adjust the chroma of backgrounds and regular texts, with a range of 0-5, where 0 represents pure grayscale, and the default is 1.

### 📐 Custom Attributes

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

## 最近更新

### v3.0.3

* [重新设计底栏,合并底栏和状态栏](https://github.com/mustakshif/Asri/issues/37)
* [重新设计数据库标签配色和外观颜色组合,保持感知亮度一致](https://github.com/mustakshif/Asri/issues/44)
* 调整标签包裹块引用行内元素的样式
* 微调纯灰度模式下聚焦列表项的背景色
* 优化搜索结果为空时高亮文字的显示
* 统一各处数据库标签的圆角样式
* [修复使用`替换图片背景` 插件时 pdf 等区域背景颜色异常](https://github.com/mustakshif/Asri/issues/37)
* [修复关系图搜索框不遮盖其余图标的问题](https://github.com/mustakshif/Asri/issues/41)
### v3.0.4

* 新增色度调节,替换 `启用纯灰度中性色` 选项,用于自定义背景和普通文本色彩浓度
* 优化 PDF 高亮标注颜色
* 优化数据库资源列中超链接和资源链接的样式
* 开关按钮、文档计数器颜色适配新色彩系统
* 缩小数据库标签和图标尺寸
* 恢复数据库视图 emoji 图标的垂直居中
* [保持文档块标垂直居中于文档标题](https://github.com/mustakshif/Asri/issues/45)
* 修复数据库关联列单元格编辑菜单布局问题

### ...

Expand Down
4 changes: 3 additions & 1 deletion style/components/misc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
font-family: var(--b3-font-family-code);
margin-left: 0;
transition: 0.2s;
@include theme-variant-color(color, on-background, 0.5);
transition: .2s;
color: rgb(from var(--b3-theme-on-background) r g b / .5);
// @include theme-variant-color(color, on-background, 0.5);

&:hover {
background-color: transparent !important;
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.0.3",
"version": "3.0.4",
"displayName": {
"default": "Asri",
"zh_CN": "Asri",
Expand Down

0 comments on commit 50d1c8c

Please sign in to comment.