Why is my context menu white when the rest of my valut isn't? And how to fix

My context menu for some reason is white with black text, while the rest of the UI isn’t and idk how to fix, i have looked everywhere i can think of and i have at this point just gotten used to the bight white neon on a dark background bc i couldn’t fix it soon enough and i’ve had to use the vault since the issue came up.

Pls tell me there’s a fix

In the default theme, the context menu has a dark background in dark mode and a light background in light mode. For your menu to be the opposite of the rest your window, you may have enabled a theme, CSS snippets, or plugins that changed it.

This CSS sets the context menu’s background, text, and icon colors:

body {
	--menu-background: black;
	color: orange;
}

.menu-item-icon {
	color: orange;
}

Replace black and orange with a HEX, RGBA, or named HTML color of your choice.

How to use CSS snippets: CSS snippets - Obsidian Help

You might also want to change your hover and muted colors.

If that doesn’t work, you’ll have to investigate what you’ve already changed or tell the forum your relevant theme, plugin, or snippet to get help adjusting it.

Thanks. And i have since learnt it’s due to css as u mentioned, due to me deciding to make another vault with similar specs, which it didn’t happen to. I will let u know if this fixes it

It didn’t fix it )=

If all looks fine in another vault, I’d follow all the steps in the troubleshooting guide. The main points being:

  • switch to the default theme
  • disable all CSS snippets if you have any
  • enable Restricted mode (the vault will reload)

If all looks good, you can slowly enable things one by one until you find the cause.

I’m going to

Update: The issue was because of a setting in Appearance

It’s called ‘Native menus’, it’s whats been causing all the issues.

I had to reset my vault to find this out. I suffered so others don’t have to. You’re welcome.!