this post was submitted on 27 Jun 2023
3 points (100.0% liked)

ObsidianMD

4105 readers
1 users here now

Unofficial Lemmy community for https://obsidian.md/

founded 1 year ago
MODERATORS
 

Taken directly from Deathau's Notation theme.

I could not find this key feature anywhere else but noticed it was implemented in Deathau's theme so I ripped it straight from there and can confirm it works great!

A must have feature if you are constantly switching focus and need to find which pane is currently active.

Just copy the below into a snippet file:

/* 7.2. Active pane border */
/* Notion doesn't have multiple panes. And with the header modifications above,
  how do you tell which pane is active? I'm just putting a border around the
  active pane for now (unless there's only one pane) */
.workspace-leaf.mod-active {
  border: 1px solid var(--interactive-accent);
}

.workspace-leaf:not(.mod-active),
.workspace>.workspace-split>.workspace-leaf:first-of-type:last-of-type {
  border: 1px solid transparent;
}
no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here