SJ API Theming & Tokens
Use theme palette tokens and .options for discoverable, theme-aware styling. Also shows sj.compose for merging style parts.
Examples
Tokens & .options
<div
[sj]="[
sj.bg(sj.bg.options.primary.main),
sj.c(sj.c.options.primary.contrast),
sj.p('12px'),
sj.brad('8px')
]"
>
Using palette tokens via .options (primary.main / primary.contrast)
</div>
Live Example
If the embed doesn’t load, open it directly: Open on StackBlitz.