Commit graph

40 commits

Author SHA1 Message Date
Darkings
b7db2bdad0 发布 1.1.1 2026-06-27 09:44:41 +08:00
Darkings
69506e414e 更新中英文 README 文档 2026-06-27 09:34:50 +08:00
Darkings
9d010e9dc4 修复发布 CSS 中的 Stylelint 控制注释 2026-06-27 09:23:16 +08:00
Darkings
0530495d41 修复标签发布环境下的版本测试 2026-06-27 09:09:41 +08:00
Darkings
8f784bd367 修复发布版本标签校验 2026-06-27 09:04:30 +08:00
Darkings
2ad8c14cd6 修复左侧折叠栏背景并完善发布验证 2026-06-27 08:52:54 +08:00
Darkings
f601cd2c4f 发布 1.1.0 Monokai Pro 对标优化 2026-06-23 12:47:46 +08:00
Darkings
4bc66db15a 发布 1.0.2 工程质量与样式优化 2026-06-22 17:16:12 +08:00
Darkings
f963a19690 消除 Obsidian CSS 审核警告 2026-05-15 17:41:28 +08:00
Darkings
11814ca8f6 修正 GitHub Release 标签规则 2026-05-15 17:30:00 +08:00
Darkings
3d8ff0757c 修复 1.0.1 审核警告 2026-05-15 17:28:05 +08:00
Darkings
6bf98005eb 发布 1.0.1 2026-05-15 17:13:25 +08:00
Darkings
642baf029a chore: 清理 AI 署名痕迹 2026-05-14 10:55:19 +08:00
Darkings
16a65543f1 feat: theme.css 输出到仓库根目录,截图调整为社区规范尺寸
为 Obsidian 社区主题提交做准备:
- Vite 构建同时输出 theme.css 到根目录
- 同步脚本、审计脚本、Release CI 统一引用根目录路径
- 截图调整为 512×288(社区列表规范尺寸)
2026-05-09 15:09:01 +08:00
Darkings
f8f56ae8a9 fix: 代码审查修复——验证脚本同步、变量补全、去重与对比度修正
- verify-active-visual.js 规则重写,匹配 Callout/块引用实际实现
- 移除 _editor.scss 与 _active-visual-overrides.scss 重复的 CSS 变量
- _variables.scss 补全 $spacing-5
- 浅色主题行内代码颜色 #a6e22e→#269d69,提升对比度
- 修复 generate-icon-theme.js 重复选择器 bug 与过期注释
- 移除硬编码开发者路径,sync-vault 改用 OBSIDIAN_VAULT 环境变量
2026-05-09 11:16:30 +08:00
Darkings
ac2e7580e1 添加社区提交用截图 screenshot.png(512×288) 2026-05-09 09:04:14 +08:00
Darkings
b19f4c5484 更新 .gitignore 忽略 ERRORS.md,CHANGELOG 添加英文 2026-05-09 08:49:47 +08:00
Darkings
660cb2b0ba 整理项目文档与构建脚本
- 合并 AGENTS.md 到 AGENTS.md,统一项目规范文件
- CHANGELOG.md 中文化
- README.md 添加双语切换、GitHub 链接、宣传图、下一版本规划
- 新增 README.en.md 英文版本
- build:vault 支持自定义 Vault 路径参数
- docs/ 迁移到 Obsidian 项目目录,仓库仅保留临时整理区
2026-05-09 08:39:57 +08:00
Darkings
a3daf058d3 refactor: rename icon-themes→icons, simplify filenames, remove 14 unused JSON
- icon-themes/ → icons/
- Monokai Pro icon-theme.json → icon-theme.json
- monokai-pro-icons.woff → icons.woff
- Remove 14 unused filter/monochrome variant JSON files
- Update generate-icon-theme.js paths
2026-05-08 14:24:30 +08:00
Darkings
25a7d3b63c chore: ignore docs/ and AGENTS.md 2026-05-08 14:20:44 +08:00
Darkings
e597ef4dac chore: add .gitignore and untrack local files 2026-05-08 14:18:38 +08:00
Darkings
2ff7d2b492 docs: update TODO — Stage 10 complete, add Stage 10.5 callout/blockquote redesign 2026-05-08 14:11:33 +08:00
Darkings
5bd19eb560 feat: add GitHub Actions CI and release workflows, CHANGELOG
- CI workflow: runs on push/PR — lint, build, audit, contrast
- Release workflow: triggers on v* tags — full pre-release checks, then
  attaches theme.css + manifest.json to GitHub Release
- CHANGELOG.md with 1.0.0 initial entry
2026-05-08 11:02:03 +08:00
Darkings
751bd88e9b fix: remove border from .cm-callout wrapper to prevent double left border
Live preview callout structure: .cm-embed-block.cm-callout > .markdown-rendered > .callout
Both .cm-callout and .callout were getting border-inline-start → double border.
Now .cm-callout is transparent with no border, only .callout gets the left border.
2026-05-08 10:54:27 +08:00
Darkings
9dcd3a0983 fix: use margin-left on .cm-quote for blockquote spacing in live preview
Obsidian applies inline styles (text-indent: -20px; padding-inline-start: 20px)
to .HyperMD-quote via CodeMirror. These inline styles have highest specificity
and cannot be overridden by CSS without !important.

