Announcing Confluence Cloud Theming Preview for Developer Canary Program

How do you access the design tokens when rendering macros?
I have a macro that is rendered as :

<div style="background-color: #F1F2F4; /* ... */">
Macro text
</div>

I tried both using var(--ds-surface), or rgba(128,128,128, 0.1), but these properties get removed before being inserted in the Confluence page.

1 Like