{# CALLOUT — one block boxed on a surface the theme owns (#268). A table cell carries the padding, because the Word engine drops a div's. The fill is the theme's highlight tint, or a light tint of the tone's semantic colour; the frame is the rule, or the tone's colour. A caller names a tone, never a colour. A solid box (#388) fills with the tone's full colour, and is rendered on the theme the ground picks, so its label takes the heading type that reads there rather than the tone it sits on. Context: content — The held block, rendered label — A small heading above it, plain text; empty for none tone — A tone the theme resolves, or empty for the highlight tint border — Whether the box is framed frame — "solid" or "dashed", how the frame is drawn solid — Whether the fill is the tone's full colour #} {% set edge = theme.tone[tone] if tone else theme.palette.rule %} {% if solid %}{% set fill = edge %}{% else %}{% set fill = (0.08 | heat_color(theme.palette.surface, theme.tone[tone])) if tone else theme.palette.highlight_tint %}{% endif %}