Tooltip color

Hello. Please, help to change a tooltip color (now it’s black)

You can add this CSS rule to your snippets and change the color and other properties:

.notice-container .notice {
	background-color: var(--background-modifier-message);
}
1 Like

thank you, but it works with this one

but doesn’t work with this type of tooltips:

Try this:

.tooltip {
  background-color: var(--background-modifier-message);
  color: #FAFAFA;
}

Actually, there is a CSS variable for this:

body {
	--background-modifier-message: hotpink;
}

CleanShot-Obsidian-New tab - Playground - Obsidian v1.5.3-2024-01-13-06.51.22