Workaround: remove our padding/text-indent attempts on .HyperMD-quote, instead
add margin-left on .cm-quote child spans to create border-to-text spacing.
2026-05-08 10:51:06 +08:00
Darkings
04e11ff45f fix: remove callout/blockquote rules from _editor.scss, unify in overrides
- Remove all callout/blockquote/icon element styling from _editor.scss
  (kept CSS variable definitions only) to eliminate specificity conflicts
- _active-visual-overrides.scss is now the single source of truth
- Add semantic color mappings with --callout-background/--callout-border
  for all callout types, targeting both .callout and .cm-line:has()
- Remove padding from .cm-line:has(.callout) — was doubling with
  .callout's own padding, causing "four-side spacing" in live preview
2026-05-08 10:32:40 +08:00
Darkings
bf40aaa39f fix: use border-inline-start for lp blockquote, add cm-callout-icon selectors
- Live preview blockquote: box-shadow→border-inline-start for visual
  consistency with reading mode
- Add .cm-callout-icon, .cm-callout-title, .cm-callout-content selectors
  alongside .callout-* equivalents so live preview icons render
- Add icon rules to _active-visual-overrides.scss with full specificity
2026-05-08 10:26:09 +08:00
Darkings
9b451ceaf8 fix: unify callout bg+border on .callout element, restore 2px borders
Root cause: --callout-background set on .callout[data-callout] but
background-color applied on .cm-line parent — CSS vars cascade down,
not up. Fixed by applying bg on .callout itself for both views.

- Restore 2px border width for callout + blockquote
- Unify reading + live preview: bg + border on .callout element
- .cm-line:has(.callout) only provides outer spacing (padding)
2026-05-08 10:17:47 +08:00
Darkings
27866fce35 fix: reduce border 2px→1px, blockquote padding 2.5rem→1.25rem, lp callout gap
- Border width: 2px→1px for both callout and blockquote
- Blockquote padding: 2.5rem→1.25rem left, #spacing-4→#spacing-3 vertical
- Live preview callout: add padding-left: 0.75rem for border-text gap
2026-05-08 10:10:14 +08:00
Darkings
c1a76c7434 fix: separate cm-line callout selectors, reduce bg opacity, add icon margin
- Split cm-line:has(.callout) from .callout in _active-visual-overrides
  to prevent double left-border in live preview
- Reduce callout bg: 16%→12% (dark), 20%→14% (light)
- Add margin-right to .callout-icon for title spacing
- Increase blockquote padding: 2rem→2.5rem
- Use SCSS interpolation for spacing in padding shorthands
2026-05-08 10:02:35 +08:00
Darkings
fc2b7b0c6a fix: update _active-visual-overrides.scss with new callout/blockquote design
Body-prefixed high-specificity selectors were overriding all _editor.scss
changes. Updated to use new variable system:
- blockquote: warm gold border, transparent bg, 2rem padding
- callout: semantic left border + micro-tinted bg per type
- callout title: semantic color from --callout-border
2026-05-08 09:54:03 +08:00
Darkings
b9de708d8d fix: blockquote padding via cm-line, callout bg 16%/20%, icon nowrap
- Blockquote: apply padding-inline-start on .cm-line child instead of
  .HyperMD-quote parent (Obsidian resets parent padding)
- Callout background: 10%→16% (dark), 12%→20% (light) for visibility
- Callout icon: remove fixed width/height, use display:inline +
  white-space:nowrap to prevent #[i] wrapping to two lines
2026-05-08 09:46:07 +08:00
Darkings
edfc00c217 fix: blockquote dual-color border, callout bg visibility, icon layout
- Add --blockquote-border-color override in theme-dark/light to prevent
  green border leak from _base.scss
- Increase callout background opacity: 5%→10% (dark), 6%→12% (light)
- Increase blockquote left padding: 1.5rem→2rem
- Fix callout-icon with flex-shrink:0 and inline-flex to prevent
  ::before pseudo-element from wrapping to second line
- Reduce icon font-size to 0.9em for better visual fit
2026-05-08 09:36:09 +08:00
Darkings
a0c9178ebf fix: stylelint auto-fix for _variables.scss blank line formatting 2026-05-08 09:25:38 +08:00
Darkings
20f948b0d1 feat: redesign callout — semantic left border, micro-tinted bg, code-symbol icons 2026-05-08 09:22:51 +08:00
Darkings
c82bff998d feat: redesign blockquote — warm gold border, no background, both views 2026-05-08 09:10:56 +08:00
Darkings
282532c83e feat: add Monokai Pro callout & blockquote CSS custom properties 2026-05-08 09:05:42 +08:00
Darkings
93faa8d94c fix: use palette variable references for blockquote border colors 2026-05-08 09:03:24 +08:00
Darkings
c0ae78dd1c feat: add blockquote warm-gold color tokens 2026-05-08 09:00:05 +08:00
Darkings
3cc59263c7 Initial commit: Monokai Syntax Obsidian theme 2026-05-08 08:57:12 +08:00