This page lists CSS variables for Callouts.

CSS variables

VariableDescription
--callout-border-widthCallout border width
--callout-border-opacityCallout border opacity
--callout-paddingCallout padding
--callout-radiusCallout radius
--callout-blend-modeCallout blend mode, allows color mixing for nested callouts
--callout-title-colorCallout title text color
--callout-title-paddingCallout title padding
--callout-title-sizeCallout title font size
--callout-title-weightCallout title weight
--callout-content-paddingCallout content padding
--callout-content-backgroundCallout content background color

Type colors

Callout types have unique icons and colors, and may have multiple aliases.

VariableCallout type
--callout-bugbug
--callout-defaultdefault, note
--callout-errorerror, danger
--callout-exampleexample
--callout-failfail, failure, missing
--callout-importantimportant
--callout-infoinfo
--callout-questionquestion, help, faq
--callout-successsuccess, check, done
--callout-summarysummary, abstract, tldr
--callout-tiptip, hint
--callout-todotodo
--callout-warningwarning, caution, attention
--callout-quotequote, cite