← Go back to <link>
<Style Setting>
<%* const key = await tp.system.prompt(“JSON key”) -%>
In
plugins/obsidian-style-settings/data.jsonOnly written to
data.jsonupon update. If there isn’t adata.json, it will be created.Default:
"<% key %>@@light": <% await tp.system.prompt("Default value (light)") %> "<% key %>@@dark": <% await tp.system.prompt("Default value (dark)") %>If
⟲is clicked, the JSON property will be removed fromdata.json.