Just commenting on the merge of Upgrade Electron Chromium version >133 to support attr(). I think that doesn’t belong here.
To @Qwerty.xyz:
attr() does work in current Obsidian. You can confirm by using this CSS:
[data-callout^="#"]:after {
content: "the callout name is " attr(data-callout);
}
… with the callout syntax you wanted to use:
> [!#f00]
> [!#eee]
… to see attr at work:
The issue is that you’re giving --callout-color the wrong type of data. It accepts RGB tuples. That means that neither of these (which your commented CSS does when uncommented) will work:
--callout-color: #f00;
--callout-color: white;
This is the format that works:
--callout-color: 175, 100, 50;
There are other ways to get to that format, such as Obsidian’s CSS color variables:
--callout-color: var(--color-green-rgb);
But that’s the reason your CSS isn’t working. It’s unrelated to the electron version.
