Expand description
Curated WispTextStyle presets for common screen-recording
captions (M-TEXT.12 / AUT-86).
Each preset is a const fn returning a WispTextStyle — no
allocation, no GPU dependency. Pick one with TextPreset::style
or by calling the named accessor directly.
Presets are tuned for a 16:9 export at the storybook default
viewport (256×256 / 640×360). Resize them by chaining
WispTextStyle::with_size if you need a different scale.
Enums§
- Text
Preset - Named text style — pick one and
.style()to aWispTextStyle.
Functions§
- callout
- Callout — italic, medium-bold, tighter spacing.
- caption
- Body caption — left-aligned, medium weight, ample line height.
- keyboard_
shortcut - Keyboard shortcut chip — small, tight, monospace-feel.
- section_
title - Headline style — large, bold, centered.
- step_
badge - Step / hint badge — bold, tight, slightly wider spacing.
- warning_
privacy_ label - Warning / privacy label — bold, wide spacing, signal-red.
- watermark
- Watermark — small, italic, low-contrast.