From b7db2bdad0c960956860fd0f46ab796e7d25529d Mon Sep 17 00:00:00 2001 From: Darkings Date: Sat, 27 Jun 2026 09:44:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=201.1.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 7 +++++++ README.md | 21 ++++++++------------- README.zh.md | 21 ++++++++------------- manifest.json | 2 +- package-lock.json | 4 ++-- package.json | 2 +- versions.json | 3 ++- 7 files changed, 29 insertions(+), 31 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 54f33e9..bec1acf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # 更新日志 / Changelog +## 1.1.1(2026-06-27) + +- 修复 Obsidian pending 审核报错:发布产物 `theme.css` 不再包含 Stylelint 控制注释。 +- 增加 CSS 审计规则,禁止发布 CSS 中出现 `stylelint-disable` / `stylelint-enable`。 +- 更新 README 结构:`README.md` 使用英文,`README.zh.md` 保存中文说明。 +- 同步文档中的调色板说明,只保留当前实际支持的跟随系统、Pro、Light。 + ## 1.1.0(2026-06-23) ### 新增 diff --git a/README.md b/README.md index 4eb79c8..e6b412a 100644 --- a/README.md +++ b/README.md @@ -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`. diff --git a/README.zh.md b/README.zh.md index ee7bcd3..a0aaab6 100644 --- a/README.zh.md +++ b/README.zh.md @@ -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`。 diff --git a/manifest.json b/manifest.json index 1f2ddbf..8c0d313 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "Monokai Syntax", - "version": "1.1.0", + "version": "1.1.1", "minAppVersion": "1.0.0", "author": "lat3ncy" } diff --git a/package-lock.json b/package-lock.json index e323a2a..dc12c0c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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", diff --git a/package.json b/package.json index 8125f25..311b067 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "monokai-syntax", - "version": "1.1.0", + "version": "1.1.1", "description": "面向 Obsidian 的 Monokai Syntax 主题。", "author": "lat3ncy", "license": "MIT", diff --git a/versions.json b/versions.json index 31785ee..7073baa 100644 --- a/versions.json +++ b/versions.json @@ -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" }