After updating to the latest version of Obsidian, some of my callouts started to have a transparent background

How to fix this? And why did this happen?

Why:

Base colors have been migrated to OKLCH colorspace.

source: Obsidian Changelog - Obsidian

How:

  • The --callout-color variable now expects a valid CSS color. This is a breaking change:
/* Previously callout colors expected an RGB triplet. */
--callout-color: 255,0,0;

/* Now any valid CSS color is valid */
--callout-color: #ff0000;
--callout-color: rgb(255,0,0);

source: Obsidian Changelog - Obsidian

Thanks