Steps to reproduce
Create a block like the following:
C4Context
title Example
System(object, "Sample object")
UpdateElementStyle(object, $fontColor="white", $bgColor="lightgrey")
Did you follow the troubleshooting guide? [Y/N]
Yes
Expected result
Text of the diagram should become “white”.
Actual result
Text shows in the default colour.
Environment
SYSTEM INFO:
Obsidian version: v1.3.5
Installer version: v1.3.4
Operating system: Darwin Kernel Version 22.5.0: Mon Apr 24 20:53:44 PDT 2023; root:xnu-8796.121.2~5/RELEASE_ARM64_T8103 22.5.0
Login status: logged in
Catalyst license: none
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: light
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Additional information
It doesn’t work locally nor in the published version on a site.