发布 1.1.1

This commit is contained in:
Darkings 2026-06-27 09:44:41 +08:00
parent 69506e414e
commit b7db2bdad0
7 changed files with 29 additions and 31 deletions

View file

@ -1,5 +1,12 @@
# 更新日志 / Changelog
## 1.1.12026-06-27
- 修复 Obsidian pending 审核报错:发布产物 `theme.css` 不再包含 Stylelint 控制注释。
- 增加 CSS 审计规则,禁止发布 CSS 中出现 `stylelint-disable` / `stylelint-enable`
- 更新 README 结构:`README.md` 使用英文,`README.zh.md` 保存中文说明。
- 同步文档中的调色板说明只保留当前实际支持的跟随系统、Pro、Light。
## 1.1.02026-06-23
### 新增

View file

@ -8,7 +8,7 @@ Monokai Syntax is a Monokai Pro inspired theme for Obsidian. It is designed for
## Version
Current version: `1.1.0`
Current version: `1.1.1`
Minimum Obsidian version: `1.0.0`
@ -25,17 +25,12 @@ Minimum Obsidian version: `1.0.0`
- Graph view, Canvas, Ribbon, tabs, modals, search, settings, and plugin surfaces follow the same theme tokens.
- No runtime remote assets. The icon font is bundled as an inline WOFF resource.
## What's New In 1.1.0
## What's New In 1.1.1
- Kept the palette system focused on Pro, Light, and system-following behavior.
- Improved code blocks, inline code, active line, selection, cursor, gutter, and bracket match states.
- Expanded CodeMirror token coverage for classes, types, built-ins, properties, metadata, and errors.
- Added code-learning callout styles and semantic task states for study notes.
- Reworked file tree icon alignment and folder icon rules.
- Improved reading mode and Live Preview consistency for headings, lists, blockquotes, callouts, code, tables, tags, and links.
- Added Style Settings controls for typography, density, file icons, heading accents, accent color, link color, and code color.
- Added release checks for version consistency, palette coverage, icons, Graph variables, visual polish, contrast, generated assets, and CSS quality.
- Added a CSS audit guard that rejects remote resources, `!important`, ID selectors, and Stylelint control comments in the published CSS.
- Fixed Obsidian pending review errors caused by Stylelint control comments being emitted into `theme.css`.
- Added a CSS audit guard that rejects Stylelint control comments in published CSS.
- Split the documentation into an English `README.md` and a Chinese `README.zh.md`.
- Kept the documented palette system aligned with the current `Follow system`, `Pro`, and `Light` options.
## Installation
@ -132,8 +127,8 @@ manifest.json
4. Create and push a version tag, for example:
```powershell
git tag v1.1.0
git push origin v1.1.0
git tag v1.1.1
git push origin v1.1.1
```
5. GitHub Actions runs the release verification and publishes a release with `theme.css` and `manifest.json`.

View file

@ -8,7 +8,7 @@ Monokai Syntax 是一个面向 Obsidian 的 Monokai Pro 风格主题,主要用
## 版本
当前版本:`1.1.0`
当前版本:`1.1.1`
最低 Obsidian 版本:`1.0.0`
@ -25,17 +25,12 @@ Monokai Syntax 是一个面向 Obsidian 的 Monokai Pro 风格主题,主要用
- 关系图谱、Canvas、Ribbon、标签页、弹窗、搜索、设置和插件界面复用统一主题变量。
- 不加载远程运行时资源,图标字体以内联 WOFF 形式打包。
## 1.1.0 更新重点
## 1.1.1 更新重点
- 调色板系统聚焦为 Pro、Light 和跟随系统。
- 优化代码块、行内代码、当前行、选区、光标、gutter 和括号匹配状态。
- 扩展 CodeMirror token覆盖类、类型、内建对象、属性、元信息和错误状态。
- 增加代码学习 Callout 和学习笔记常用任务状态。
- 重构文件树图标对齐与文件夹图标规则。
- 收敛阅读模式与 Live Preview 在标题、列表、块引用、Callout、代码、表格、标签和链接上的视觉差异。
- Style Settings 增加排版、密度、文件图标、标题色条、强调色、链接色和代码色控制。
- 增加版本、调色板、图标、图谱变量、视觉细节、对比度、生成产物和 CSS 质量检查。
- CSS 审计会拒绝发布产物中的远程资源、`!important`、ID 选择器和 Stylelint 控制注释。
- 修复 Obsidian pending 审核中因 `theme.css` 包含 Stylelint 控制注释导致的报错。
- 增加 CSS 审计保护,发布产物中出现 Stylelint 控制注释会直接失败。
- 拆分文档:英文主文档为 `README.md`,中文文档为 `README.zh.md`
- 文档中的调色板说明同步为当前实际支持的 `跟随系统`、`Pro`、`Light`。
## 安装
@ -132,8 +127,8 @@ manifest.json
4. 创建并推送版本标签,例如:
```powershell
git tag v1.1.0
git push origin v1.1.0
git tag v1.1.1
git push origin v1.1.1
```
5. GitHub Actions 会在标签推送后运行发布检查并创建 Release附件包含 `theme.css``manifest.json`

View file

@ -1,6 +1,6 @@
{
"name": "Monokai Syntax",
"version": "1.1.0",
"version": "1.1.1",
"minAppVersion": "1.0.0",
"author": "lat3ncy"
}

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "monokai-syntax",
"version": "1.1.0",
"version": "1.1.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "monokai-syntax",
"version": "1.1.0",
"version": "1.1.1",
"license": "MIT",
"devDependencies": {
"sass": "^1.99.0",

View file

@ -1,6 +1,6 @@
{
"name": "monokai-syntax",
"version": "1.1.0",
"version": "1.1.1",
"description": "面向 Obsidian 的 Monokai Syntax 主题。",
"author": "lat3ncy",
"license": "MIT",

View file

@ -2,5 +2,6 @@
"1.0.0": "1.0.0",
"1.0.1": "1.0.0",
"1.0.2": "1.0.0",
"1.1.0": "1.0.0"
"1.1.0": "1.0.0",
"1.1.1": "1.0.0"
}