@motion-script/core / themeDefaultTextStyle
Function: themeDefaultTextStyle()
themeDefaultTextStyle():
TextStyle
Defined in: runtime/builtin-context.ts:81
The project-wide base text style — theme.typography.default, registered by
setTheme — as a TextStyle.
The bottom of RenderContext's text-style stack, which is what keeps a
drawn text op and a Text node agreeing on the project's base typography:
it is the same preset applyTextDefaults applies as its lowest-priority
source (step 4). Read per lookup rather than cached, so a setTheme between
frames takes effect without any invalidation step.