Skip to content

Callouts

Callout blocks are editorial emphasis elements within article content. They use the existing <blockquote> element with CSS classes (callout-takeaway, callout-warning, callout-info) to differentiate variants. Each variant has a 4px left indicator stripe and variant-specific title color.

Takeaway has no background — just a soft sage stripe and dark sage title for a clean, inviting look. Warning uses a deep terracotta stripe on a neutral background. Info uses a blue stripe on a neutral background.

Token file: tokens/component/callout.json

Callout — Takeaway

Key takeaway: Sound therapy combined with cognitive behavioral therapy shows 73% improvement rates in controlled trials, making it one of the most evidence-backed approaches for tinnitus management.

Callout — Warning

Important: Sudden hearing changes alongside tinnitus should be evaluated by a medical professional within 48 hours. This may indicate an underlying condition requiring immediate attention.

Callout — Info

Note: This study used a sample size of 120 participants across three clinics in Germany. Results may vary in populations with different tinnitus etiologies.

TokenValuePurpose
--component-callout-indicator-width4pxLeft accent stripe
--component-callout-variant-takeaway-indicatorfeedback.success → #98D398Soft sage stripe
--component-callout-variant-takeaway-title-colorfeedback.success-text-strong → #1A3D1ADark sage title
--component-callout-variant-warning-indicatordeep-terracotta → #D6643EWarning stripe
--component-callout-variant-warning-title-colordeep-terracotta → #D6643EWarning title
--component-callout-variant-info-indicatorfeedback.info → #0284C7Info stripe
--component-callout-variant-info-title-colorfeedback.info → #0284C7Info title
<blockquote class="wp-block-quote callout-takeaway">
<p><strong>Key takeaway:</strong> Sound therapy combined with CBT shows 73% improvement rates.</p>
</blockquote>

CSS selector: .wp-block-quote[class*="callout-"] as the base rule, with .callout-takeaway, .callout-warning, .callout-info for variant overrides.

Bold lead text (<strong>Key takeaway:</strong>) labels the callout type non-visually. Color is never the sole differentiator.