wangsc
January 22, 2025, 4:23am
1
What I’m trying to do
I want to change the style of the right click on editor menu, but i don’t know how to get the right menu element in developer tools.
Things I have tried
Once i right click the editor menu and then click developer tools to get the element, the right menu disappears.
I also try F8 in developer Tools. I can use F8 shortcut when the mouse point in developer tools, but when i click the Obsidian, F8 fails.
holroy
January 22, 2025, 8:29am
2
I’ve not used it myself, but the tool mentioned in the thread below in Custom CSS & Theme Design (where I’ve moved your post for better responses) might be helpful.
I highly recommend checking out: https://github.com/chrisgrieser/obsidian-theme-design-utilities . It has a “Freeze Obsidian (with 4s delay)” option that comes in handy for situations like this.
[Screenshot 2025-01-16 074251]
With a quick look, the selector appears to be:
.suggestion-item.is-selected {
background-color: var(--background-modifier-hover);
}
with --background-modifier-hover being
--background-modifier-hover: rgba(var(--mono-rgb-100), 0.075);
So you could change the --back…