Various CSS Snippets for Obsidian's "Edit" view (I never use the Reading view 😁), using the default theme in light mode. They are modular on purpose, so that they can be easily enabled or disabled ...
In this case, bg-primary does nothing; it appears to make the background transparent in fact. If instead you use bg-red-500, which is a built-in tailwind class then it works fine. It will also work ...