Commit graph

32 commits

Author SHA1 Message Date
Darkings
c2ac892ec5 优化表格阅读与编辑样式 2026-07-18 11:14:08 +08:00
Darkings
ac17483855 弱化侧栏滚动条干扰 2026-07-10 10:28:07 +08:00
Darkings
8231bcb729 移除文件树选中左条并弱化分隔线 2026-07-10 10:20:56 +08:00
Darkings
f5cd0fce54 修正文件树选中覆盖与侧栏双线 2026-07-10 10:12:05 +08:00
Darkings
17c94be222 弱化文件树选中态与侧栏分隔线 2026-07-10 10:06:36 +08:00
Darkings
2d32199a14 启用主题 CSS 压缩构建 2026-07-10 09:41:10 +08:00
Darkings
435c4849d1 补齐 Obsidian 常见界面样式 2026-07-10 09:31:57 +08:00
Darkings
70050fd14c 统一布局尺寸与代码块控件 2026-07-10 09:28:00 +08:00
Darkings
5327d33037 优化核心阅读视觉层级 2026-07-10 09:23:39 +08:00
Darkings
15a6cbdfc8 整理主题基础变量与动效 token 2026-07-10 09:20:36 +08:00
Darkings
dc2c4c5c64 完善 Monokai 主题打磨基线 2026-07-09 17:38:41 +08:00
Darkings
9d010e9dc4 修复发布 CSS 中的 Stylelint 控制注释 2026-06-27 09:23:16 +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
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
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
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
3cc59263c7 Initial commit: Monokai Syntax Obsidian theme 2026-05-08 08:57:12 +08:00