ShowContentMode
Available options for custom content rendered via ColorVizOptions.
export type ShowContentMode = 'typeface' | 'text';<ShowColorValueDecision d="Brand Black" size="m" viz="..." options={options} />Type Values
Defines the content type.
Available only when viz is set to either
fg and bg modes, and ignored in other modes.
typeface (default)
Renders a few characters.
You can override the content via options.content.
<ShowDecision d="Brand Pink" size="m" viz="fg" options={{ mode: 'typeface' }} />Gg
#d45084
text
Renders a long text.
You can override the content via options.content.
<ShowDecision d="Brand Pink" size="xl" viz="fg" options={{ mode: 'text' }} />A new path appeared from nowhere. A clock chimed in the distance, its sound eerily out of place. They exchanged a glance, unspoken understanding passing between them. Beneath the starry canopy, the air was thick with mystery, the scent of moss and pine mingling with the crispness of the night. The door creaked open, revealing a covered in dust, filled with forgotten things. The horizon shimmered, painted in hues of orange and pink. A twig snapped in two. A cold wind carried the scent of rain and
#d45084