Overview
render
stencila render report.smd report.email.htmlToken Mapping
Core Typography
--text-font-family | <mj-all font-family> |
--text-color-primary | <mj-all color> |
--text-font-size | <mj-text font-size> |
--text-line-height | |
--text-color-secondary | |
--text-color-muted |
Headings
--heading-font-family | |
--heading-color | |
--heading-line-height | |
--heading-letter-spacing | |
--heading-font-weight | |
--heading-font-size--heading-font-size-ratio |
Links
--link-color | |
--link-decoration | |
--link-color-hover |
Code, Quotes, and Tables
--code-font-family--code-color--code-background--code-border-color--code-border-radius--code-line-height | |
--quote-background--quote-border-width--quote-border-color--quote-font-style--quote-padding | |
--table-border-color--table-header-background--table-header-font-weight--table-cell-padding |
Work Metadata
--work-title-* | |
--work-authors-* | |
--work-abstract-* |
Lists and Surfaces
--list-indent--list-item-spacing--list-marker-color | |
--surface-background | |
--border-color-default | |
--border-radius-default |
Implementation Notes
Theme variables are computed with pixel conversion in encode_theme.rs. The MJML/HTML encoder only uses tokens that are reliable in email clients. For full token usage, see encode_theme.rs.