Skip to content

1.0.6

Choose a tag to compare

@gibsonchan-5 gibsonchan-5 released this 12 Aug 06:02
· 9 commits to main since this release

PaperCraft v1.0.6

🐛 修复

  • 移除 document.createElement('style'):重构 ThemeApplier 使用 CSS 变量
  • 重构 CSSGenerator:生成 CSS 变量字典而非完整 CSS 字符串
  • styles.css:使用 CSS 变量驱动 .papercraft-active 主题样式
  • 移除 SettingsTab.getSettingDefinitions 中的 eslint-disable 注释
  • 修复 display() deprecation:用私有 renderUI() 替代
  • 修复 main.ts:revealLeaf 用 void 包裹(兼容 minAppVersion 1.4.0)
  • README:在顶部添加完整的 English Description 部分

🔧 架构改进

  • 不再动态创建 style 元素(Obsidian 审核 Error 修复)
  • 所有样式通过 styles.css + CSS 变量管理
  • 类型系统保持干净