Commit graph

47 commits

Author SHA1 Message Date
nmn
0fc2ee798d chore: release 0.2.0 2026-07-20 12:16:01 +02:00
pun kyard
f9cbc47e43
fix: remove feedback warnings from code-block section in lists (#48) (#50)
Co-authored-by: nmn <punkyard@users.noreply.github.com>
2026-07-20 12:14:53 +02:00
nmn
0f1f9c7f9c chore: release 0.1.5 2026-07-19 21:38:45 +02:00
nmn
6b031e1b14 chore: add screenshots, update readme, log iterations
- Add inlist-code.png showing fenced code-block fix in lists
- Remove stale active-line.png
- Update README with latest changes
- Add agent worklog for session tracking
2026-07-19 21:37:39 +02:00
nmn
3167d9e3a2 fix(code-block): unify hidden opening-fence trim across depths and states
Replace depth-specific L1 rules (0.1lh/0 for active/inactive)
with single rule on .HyperMD-codeblock-begin: 0.4lh at all times.
No more cm-active reset — same trim whether cursor is in block or not.
2026-07-19 21:25:39 +02:00
nmn
e914a57890 fix(code-block): trim l1 hidden opening fence with depth-specific rule
- Add .HyperMD-list-line-1:not(.cm-active)::before { inset-block-start: 0.1lh }
- Add .cm-active variant restoring full height
- Targets only the level-1 background edge, not bullet or cursor geometry
2026-07-19 21:20:15 +02:00
nmn
1c10a876a1 fix(code-block): consolidate content-line selectors, add L3, trim hidden fence top
- Rewrite content-line section with compound selectors on .cm-line
  (no descendant whitespace before :not()/:has())
- Add Level 3 content rule
- Replace inset-block-start: 50% with 0.2lh for hidden opening fence
- Add cm-active variant keeping full background while editing
2026-07-19 14:01:27 +02:00
nmn
ae58a9fec3 fix(code-block): align list code bg via css var + :has() depth inference
Replace opening-fence-only gradient with per-line offset calc:
- Opening fence uses HyperMD-list-line-N class
- Content lines infer depth from .cm-indent/.cm-indent-spacing structure
- Closing fence inherits via adjacent sibling combinator
- Measured px values (23.424 marker, 31.503 indent) from DOM
- Text alignment with inline-block + margin + padding
2026-07-18 21:23:23 +02:00
pun kyard
ed111bd59c
fix: balanced padding below bullet lists and blockquotes (#45) (#46)
* fix: balanced padding below bullet lists and blockquotes (#45)

Lists and blockquotes had top spacing but no matching bottom
spacing in both reading and live preview modes.

- Reading mode: added margin-bottom to lists (0.8em) and
  blockquotes (0.6em)
- Reading mode: added paragraph-before-list spacing (0.8em)
  symmetric with existing heading-before-list rule
- Live preview: added padding-top on paragraph after list (0.8em)
- Live preview: added padding-top on paragraph after blockquote
  (0.6em)

* fix: use margin-bottom on blockquote lines for external spacing

Live preview: margin-bottom on .HyperMD-quote creates external
space after the blockquote box (beyond the internal padding-bottom).
Reading mode: margin-bottom already on .markdown-rendered blockquote.

Removed the next-sibling padding-top approach — selector chain
may not match actual Obsidian DOM.

* fix: use ::after pseudo-element for blockquote bottom spacing

CM6 measures padding for layout but NOT margins. Previous
margin-bottom approach had no effect. ::after with display:block
and height:0.6em (plus background:--background-primary to mask the
blockquote bg) creates visible transparent gap after the last quote
line. Hidden on consecutive quotes.

* fix: add .cm-content to blockquote sibling selectors for correct specificity

Prior live preview blockquote→paragraph rule was missing
.cm-content in selector chain, giving specificity (0,2,2)
vs the working pattern (0,3,4). Added .cm-content and
restored padding-top approach (::after doesn't work in CM6).

Also added reading mode paragraph-after-blockquote rule for
safety (blockquote + div.el-p with padding-top).

* fix: use transparent border-bottom for blockquote external spacing

padding-bottom and margin-bottom failed. border-bottom uses same
box model as padding (measured by CM6) but with background-clip:
padding-box the background stops at padding edge, so the border
area is transparent — creating visible gap after blockquote bg.

Removed padding-top on next sibling approach entirely.
Reading mode margin-bottom + paragraph sibling rule kept.

* fix: use .mod-cm6 .cm-editor selector for blockquote padding-bottom

The heading padding-bottom rule at .mod-cm6 .cm-editor .HyperMD-header
works. Using IDENTICAL selector for .HyperMD-quote — same specificity,
same cascade position, same CM6 layout measurement.

Reading mode: blockquote gets margin-bottom + blockquote+div.el-p
with padding-top for paragraph-after-blockquote spacing.

* fix(blockquote): drop shadow accent + border-bottom gap

Replace border-left accent with box-shadow drop shadow to avoid W3C
corner artifact between different-width borders. Colored border-bottom
provides structural gap drawn on top of shadow — accent curves with
radius then gets cleanly covered at corner.

Also:
- swap heading font Syne→Orbitron
- add explicit heading font-family rules

* fix: code block border-radius — single-line bump, multi-line flat corners

Replace all-lines bottom-radius + + .HyperMD-codeblock reset
with :has(+ *:not(.HyperMD-codeblock)) for last-line only.
First line keeps :not(.HyperMD-codeblock) + .HyperMD-codeblock
for top-radius. Same pattern as blockquote fix.

* feat(font): custom heading font via local woff2 file

- headings-font.woff2 (Exo 2) replaces base64-embedded font
- @font-face points to local file, family='HeadingFont'
- delete orphaned DMSerifDisplay.woff2
- README: add swap instructions (replace file, keep name)

Closes #47

---------

Co-authored-by: nmn <punkyard@users.noreply.github.com>
2026-07-14 17:33:57 +02:00
pun kyard
91506fea12
fix: checkbox dual-mark rendering, all states use window color background (#44)
* fix: kill native checkbox appearance on checked states; add cancelled styling

- Expand live preview base rule from :not(:checked) to all
  input[type='checkbox'] so appearance: none applies to checked
  states too — stops native checkmark leaking through behind
  the pseudo-element mark on [x] and [v]
- Add [-] / [–] (cancelled/rejected) state: muted background,
  accent ✕ mark, faint + strikethrough text
- Update section header

* fix: match Obsidian :checked specificity to kill native appearance

- Add explicit .HyperMD-list-line input:checked rule at (0,2,1)
  specificity to beat Obsidian default :checked appearance:auto
- Also add .markdown-preview-view .task-list-item-checkbox:checked
  for reading mode parity

* fix: kill Obsidian default ::after SVG checkmark causing dual-mark rendering

Obsidian's core CSS draws a checkmark on ALL :checked inputs via
::after with a -webkit-mask-image SVG. Our theme's ::after characters
(✕ / ✔) rendered on top, but the SVG mask checkmark showed through
behind — causing 'x behind v' / dual-mark appearance.

Fix: add .HyperMD-list-line input[type="checkbox"]:checked::after
and .markdown-preview-view .task-list-item-checkbox:checked::after
rules at (0,2,2) specificity to mask-image: none + background:
transparent, suppressing the default checkmark entirely.

* fix: all checkbox backgrounds use --background-primary, [x] shows check not X

- Remove colored backgrounds from all checkbox states — use
  --background-primary so surface matches window color
- [x] done: show ✔ instead of ✕, accent border + accent mark
- [v] selected: show ✔ with transparent background (was accent fill)
- [-] cancelled: muted border + muted ✕ mark
- All marks visible on surface background

---------

Co-authored-by: nmn <punkyard@users.noreply.github.com>
2026-07-13 03:48:51 +02:00
nmn
936504e872 fix: set list-marker-color to text-normal instead of accent 2026-07-13 03:07:22 +02:00
nmn
a38d15f865 fix: restore border rules with !important, remove bullet tint
- Drop body prefix from structural border selectors (was lowering specificity)
- Add back !important on all border-removal rules (required to override Obsidian defaults)
- Restore .workspace-split section that was accidentally removed
- Remove --list-marker-color override so bullets use default (text-faint)
- Keep modal backdrop fade at 10%/5% from 0.1.4
2026-07-13 03:00:36 +02:00
nmn
0023f1e113 fix: remove light-mode border-left leaks and low-specificity border rules 2026-07-13 02:57:34 +02:00
pun kyard
a5d30fb98c
fix: modal backdrop fade to 10%, update README and screenshots (#38 #39) (#40)
- Modal backdrop .modal-bg: remove from solid bg selector, set
  rgba(0,0,0,0.1) dark / rgba(0,0,0,0.05) light
- Update README with corrected screenshot references
- Replace air-cyan.png and air-purple.png with improved crops

Co-authored-by: nmn <punkyard@users.noreply.github.com>
2026-07-11 14:19:16 +02:00
nmn
bfd02775fe chore: bump version to 0.1.4 (#36) 2026-07-11 01:19:38 +02:00
nmn
d0d557c79a fix: remove all !important and :has() usages, update README and assets (#36) 2026-07-11 01:19:26 +02:00
nmn
d2e559b65b chore: bump version to 0.1.3 (#36) 2026-07-11 01:10:58 +02:00
pun kyard
930b0dd801
Merge pull request #37 from punkyard/issue-36-fix-important-has
fix: replace !important and :has() with specific selectors (#36)
2026-07-11 01:10:47 +02:00
nmn
e3dca94151 fix: replace !important and :has() with specific selectors (#36) 2026-07-11 01:10:34 +02:00
nmn
f402069d1a chore: update theme screenshots (#34) 2026-07-11 01:03:20 +02:00
nmn
ea49b74cf3 chore: bump version to 0.1.2 (#34) 2026-07-11 00:52:14 +02:00
pun kyard
38e2f7e14b
Merge pull request #35 from punkyard/issue-34-fix-list-cursor-position
fix: cursor too far left at first caret of bullet list items (#34)
2026-07-11 00:52:01 +02:00
nmn
0ad1a92c0c fix: cursor too far left at first caret of bullet list items (#34) 2026-07-11 00:51:45 +02:00
pun kyard
491ce2e0f5
Folder depth colors in explorer (#31)
* feat: add subtle 4px rounding, update about + README (#29)

* feat: apply heading colors to folder depth levels in explorer (#30)

---------

Co-authored-by: nmn <punkyard@users.noreply.github.com>
2026-07-11 00:22:02 +02:00
pun kyard
4f5ecb1f2f
fix: replace CSS masks with Unicode chars in checkbox icons (#27) (#28)
Co-authored-by: nmn <punkyard@users.noreply.github.com>
2026-07-10 00:50:00 +02:00
nmn
3d5bf7867b chore: bump 0.1.1 (patch) 2026-07-10 00:25:07 +02:00
pun kyard
c4ffacfa22
Merge pull request #26 from punkyard/issue-25-graph-light-mode
fix: graph lines light mode, checkbox styling, frontmatter tags (#25)
2026-07-10 00:23:14 +02:00
nmn
29ded4596b chore: bump 0.2.0, changelog, frontmatter tag bg transparent (#25) 2026-07-10 00:23:03 +02:00
nmn
d3ba7ac49b fix: accent border on unchecked checkboxes in live preview (#25) 2026-07-10 00:18:33 +02:00
nmn
6f6a35e0b6 fix: graph lines in light mode, checkbox [x] bg + icon, [v] text (#25) 2026-07-10 00:17:13 +02:00
pun kyard
1780f317a4
fix: multi-line quote loses bottom padding in live preview (#23) (#24)
Co-authored-by: nmn <punkyard@users.noreply.github.com>
2026-07-09 23:58:08 +02:00
pun kyard
d178085907
fix: code blocks light mode show black blocks (#21) (#22)
Co-authored-by: nmn <punkyard@users.noreply.github.com>
2026-07-09 23:53:44 +02:00
pun kyard
a79549ccd0
fix: tag X darker (--text-faint) and smaller (11px) (#18) (#20)
Co-authored-by: nmn <punkyard@users.noreply.github.com>
2026-07-09 23:43:52 +02:00
pun kyard
e227f21ae2
feat: metadata polish — rm property borders, rm selected bg, tag X colour, hide title (#18) (#19)
* feat: metadata polish — rm property borders, rm selected bg, tag X colour (#18)

* fix: metadata polish — stronger selectors for borders, cross btn, selected bg (#18)

---------

Co-authored-by: nmn <punkyard@users.noreply.github.com>
2026-07-09 23:43:23 +02:00
pun kyard
42bf1781c1
feat: hide metadata container bg until hover, rm H-line
Closes #16
2026-07-09 23:20:56 +02:00
pun kyard
cbb9187ab1
feat: hide metadata cell bg until hover
Closes #14
2026-07-09 23:16:39 +02:00
pun kyard
281a6ca942
feat: hide add-property row until hover
Closes #12
2026-07-09 23:14:39 +02:00
pun kyard
45b1779e13
fix: rm .view-content > * from bg block — breaks graph
Closes #10
2026-07-09 23:07:13 +02:00
pun kyard
d934019dd1
fix: use --graph-* CSS vars + bridge without !important
Closes #7
2026-07-09 22:44:06 +02:00
pun kyard
7d0c3f091f
fix: graph view breaks on color-mix vars
Closes #7
2026-07-09 22:40:33 +02:00
pun kyard
2767dcf7bd
fix: graph view empty
Closes #5
2026-07-09 22:33:41 +02:00
nmn
e83078d38e Revert "fix: graph view with correct .graph-view class bridge + !important"
This reverts commit 2c0be5793e.
2026-07-09 22:32:48 +02:00
nmn
2c0be5793e fix: graph view with correct .graph-view class bridge + !important
Obsidian graph uses WebGL canvas. .graph-view.color-* classes
bridge CSS colors to WebGL. Previous removal left graph unstyled;
Obsidian defaults may inherit invalid color-mix() vars.

Use explicit hex + !important to ensure colors apply.
2026-07-09 22:32:15 +02:00
pun kyard
4d09d3d9ef
fix: graph view empty, palette border visible
Closes #3
2026-07-09 18:44:15 +02:00
pun kyard
f840ad273d
fix CSS warnings + add missing UI sections
Closes #1

- css-masks compat (rm unprefixed mask-*)
- !important: restored on border removals (flat look), dropped elsewhere
- :has() replaced with adjacent sibling
- graph view, search, properties, mobile, kanban, excalidraw coverage
2026-07-09 18:10:17 +02:00
nmn
6da4df78e0 fix: css-masks compat, rm !important where possible, replace :has()
- rm unprefixed mask-* props (unsupported in O 1.4.5 Chromium)
- replace :has(+ .HyperMD-quote) with adjacent sibling selector
- drop !important on 45 rules using body prefix for specificity
- keep !important on heading spacing, code blocks, checkboxes (required to override Obsidian defaults)
2026-07-09 17:38:18 +02:00
nmn
ba95d32970 Initial commit: Air 0.1.0 2026-07-09 17:33:53 +02:00